github Azure/azure-sdk-for-net Azure.AI.Projects_3.0.0-beta.3

latest release: Azure.ResourceManager.Search_1.4.0-beta.3
pre-release5 hours ago

3.0.0-beta.3 (2026-09-16)

Features Added

  • Added ProjectsRealtimeClient and ProjectsRealtimeSessionClient to work with voice agents. AIProjectClient.ProjectsRealtimeClient gets a ProjectsRealtimeClient; calling StartSessionAsync(model, intent, options, cancellationToken) on it -- the same method used with OpenAI's own RealtimeClient -- connects a ProjectsRealtimeSessionClient to the named voice agent's realtime endpoint (/agents/{agentName}/endpoint/protocols/voice). Pass store=true/store=false via options.QueryString to control whether the session's conversation is persisted. ProjectsRealtimeClient is also available when AIProjectClient is constructed from an AIProjectClientSettings whose credential resolves a token provider.

Breaking Changes

  • MaxSamples member was removed from DataGenerationJobOptions.
  • AIProjectClient.GetProjectsRealtimeSessionClient(string, string) and its replacement GetProjectsRealtimeSessionClientAsync(string, string, bool?, CancellationToken) were both removed in favor of AIProjectClient.ProjectsRealtimeClient.StartSessionAsync(string, string, RealtimeSessionClientOptions, CancellationToken), reusing OpenAI's own RealtimeClient.StartSessionAsync method rather than introducing a separate one.
  • ProjectsRealtimeSessionClient's public constructor was removed. An instance constructed through it could never become connected (its ConnectAsync override is only reachable through ProjectsRealtimeClient.StartSessionAsync), so it offered no working standalone use; call AIProjectClient.ProjectsRealtimeClient.StartSessionAsync to obtain an already-connected instance instead.

Sample Updates

  • Added Sample_VoiceAgent, showing how to create a voice agent and exchange a realtime text turn with it, and Sample_VoiceAgent_ReadConversation, showing how to persist a realtime session's conversation with store: true and read it back afterward through BetaVoiceAgentsConversations.

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

NewReleases is sending notifications on new releases.