VoiceAgentSemanticVadTurnDetection interface

OpenAI 語意 VAD 轉向偵測設定。

Extends

屬性

create_response

當偵測器判斷使用者已講完話時,是否能自動產生回應。

eagerness

偵測器判斷使用者說話結束的速度。 low 允許較長的停頓時間,且 high 回應較早。

interrupt_response

偵測到使用者語音是否會自動中斷正在進行的回應。

type

轉向偵測型。 總是 semantic_vad 為了語意語音活動偵測。

繼承的屬性

auto_truncate

當語音停止時,輸入音訊緩衝區是否會自動截斷。

屬性詳細資料

create_response

當偵測器判斷使用者已講完話時,是否能自動產生回應。

create_response?: boolean

屬性值

boolean

eagerness

偵測器判斷使用者說話結束的速度。 low 允許較長的停頓時間,且 high 回應較早。

eagerness?: "auto" | "low" | "medium" | "high"

屬性值

"auto" | "low" | "medium" | "high"

interrupt_response

偵測到使用者語音是否會自動中斷正在進行的回應。

interrupt_response?: boolean

屬性值

boolean

type

轉向偵測型。 總是 semantic_vad 為了語意語音活動偵測。

type: "semantic_vad"

屬性值

"semantic_vad"

繼承的屬性詳細資料

auto_truncate

當語音停止時,輸入音訊緩衝區是否會自動截斷。

auto_truncate?: boolean

屬性值

boolean

繼承自VoiceAgentTurnDetectionConfig.auto_truncate