-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Azure.AI.Inference] Beta 2 (#45757)
Features Added Added new EmbeddingsClient, to provide support for generating text embeddings using supported models. Add support for passing a string file path on disk in order to provide an image for chat completions. Breaking Changes ChatCompletionsClientOptions has been renamed to AzureAIInferenceClientOptions. ChatCompletions response object has been flattened. ChatCompletions.Choices has been removed, and the underlying properties have been bubbled up to be on the ChatCompletions object instead. ChatCompletionsFunctionToolCall has been replaced with ChatCompletionsToolCall. ChatCompletionsFunctionToolDefinition has been replaced with ChatCompletionsToolDefinition. ChatCompletionsToolSelectionPreset has been replaced with ChatCompletionsToolChoicePreset. ChatCompletionsNamedFunctionToolSelection has been replaced with ChatCompletionsNamedToolChoice. ChatCompletionsFunctionToolSelection has been replaced with ChatCompletionsNamedToolChoiceFunction. Bugs Fixed Fixed support for chat completions streaming while using tools. Other Changes Removed the need to manually provide an api-key header when talking to Azure OpenAI. ---------------------------------------------------------- Signed-off-by: Travis Angevine <trangevi@microsoft.com> Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
- Loading branch information
Showing
107 changed files
with
5,778 additions
and
2,240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.