-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[VoiceLive] Add changes for 2026-06-01-preview #49347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2c6e8c9
Regenerate azure-ai-voicelive against 2026-06-01-preview TypeSpec
49b5868
Add unit tests for 2026-06-01-preview model surface
78db5fd
Add live tests for reasoning_effort and interim_response session options
d3354f1
release date
be83965
update cspell
2b09a73
Regenerate VoiceLive model files
e3c65ac
Move VoiceLive spell exceptions to per-package cspell.json
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| { | ||
| "version": "0.2", | ||
| "language": "en", | ||
| "words": [ | ||
| "Aarti", | ||
| "AARTI", | ||
| "aiservices", | ||
| "AIservices", | ||
| "Dexec", | ||
| "Diya", | ||
| "DIYA", | ||
| "filler", | ||
| "FILLER", | ||
| "foundry", | ||
| "FOUNDRY", | ||
| "genai", | ||
| "GENAI", | ||
| "HDOMNI", | ||
| "Meera", | ||
| "MEERA", | ||
| "SSML", | ||
| "Unpooled", | ||
| "viseme", | ||
| "VISEME", | ||
| "webrtc", | ||
| "WEBRTC", | ||
| "Xiaoxiao", | ||
| "XIAOXIAO", | ||
| "Ximena", | ||
| "XIMENA", | ||
| "xhigh", | ||
| "XHIGH", | ||
| "Yunxi", | ||
| "YUNXI" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
102 changes: 102 additions & 0 deletions
102
...re-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/AzureRealtimeNativeVoice.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
| // Code generated by Microsoft (R) TypeSpec Code Generator. | ||
| package com.azure.ai.voicelive.models; | ||
|
|
||
| import com.azure.core.annotation.Generated; | ||
| import com.azure.core.annotation.Immutable; | ||
| import com.azure.json.JsonReader; | ||
| import com.azure.json.JsonSerializable; | ||
| import com.azure.json.JsonToken; | ||
| import com.azure.json.JsonWriter; | ||
| import java.io.IOException; | ||
|
|
||
| /** | ||
| * Azure realtime native voice configuration. These voices are natively | ||
| * supported by the `azure-realtime` model and offer higher quality speech | ||
| * synthesis than standard Azure voices. Only valid when using the | ||
| * `azure-realtime` model. | ||
| */ | ||
| @Immutable | ||
| public final class AzureRealtimeNativeVoice implements JsonSerializable<AzureRealtimeNativeVoice> { | ||
|
|
||
| /* | ||
| * The type of the voice. | ||
| */ | ||
| @Generated | ||
| private final String type = "azure-realtime-native"; | ||
|
|
||
| /* | ||
| * The name of the Azure realtime native voice. | ||
| */ | ||
| @Generated | ||
| private final AzureRealtimeNativeVoiceName name; | ||
|
|
||
| /** | ||
| * Creates an instance of AzureRealtimeNativeVoice class. | ||
| * | ||
| * @param name the name value to set. | ||
| */ | ||
| @Generated | ||
| public AzureRealtimeNativeVoice(AzureRealtimeNativeVoiceName name) { | ||
| this.name = name; | ||
| } | ||
|
|
||
| /** | ||
| * Get the type property: The type of the voice. | ||
| * | ||
| * @return the type value. | ||
| */ | ||
| @Generated | ||
| public String getType() { | ||
| return this.type; | ||
| } | ||
|
|
||
| /** | ||
| * Get the name property: The name of the Azure realtime native voice. | ||
| * | ||
| * @return the name value. | ||
| */ | ||
| @Generated | ||
| public AzureRealtimeNativeVoiceName getName() { | ||
| return this.name; | ||
| } | ||
|
|
||
| /** | ||
| * {@inheritDoc} | ||
| */ | ||
| @Generated | ||
| @Override | ||
| public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { | ||
| jsonWriter.writeStartObject(); | ||
| jsonWriter.writeStringField("type", this.type); | ||
| jsonWriter.writeStringField("name", this.name == null ? null : this.name.toString()); | ||
| return jsonWriter.writeEndObject(); | ||
| } | ||
|
|
||
| /** | ||
| * Reads an instance of AzureRealtimeNativeVoice from the JsonReader. | ||
| * | ||
| * @param jsonReader The JsonReader being read. | ||
| * @return An instance of AzureRealtimeNativeVoice if the JsonReader was pointing to an instance of it, or null if | ||
| * it was pointing to JSON null. | ||
| * @throws IllegalStateException If the deserialized JSON object was missing any required properties. | ||
| * @throws IOException If an error occurs while reading the AzureRealtimeNativeVoice. | ||
| */ | ||
| @Generated | ||
| public static AzureRealtimeNativeVoice fromJson(JsonReader jsonReader) throws IOException { | ||
| return jsonReader.readObject(reader -> { | ||
| AzureRealtimeNativeVoiceName name = null; | ||
| while (reader.nextToken() != JsonToken.END_OBJECT) { | ||
| String fieldName = reader.getFieldName(); | ||
| reader.nextToken(); | ||
| if ("name".equals(fieldName)) { | ||
| name = AzureRealtimeNativeVoiceName.fromString(reader.getString()); | ||
| } else { | ||
| reader.skipChildren(); | ||
| } | ||
| } | ||
| return new AzureRealtimeNativeVoice(name); | ||
| }); | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.