-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure OpenAI: TypeSpec updates for 2023-12-01-preview #26737
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
|
Swagger Generation Artifacts
|
Generated ApiView
|
Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
specification/cognitiveservices/OpenAI.Inference/models/completions/azure_chat_extensions.tsp
Outdated
Show resolved
Hide resolved
specification/cognitiveservices/OpenAI.Inference/models/completions/azure_content_filtering.tsp
Outdated
Show resolved
Hide resolved
specification/cognitiveservices/OpenAI.Inference/models/completions/azure_content_filtering.tsp
Show resolved
Hide resolved
Swagger pipeline started successfully. If there is ApiView generated, it will be updated in this comment. |
…i-2023-12-01-preview-typespec
...s/OpenAI.Inference/models/completions/extensions/oyd/azure_machinelearning_index_options.tsp
Outdated
Show resolved
Hide resolved
...s/OpenAI.Inference/models/completions/extensions/oyd/azure_machinelearning_index_options.tsp
Outdated
Show resolved
Hide resolved
...gnitiveservices/OpenAI.Inference/models/completions/extensions/oyd/elasticsearch_options.tsp
Show resolved
Hide resolved
...on/cognitiveservices/OpenAI.Inference/models/completions/extensions/oyd/pinecone_options.tsp
Outdated
Show resolved
Hide resolved
...on/cognitiveservices/OpenAI.Inference/models/completions/extensions/oyd/pinecone_options.tsp
Outdated
Show resolved
Hide resolved
specification/cognitiveservices/OpenAI.Inference/models/images/images.tsp
Show resolved
Hide resolved
specification/cognitiveservices/OpenAI.Inference/models/images/images.tsp
Show resolved
Hide resolved
specification/cognitiveservices/OpenAI.Inference/models/completions/azure_chat_extensions.tsp
Show resolved
Hide resolved
…://github.com/Azure/azure-rest-api-specs into user/travisw/aoai-2023-12-01-preview-typespec
* Update spell checking instructions (#26874) Having one custom-words.txt for the entire repo has been causing a number of merging issues so we are trying to move away from it and instead have teams use override in the cspell configuration file directly. * Update readme.python.md (#26894) * Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.python.md --------- Co-authored-by: Yuchao Yan <[email protected]> * [Cognitive Services - Azure AI Content Safety] Update package print name. (#26911) * Update package print name. * update. * update name. * Added TypeSpec customization support for Java --------- Co-authored-by: Wes Haggard <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> Co-authored-by: jiezhou_microsoft <[email protected]>
specification/cognitiveservices/OpenAI.Inference/models/completions/chat_completions.tsp
Outdated
Show resolved
Hide resolved
…tions/chat_completions.tsp Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>
specification/cognitiveservices/OpenAI.Inference/models/completions/azure_content_filtering.tsp
Outdated
Show resolved
Hide resolved
specification/cognitiveservices/OpenAI.Inference/models/completions/chat_completions.tsp
Show resolved
Hide resolved
type: "function"; | ||
|
||
@doc("The name of the function that should be called.") | ||
name: "string"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The type should be string and not the literal "string", I think.
name: "string"; | |
name: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened #26960.
This PR transfers to TypeSpec the changes made in the
2023-12-01-preview
service API version for Azure OpenAI:https://github.com/Azure/azure-rest-api-specs/tree/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-12-01-preview