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

latest releases: azure-digitaltwins-core_1.4.0, azure-sdk-template-three_1.0.0-beta.4334260, azure-sdk-template-two_1.0.0-beta.4334260...
pre-release7 months ago

1.0.0-beta.8 (2024-04-09)

Features Added

  • Added support for service API version, 2024-03-01-preview.
  • Added a new property to EmbeddingOptions:
    • dimensions, which is only supported in models text-embedding-3-* and above.
  • Added a new method to get base64 encoded string in EmbeddingItem class:
    • getEmbeddingAsString method returns the embedding as a base64 encoded string.
  • Added a new overload getChatCompletionsStreamWithResponse that takes RequestOptions to provide the flexibility to
    modify the HTTP request.

Breaking Changes

  • Replace return type List<Double> with List<Float> of getEmbedding method in EmbeddingItem class.

Bugs Fixed

  • A bugs fixed in Azure Core SDK that solves where text/event-stream content type wasn't being handled correctly.
    Replaced content type exact match equal by 'startwith'. (#39204)

Other Changes

Dependency Updates

  • Upgraded azure-core from 1.47.0 to version 1.48.0.
  • Upgraded azure-core-http-netty from 1.14.1 to version 1.14.2.

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

NewReleases is sending notifications on new releases.