@@ -3828,6 +3828,23 @@ public class ResponseStartedUpdate : RealtimeUpdate, IJsonModel<ResponseStartedU
38283828 protected override BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
38293829 }
38303830 [ Experimental ( "OPENAI002" ) ]
3831+ public readonly partial struct SemanticEagernessLevel : IEquatable < SemanticEagernessLevel > {
3832+ public SemanticEagernessLevel ( string value ) ;
3833+ public static SemanticEagernessLevel Auto { get ; }
3834+ public static SemanticEagernessLevel High { get ; }
3835+ public static SemanticEagernessLevel Low { get ; }
3836+ public static SemanticEagernessLevel Medium { get ; }
3837+ public readonly bool Equals ( SemanticEagernessLevel other ) ;
3838+ [ EditorBrowsable ( EditorBrowsableState . Never ) ]
3839+ public override readonly bool Equals ( object obj ) ;
3840+ [ EditorBrowsable ( EditorBrowsableState . Never ) ]
3841+ public override readonly int GetHashCode ( ) ;
3842+ public static bool operator == ( SemanticEagernessLevel left , SemanticEagernessLevel right ) ;
3843+ public static implicit operator SemanticEagernessLevel ( string value ) ;
3844+ public static bool operator != ( SemanticEagernessLevel left , SemanticEagernessLevel right ) ;
3845+ public override readonly string ToString ( ) ;
3846+ }
3847+ [ Experimental ( "OPENAI002" ) ]
38313848 public class TranscriptionSessionConfiguredUpdate : RealtimeUpdate , IJsonModel < TranscriptionSessionConfiguredUpdate > , IPersistableModel < TranscriptionSessionConfiguredUpdate > {
38323849 public RealtimeContentModalities ContentModalities { get ; }
38333850 public RealtimeAudioFormat InputAudioFormat { get ; }
@@ -3862,6 +3879,7 @@ public enum TurnDetectionKind {
38623879 public class TurnDetectionOptions : IJsonModel < TurnDetectionOptions > , IPersistableModel < TurnDetectionOptions > {
38633880 public TurnDetectionKind Kind { get ; }
38643881 public static TurnDetectionOptions CreateDisabledTurnDetectionOptions ( ) ;
3882+ public static TurnDetectionOptions CreateSemanticVoiceActivityTurnDetectionOptions ( SemanticEagernessLevel ? eagernessLevel = null , bool ? enableAutomaticResponseCreation = null , bool ? enableResponseInterruption = null ) ;
38653883 public static TurnDetectionOptions CreateServerVoiceActivityTurnDetectionOptions ( float ? detectionThreshold = null , TimeSpan ? prefixPaddingDuration = null , TimeSpan ? silenceDuration = null , bool ? enableAutomaticResponseCreation = null , bool ? enableResponseInterruption = null ) ;
38663884 protected virtual TurnDetectionOptions JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
38673885 protected virtual void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
0 commit comments