Class RealtimeTranscriptionSessionAudioInputTurnDetection
- 
                    
                    - All Implemented Interfaces:
 
 public final class RealtimeTranscriptionSessionAudioInputTurnDetectionConfiguration for turn detection, ether Server VAD or Semantic VAD. This can be set to nullto turn off, in which case the client must manually trigger model response.Server VAD means that the model will detect the start and end of speech based on audio volume and respond at the end of user speech. Semantic VAD is more advanced and uses a turn detection model (in conjunction with VAD) to semantically estimate whether the user has finished speaking, then dynamically sets a timeout based on this probability. For example, if user audio trails off with "uhhm", the model will score a low probability of turn end and wait longer for the user to continue speaking. This can be useful for more natural conversations, but may have a higher latency. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceRealtimeTranscriptionSessionAudioInputTurnDetection.VisitorAn interface that defines how to map each variant of RealtimeTranscriptionSessionAudioInputTurnDetection to a value of type T. public final classRealtimeTranscriptionSessionAudioInputTurnDetection.ServerVadServer-side voice activity detection (VAD) which flips on when user speech is detected and off after a period of silence. public final classRealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVadServer-side semantic turn detection which uses a model to determine when the user has finished speaking. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<RealtimeTranscriptionSessionAudioInputTurnDetection.ServerVad>serverVad()Server-side voice activity detection (VAD) which flips on when user speech is detected and off after a period of silence. final Optional<RealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVad>semanticVad()Server-side semantic turn detection which uses a model to determine when the user has finished speaking. final BooleanisServerVad()final BooleanisSemanticVad()final RealtimeTranscriptionSessionAudioInputTurnDetection.ServerVadasServerVad()Server-side voice activity detection (VAD) which flips on when user speech is detected and off after a period of silence. final RealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVadasSemanticVad()Server-side semantic turn detection which uses a model to determine when the user has finished speaking. final Optional<JsonValue>_json()final <T extends Any> Taccept(RealtimeTranscriptionSessionAudioInputTurnDetection.Visitor<T> visitor)final RealtimeTranscriptionSessionAudioInputTurnDetectionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeTranscriptionSessionAudioInputTurnDetectionofServerVad(RealtimeTranscriptionSessionAudioInputTurnDetection.ServerVad serverVad)Server-side voice activity detection (VAD) which flips on when user speech is detected and off after a period of silence. final static RealtimeTranscriptionSessionAudioInputTurnDetectionofSemanticVad(RealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVad semanticVad)Server-side semantic turn detection which uses a model to determine when the user has finished speaking. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        serverVadfinal Optional<RealtimeTranscriptionSessionAudioInputTurnDetection.ServerVad> serverVad() Server-side voice activity detection (VAD) which flips on when user speech is detected and off after a period of silence. 
 - 
                                        semanticVadfinal Optional<RealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVad> semanticVad() Server-side semantic turn detection which uses a model to determine when the user has finished speaking. 
 - 
                                        isServerVadfinal Boolean isServerVad() 
 - 
                                        isSemanticVadfinal Boolean isSemanticVad() 
 - 
                                        asServerVadfinal RealtimeTranscriptionSessionAudioInputTurnDetection.ServerVad asServerVad() Server-side voice activity detection (VAD) which flips on when user speech is detected and off after a period of silence. 
 - 
                                        asSemanticVadfinal RealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVad asSemanticVad() Server-side semantic turn detection which uses a model to determine when the user has finished speaking. 
 - 
                                        acceptfinal <T extends Any> T accept(RealtimeTranscriptionSessionAudioInputTurnDetection.Visitor<T> visitor) 
 - 
                                        validatefinal RealtimeTranscriptionSessionAudioInputTurnDetection validate() 
 - 
                                        ofServerVadfinal static RealtimeTranscriptionSessionAudioInputTurnDetection ofServerVad(RealtimeTranscriptionSessionAudioInputTurnDetection.ServerVad serverVad) Server-side voice activity detection (VAD) which flips on when user speech is detected and off after a period of silence. 
 - 
                                        ofSemanticVadfinal static RealtimeTranscriptionSessionAudioInputTurnDetection ofSemanticVad(RealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVad semanticVad) Server-side semantic turn detection which uses a model to determine when the user has finished speaking. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-