Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
97bb69f
Update tspconfig.yaml
glharper May 30, 2024
0798616
Update tspconfig.yaml
glharper May 30, 2024
77e41a4
Update tspconfig.yaml
glharper May 30, 2024
18a7c84
Update tspconfig.yaml
glharper May 31, 2024
8a0e2fc
Update tspconfig.yaml
glharper May 31, 2024
bc3b94c
Update tspconfig.yaml
glharper May 31, 2024
1bbb220
Update tspconfig.yaml
glharper May 31, 2024
7e106d3
Update tspconfig.yaml
glharper May 31, 2024
d012206
Merge branch 'dargilco/ai-model-inference' into glharper-inference-ts…
glharper Jun 3, 2024
d4cb3a1
Update client.tsp
glharper Jun 3, 2024
33cb117
Update client.tsp - remove embeddingsClient and ImageEmbeddingsClient
glharper Jun 3, 2024
8356e4e
Merge branch 'dargilco/ai-model-inference' into glharper-inference-ts…
glharper Jun 6, 2024
de8badc
Update tspconfig.yaml
glharper Jun 6, 2024
d2c682d
Update main.tsp
glharper Jun 6, 2024
08fce13
Merge branch 'dargilco/ai-model-inference' into glharper-inference-ts…
glharper Jun 10, 2024
4004f82
Update main.tsp
glharper Jun 10, 2024
b8026fb
change namespace to Model
glharper Jun 11, 2024
06ded10
use namespace AI.Model
glharper Jun 11, 2024
bceff81
Use AI.Model instead of ModelClient
glharper Jun 11, 2024
b2fc818
Merge branch 'dargilco/ai-model-inference' into glharper-inference-ts…
glharper Jun 13, 2024
fed32aa
Update client.tsp
glharper Jun 13, 2024
dfa4458
Delete specification/ai/ModelClient/models/image_embeddings.tsp
glharper Jun 13, 2024
93cef01
Delete specification/ai/ModelClient/models/embeddings.tsp
glharper Jun 13, 2024
918790d
Update common.tsp
glharper Jun 13, 2024
9300d6e
Update routes.tsp
glharper Jun 13, 2024
8782a8a
Update client.tsp
glharper Jun 13, 2024
fb1fac1
Update chat_completions.tsp
glharper Jun 21, 2024
17bf9ad
Update chat_completions.tsp
glharper Jun 21, 2024
8131ad5
Merge branch 'dargilco/ai-model-inference' into glharper-inference-ts…
glharper Aug 16, 2024
aa34e93
access fix
glharper Aug 16, 2024
184f8bf
use model keyword
glharper Aug 16, 2024
e703c66
trying to fix ts gen
glharper Aug 16, 2024
07b666d
more fixes
glharper Aug 16, 2024
5783975
more fixes
glharper Aug 16, 2024
30563a9
revert chatcompletionsoptions to alias
glharper Aug 16, 2024
42a342a
revert to alias
glharper Aug 16, 2024
c595924
Update tspconfig.yaml
glharper Aug 22, 2024
26bb95d
Update client.tsp
glharper Sep 5, 2024
939eaf8
Merge branch 'main' into glharper-inference-ts-dpg
trangevi Jan 9, 2025
618b62a
Attempt to merge Darren's branch (#32066)
trangevi Jan 22, 2025
3e953c7
Make ChatCompletionsOptions public in Java
glharper Feb 6, 2025
aed1403
Merge remote-tracking branch 'origin/dargilco/ai-model-inference' int…
glharper Mar 10, 2025
3263737
add alias for ChatCompletionsResponseFormatJsonObject
glharper Mar 10, 2025
70e4f4e
add developer chat role
glharper Mar 10, 2025
901f3f9
remove java specific augment
glharper Mar 10, 2025
5f1cfc3
use correct names for audio content classes
glharper Mar 10, 2025
5e87505
fix tsp error
glharper Mar 10, 2025
e97f079
Merge branch 'main' into glharper-inference-ts-dpg
trangevi Mar 24, 2025
42a30bf
fix anonymous object error (#33514)
trangevi Mar 26, 2025
d75b018
Merge main inference branch into js feature branch (#33451)
trangevi Mar 27, 2025
3af29be
Merge branch 'main' into glharper-inference-ts-dpg
trangevi Mar 27, 2025
7dfa6ce
Merge branch 'dargilco/ai-model-inference' into glharper-inference-ts…
trangevi Mar 27, 2025
c076fad
PR fixes
trangevi Mar 27, 2025
2ea0e79
Add package flavor for tsp compiler
trangevi Mar 27, 2025
9641191
Replace removed cspell file
trangevi Mar 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions specification/ai/ModelClient/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ namespace Customizations; // The actual name here doesn't matter and is here for
@@access(AI.Model.ChatMessageAudioDataContentItem, Access.internal);
@@access(AI.Model.ChatMessageAudioUrlContentItem, Access.internal);

@@clientName(AI.Model.ChatCompletionsResponseFormatJsonObject,
"ChatCompletionsResponseFormatJSON",
"javascript"
);

// We use shorter names in the Python client library
@@clientName(AI.Model.ChatMessageContentItem, "ContentItem", "python");
@@clientName(AI.Model.ChatMessageTextContentItem, "TextContentItem", "python");
Expand Down
4 changes: 1 addition & 3 deletions specification/ai/ModelClient/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ using Azure.Core;
}
]>
)
@service({
title: "AI Model Inference",
})
@service(#{ title: "AI Model Inference" })
@versioned(AI.Model.Versions)
namespace AI.Model;

Expand Down
7 changes: 7 additions & 0 deletions specification/ai/ModelClient/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ options:
package-dir: "azure-ai-inference"
package-name: "{package-dir}"
flavor: azure
"@azure-tools/typespec-ts":
package-dir: "ai-inference-rest"
isModularLibrary: false
packageDetails:
name: "@azure-rest/ai-inference"
description: "Inference API for Azure-supported AI models"
flavor: azure
"@azure-tools/typespec-csharp":
package-dir: "Azure.AI.Inference"
namespace: "Azure.AI.Inference"
Expand Down
Loading