github Azure/azure-sdk-for-java azure-ai-openai_1.0.0-beta.5

latest releases: azure-ai-formrecognizer_4.1.12, azure-resourcemanager-cosmos_2.44.1, spring-cloud-azure_5.18.0...
pre-release13 months ago

1.0.0-beta.5 (2023-09-22)

Features Added

  • Added support for Whisper endpoints.

  • Translation and Transcription of audio files is available.

  • The above features are available both in Azure and non-Azure OpenAI.

  • Added more convenience methods, which are wrappers around the existingget{ChatCompletions|Completions|Embeddings}WithResponse
    methods with concrete data types instead of using BinaryData as the return data type. For example, a new method
    introduced is

    • Async: Mono<Response<ChatCompletions>> getChatCompletionsWithResponse(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions, RequestOptions requestOptions)
    • Sync: Response<ChatCompletions> getChatCompletionsWithResponse(String deploymentOrModelName, ChatCompletionsOptions chatCompletionsOptions, RequestOptions requestOptions)

    Same methods are added for Completions and Embeddings endpoints as well.

Breaking Changes

  • Replaced usage of class AzureKeyCredential by KeyCredential.

Other Changes

Dependency Updates

  • Upgraded azure-core from 1.42.0 to version 1.43.0.
  • Upgraded azure-core-http-netty from 1.13.6 to version 1.13.7.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.