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

latest releases: azure-messaging-eventgrid_4.25.0, azure-identity_1.14.0-beta.2, azure-ai-formrecognizer_4.1.11...
pre-release12 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.