github Azure/azure-sdk-for-java com.azure+azure-ai-voicelive_1.0.0-beta.4

latest release: com.azure.resourcemanager+azure-resourcemanager-mixedreality_1.0.1
pre-release8 hours ago

1.0.0-beta.4 (2026-02-09)

Features Added

  • Added VoiceLiveRequestOptions class for per-request customization:
    • Supports custom query parameters via addCustomQueryParameter(String key, String value) method
    • Supports custom headers via addCustomHeader(String name, String value) and setCustomHeaders(HttpHeaders) methods
    • Custom parameters and headers can be passed to session creation methods
  • Enhanced session creation with new overloads:
    • Added startSession(String model, VoiceLiveRequestOptions requestOptions) for model with custom options
    • Added startSession(VoiceLiveRequestOptions requestOptions) for custom options without explicit model parameter
    • Original startSession(String model) and startSession() methods preserved for backward compatibility
  • Added Foundry Agent tool support:
    • FoundryAgentTool for integrating Foundry agents as tools in VoiceLive sessions
    • FoundryAgentContextType enum for configuring agent context (no_context, agent_context)
    • ResponseFoundryAgentCallItem for tracking Foundry agent call responses
    • Foundry agent call lifecycle events: ServerEventResponseFoundryAgentCallArgumentsDelta, ServerEventResponseFoundryAgentCallArgumentsDone, ServerEventResponseFoundryAgentCallInProgress, ServerEventResponseFoundryAgentCallCompleted, ServerEventResponseFoundryAgentCallFailed
    • ItemType.FOUNDRY_AGENT_CALL and ToolType.FOUNDRY_AGENT discriminator values
  • Added filler response configuration for handling latency and tool calls:
    • FillerResponseConfigBase base class for filler response configurations
    • BasicFillerResponseConfig for static/random text filler responses
    • LlmFillerResponseConfig for LLM-generated context-aware filler responses
    • FillerResponseConfigType enum (static_filler, llm_filler)
    • FillerTrigger enum for trigger conditions (latency, tool)
    • Added fillerResponse property to VoiceLiveSessionOptions and VoiceLiveSessionResponse
  • Added reasoning effort configuration for reasoning models:
    • ReasoningEffort enum with levels: none, minimal, low, medium, high, xhigh
    • Added reasoningEffort property to VoiceLiveSessionOptions, VoiceLiveSessionResponse, and ResponseCreateParams
  • Added metadata support:
    • Added metadata property to ResponseCreateParams and SessionResponse for attaching key-value pairs
  • Added custom text normalization URL support for Azure voices:
    • Added customTextNormalizationUrl property to AzureCustomVoice, AzurePersonalVoice, and AzureStandardVoice

Bugs Fixed

  • Fixed OutputAudioFormat enum values from dash-separated to underscore-separated:
    • pcm16-8000hzpcm16_8000hz
    • pcm16-16000hzpcm16_16000hz

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

NewReleases is sending notifications on new releases.