次の方法で共有


CallMediaRecognizeSpeechOptions interface

Speech に固有の認識構成。

Extends

プロパティ

endSilenceTimeoutInSeconds

ユーザーが話しを停止し、cogservice が応答を送信するときの終了無音の長さ。

kind
speechLanguage

認識される音声言語、既定値が設定されていない場合は en-US

speechRecognitionModelEndpointId

カスタム モデルがデプロイされたエンドポイント。

継承されたプロパティ

abortSignal

要求を中止するために使用できるシグナル。

initialSilenceTimeoutInSeconds

プロンプトの後に最初の入力を待機する時間。

interruptCallMediaOperation

set recognize が他の既存のキューに登録されている要求または現在処理中の要求に割り込むことができます。

interruptPrompt

プロンプトを中断して認識を開始するかどうかを決定します。

onResponse

要求された操作の実行中にサーバーから応答を受信するたびに呼び出される関数。 複数回呼び出すことができます。

operationCallbackUrl

この操作の CreateCall/AnswerCall によって設定された既定のコールバック URL をオーバーライドするコールバック URL を設定します。 このセットアップはアクションごとに行われます。 これが設定されていない場合は、CreateCall/AnswerCall によって設定された既定のコールバック URI が使用されます。

operationContext

操作のコンテキストを識別する値。

playPrompt

認識のために再生するオーディオのソース。

playPrompts

認識のために再生されるオーディオのリスト ソース。

requestOptions

この操作の HTTP 要求を作成および送信するときに使用されるオプション。

serializerOptions

シリアル化/シリアル化解除の動作をオーバーライドするオプション。

stopCurrentOperations
tracingOptions

トレースが有効な場合に使用されるオプション。

プロパティの詳細

endSilenceTimeoutInSeconds

ユーザーが話しを停止し、cogservice が応答を送信するときの終了無音の長さ。

endSilenceTimeoutInSeconds?: number

プロパティ値

number

kind

kind: "callMediaRecognizeSpeechOptions"

プロパティ値

"callMediaRecognizeSpeechOptions"

speechLanguage

認識される音声言語、既定値が設定されていない場合は en-US

speechLanguage?: string

プロパティ値

string

speechRecognitionModelEndpointId

カスタム モデルがデプロイされたエンドポイント。

speechRecognitionModelEndpointId?: string

プロパティ値

string

継承されたプロパティの詳細

abortSignal

要求を中止するために使用できるシグナル。

abortSignal?: AbortSignalLike

プロパティ値

承元CallMediaRecognizeOptions.abortSignal

initialSilenceTimeoutInSeconds

プロンプトの後に最初の入力を待機する時間。

initialSilenceTimeoutInSeconds?: number

プロパティ値

number

承元CallMediaRecognizeOptions.initialSilenceTimeoutInSeconds

interruptCallMediaOperation

set recognize が他の既存のキューに登録されている要求または現在処理中の要求に割り込むことができます。

interruptCallMediaOperation?: boolean

プロパティ値

boolean

承元:CallMediaRecognizeOptions.interruptCallMediaOperation

interruptPrompt

プロンプトを中断して認識を開始するかどうかを決定します。

interruptPrompt?: boolean

プロパティ値

boolean

承元CallMediaRecognizeOptions.interruptPrompt

onResponse

要求された操作の実行中にサーバーから応答を受信するたびに呼び出される関数。 複数回呼び出すことができます。

onResponse?: RawResponseCallback

プロパティ値

承元CallMediaRecognizeOptions.onResponse

operationCallbackUrl

この操作の CreateCall/AnswerCall によって設定された既定のコールバック URL をオーバーライドするコールバック URL を設定します。 このセットアップはアクションごとに行われます。 これが設定されていない場合は、CreateCall/AnswerCall によって設定された既定のコールバック URI が使用されます。

operationCallbackUrl?: string

プロパティ値

string

継承元CallMediaRecognizeOptions.operationCallbackUrl

operationContext

操作のコンテキストを識別する値。

operationContext?: string

プロパティ値

string

承元CallMediaRecognizeOptions.operationContext

playPrompt

認識のために再生するオーディオのソース。

playPrompt?: FileSource | TextSource | SsmlSource

プロパティ値

承元CallMediaRecognizeOptions.playPrompt

playPrompts

認識のために再生されるオーディオのリスト ソース。

playPrompts?: (FileSource | TextSource | SsmlSource)[]

プロパティ値

承元:CallMediaRecognizeOptions.playPrompts

requestOptions

この操作の HTTP 要求を作成および送信するときに使用されるオプション。

requestOptions?: OperationRequestOptions

プロパティ値

承元CallMediaRecognizeOptions.requestOptions

serializerOptions

シリアル化/シリアル化解除の動作をオーバーライドするオプション。

serializerOptions?: SerializerOptions

プロパティ値

承元:CallMediaRecognizeOptions.serializerOptions

stopCurrentOperations

警告

この API は非推奨になりました。

Not in use, instead use interruptCallMediaOperation for similar functionality

stopCurrentOperations?: boolean

プロパティ値

boolean

継承元:CallMediaRecognizeOptions.stopCurrentOperations

tracingOptions

トレースが有効な場合に使用されるオプション。

tracingOptions?: OperationTracingOptions

プロパティ値

承元CallMediaRecognizeOptions.tracingOptions