You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beta 8 release of azure-ai-inference Python SDK (#39454)
* Remove mentioning of length of API key. I can now be longer than 32-chars. (#39363)
* Changes to Support Audio Input in ChatCompletions (#39357)
* Add classes to support audio input for chat completions.
* Add corresponding tests and sample
* Update to version beta 8
* Do not filter out the usage updates. (#39381)
* Allow usage updates
* Add changelog entry
* Fix typo in CHANGELOG.md
* Update changelog for audio input (#39443)
* Update changelog for audio input
Signed-off-by: trangevi <[email protected]>
* Remove empty sections
Signed-off-by: trangevi <[email protected]>
---------
Signed-off-by: trangevi <[email protected]>
* Update product link in pacakge README.md
* Fix indentation. Add release date
Signed-off-by: trangevi <[email protected]>
---------
Signed-off-by: trangevi <[email protected]>
Co-authored-by: Travis Angevine <[email protected]>
Co-authored-by: nick863 <[email protected]>
Copy file name to clipboardexpand all lines: sdk/ai/azure-ai-inference/README.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The Inference client library supports AI models deployed to the following servic
16
16
17
17
The Inference client library makes services calls using REST API version `2024-05-01-preview`, as documented in [Azure AI Model Inference API](https://aka.ms/azureai/modelinference).
@@ -38,12 +38,12 @@ To report an issue with the client library, or request additional features, plea
38
38
* An [Azure subscription](https://azure.microsoft.com/free).
39
39
* An [AI Model from the catalog](https://ai.azure.com/explore/models) deployed through Azure AI Foundry.
40
40
* The endpoint URL of your model, in of the form `https://<your-host-name>.<your-azure-region>.models.ai.azure.com`, where `your-host-name` is your unique model deployment host name and `your-azure-region` is the Azure region where the model is deployed (e.g. `eastus2`).
41
-
* Depending on your authentication preference, you either need an API key to authenticate against the service, or Entra ID credentials. The API key is a 32-character string.
41
+
* Depending on your authentication preference, you either need an API key to authenticate against the service, or Entra ID credentials.
42
42
* For Azure OpenAI (AOAI) service
43
43
* An [Azure subscription](https://azure.microsoft.com/free).
44
44
* An [OpenAI Model from the catalog](https://oai.azure.com/resource/models) deployed through Azure AI Foundry.
45
45
* The endpoint URL of your model, in the form `https://<your-resouce-name>.openai.azure.com/openai/deployments/<your-deployment-name>`, where `your-resource-name` is your globally unique AOAI resource name, and `your-deployment-name` is your AI Model deployment name.
46
-
* Depending on your authentication preference, you either need an API key to authenticate against the service, or Entra ID credentials. The API key is a 32-character string.
46
+
* Depending on your authentication preference, you either need an API key to authenticate against the service, or Entra ID credentials.
47
47
* An api-version. Latest preview or GA version listed in the `Data plane - inference` row in [the API Specs table](https://aka.ms/azsdk/azure-ai-inference/azure-openai-api-versions). At the time of writing, latest GA version was "2024-06-01".
48
48
49
49
### Install the package
@@ -281,6 +281,7 @@ The following types of messages are supported: `SystemMessage`,`UserMessage`, `A
281
281
includes sending an image URL.
282
282
*[sample_chat_completions_with_image_data.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-inference/samples/sample_chat_completions_with_image_data.py) for usage of `UserMessage` that
283
283
includes sending image data read from a local file.
284
+
*[sample_chat_completions_with_audio_data.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-inference/samples/sample_chat_completions_with_image_data.py) for usage of `UserMessage` that includes sending audio data read from a local file.
284
285
*[sample_chat_completions_with_structured_output.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-inference/samples/sample_chat_completions_with_structured_output.py) and [sample_chat_completions_with_structured_output_pydantic.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-inference/samples/sample_chat_completions_with_structured_output_pydantic.py) for configuring the service to respond with a JSON-formatted string, adhering to your schema.
0 commit comments