Resource
Chat With Resource With Streaming
Ask anything to your resource with response streaming.
POST
/
v1
/
resource
/
chat-stream
Authorizations
Body
application/json
The resource's id.
An array of messages.
Response
201 - application/json
The partial streaming response data.
The streaming event type. Values can be 'partialResponse' | 'streamEnd' | 'error'.
Error status code. (Only defined when an error occurs while streaming)
Error message. (Only defined when an error occurs while streaming)
Source of the error. (Only defined when an error occurs while streaming)