github Azure/azure-sdk-for-net Azure.AI.OpenAI_1.0.0-beta.17

latest releases: Azure.ResourceManager.ServiceFabricManagedClusters_1.3.0-beta.1, Azure.AI.Translation.Document_2.0.0, Azure.Storage.Blobs.Batch_12.20.0...
pre-release6 months ago

1.0.0-beta.17 (2024-05-03)

Features Added

  • Image input support for gpt-4-turbo chat completions now works with image data in addition to internet URLs.
    Images may be now be used as gpt-4-turbo message content items via one of three constructors:
    • ChatMessageImageContent(Uri) -- the existing constructor, used for URL-based image references
    • ChatMessageImageContent(Stream,string) -- (new) used with a stream and known MIME type (like image/png)
    • ChatMessageImageContent(BinaryData,string) -- (new) used with a BinaryData instance and known MIME type
      Please see the readme example for more details.

Breaking Changes

  • Public visibility of the ChatMessageImageUrl type is removed to promote more flexible use of data sources in
    ChatMessageImageContent. Code that previously created a ChatMessageImageUrl using a Uri should simply provide
    the Uri to the ChatMessageImageContent constructor directly.

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

NewReleases is sending notifications on new releases.