|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
Streaming event structure |
||
| type |
string |
Streaming data type |
|
| content |
string |
Text content of the streaming output. This field appears only when type is text. |
|
| params |
any |
Structured information in the streaming result. When type is miniapp, this field contains structured resources for a mini program. When type is product, this field contains structured resources for a product. All content renders as JSON. |