Field | Type | Description |
type | Number | Message type. 10020 indicates AI service invocation callback. |
sender | String | User ID of the sender, which is the chatbot ID. |
payload | Object | Message payload, including metric details. |
Field | Type | Description |
metric | String | The names of called metrics are as follows: asr_latency llm_network_latency llm_first_token tts_network_latency tts_first_frame_latency tts_discontinuity interruption |
value | Number | Called metric. |
tag | Object | Tag associated with the metric. |
Field | Type | Description |
roundid | String | Conversation round ID. |
Status Code | Description |
asr_latency | ASR(STT) latency. Note: This metric includes the time set by VadSilenceTime when conversational AI is started. |
llm_network_latency | LLM request network latency. |
llm_first_token | LLM first token latency. This metric includes the network latency. |
tts_network_latency | TTS request network latency. |
tts_first_frame_latency | TTS first frame latency. This metric includes the network latency. |
tts_discontinuity | Number of occurrences of TTS request discontinuity. Discontinuity indicates that no result is returned for the next request after the current TTS streaming request is completed, which is usually caused by high TTS request network latency. |
interruption | This metric indicates that the conversation is interrupted. |
Feedback