headerobject プロパティ task_idstring クライアント生成のタスク ID(UUID 形式)。 eventstring イベントタイプ。常に result-generated です。 payloadobject プロパティ outputobject プロパティ usageobject payload.output.sentence.sentence_end が false の場合(現在の文が終了していない)、usage は null になります。
payload.output.sentence.sentence_end が true の場合(現在の文が終了している)、usage.duration は現在のタスクの課金対象期間を示します。
プロパティ durationinteger 課金対象のタスク期間(秒単位)。 プロパティ sentenceobject プロパティ begin_timeinteger 文の開始時刻(ミリ秒単位)。 end_timeinteger 文の終了時刻(ミリ秒単位)。 textstring 認識されたテキスト。 heartbeatboolean true の場合、この結果(ハートビートパケット)をスキップできます。 sentence_endboolean 文が終了したかどうか(true=最終結果、false=中間結果)。 emo_tagstring 重要
- この機能は paraformer-realtime-8k-v2 のみがサポートしています。
- この機能を使用するには、セマンティックセグメンテーションを無効にする必要があります。run-task イベントで
semantic_punctuation_enabled を false に設定してください。
- 感情認識結果は、
payload.output.sentence.sentence_end が true の場合にのみ返されます。
現在の文の感情:
- positive:喜びや満足などのポジティブな感情。
- negative:怒りや落胆などのネガティブな感情。
- neutral:明確な感情はありません。
emo_confidencefloat 重要
- この機能は paraformer-realtime-8k-v2 のみがサポートしています。
- この機能を使用するには、セマンティックセグメンテーションを無効にする必要があります。run-task イベントで
semantic_punctuation_enabled を false に設定してください。
- 感情認識結果は、
payload.output.sentence.sentence_end が true の場合にのみ返されます。
[0.0, 1.0] の範囲の感情信頼度スコア。値が高いほど信頼度が高いことを示します。 wordsarray[object] 単語レベルのタイムスタンプ情報。 プロパティ begin_timeinteger 単語の開始時刻(ミリ秒単位)。 end_timeinteger 単語の終了時刻(ミリ秒単位)。 textstring 認識されたテキスト。 punctuationstring 句読点。 | {
"header": {
"task_id": "2bf83b9a-baeb-4fda-8d9a-xxxxxxxxxxxx",
"event": "result-generated",
"attributes": {}
},
"payload": {
"output": {
"sentence": {
"begin_time": 170,
"end_time": null,
"text": "Okay, I got it.",
"heartbeat": false,
"sentence_end": true,
"words": [
{
"begin_time": 170,
"end_time": 295,
"text": "Okay",
"punctuation": ","
},
{
"begin_time": 295,
"end_time": 503,
"text": "I",
"punctuation": ""
},
{
"begin_time": 503,
"end_time": 711,
"text": "got",
"punctuation": ""
},
{
"begin_time": 711,
"end_time": 920,
"text": "it",
"punctuation": ""
}
]
}
},
"usage": {
"duration": 3
}
}
}
|