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

latest releases: Microsoft.Azure.WebJobs.Extensions.Tables_1.3.2, Microsoft.Azure.WebJobs.Extensions.ServiceBus_5.16.1, Microsoft.Azure.WebJobs.Extensions.EventHubs_6.3.3...
pre-release2 months ago

1.0.0-beta.16 (2024-04-11)

Features Added

Audio

  • GetAudioTranscription() now supports word-level timestamp granularities via AudioTranscriptionOptions:
    • The Verbose option for ResponseFormat must be used for any timing information to be populated
    • TimestampGranularityFlags accepts a combination of the .Word and .Segment granularity values in
      AudioTimestampGranularity, joined when needed via the single-pipe | operator
      • For example, TimestampGranularityFlags = AudioTimestampGranularity.Word | AudioTimestampGranularity.Segment
        will request that both word-level and segment-level timestamps are provided on the transcription result
    • If not otherwise specified, Verbose format will default to using segment-level timestamp information
    • Corresponding word-level information is found on the .Words collection of AudioTranscription, peer to the
      existing .Segments collection
    • Note that word-level timing information incurs a small amount of additional processingly latency; segment-level
      timestamps do not encounter this behavior
  • GenerateSpeechFromText() can now use Wav and Pcm values from SpeechGenerationResponseFormat, these new
    options providing alternative uncompressed formats to Flac

Chat

  • ChatCompletions and StreamingChatCompletionsUpdate now include the reported Model value from the response
  • Log probability information is now included in StreamingChatCompletionsUpdate when logprobs are requested on
    GetChatCompletionsStreaming()
  • [AOAI] Custom Blocklist information in content filter results is now represented in a more structured
    ContentFilterDetailedResults type
  • [AOAI] A new IndirectAttack content filter entry is now present on content filter results for prompts

Breaking Changes

  • [AOAI] AzureChatExtensionMessageContext's RequestContentFilterResults now uses the new
    ContentFilterDetailedResults type, changed from the previous IReadOnlyList<ContentFilterBlockListIdResult>. The
    previous list is now present on CustomBlockLists.Details, supplemented with a new CustomBlockLists.Filtered
    property.

Bugs Fixed

  • [AOAI] An issue that sometimes caused StreamingChatCompletionUpdates from Azure OpenAI to inappropriately exclude
    top-level information like Id and CreatedAt has been addressed

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

NewReleases is sending notifications on new releases.