Type alias: ParsedData
ai.chat.ParsedData
ParsedData: Object
LLM生成返回的数据
Type declaration
| Name | Type | Description |
|---|
deltaContent | string | LLM生成的delta content |
error? | unknown | 出错时非空 |
fullContent | string | LLM生成的累积内容 |
isFinished | boolean | 是否已完成生成,最后一块数据时为true |
questionId? | string | 用户发送消息的ID |
replyId? | string | AI返回消息的ID |