Deployments
Stream
Changed onStream deployment generation. Only supported for completions and chat completions.
post/v2/deployments/stream
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v2/deployments/stream
- AuthHTTP bearer
Request body
Example request
{
"identity": {
"id": "contact_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"display_name": "Jane Doe",
"email": "jane.doe@example.com",
"metadata": [
{
"department": "Engineering",
"role": "Senior Developer"
}
],
"logo_url": "https://example.com/avatars/jane-doe.jpg",
"tags": [
"hr",
"engineering"
]
},
"documents": [
{
"text": "The refund policy allows customers to return items within 30 days of purchase for a full refund.",
"metadata": {
"file_name": "refund_policy.pdf",
"file_type": "application/pdf",
"page_number": 1
}
},
{
"text": "Premium members receive free shipping on all orders over $50.",
"metadata": {
"file_name": "membership_benefits.md",
"file_type": "text/markdown"
}
}
]
}Response
Successful operation
Changes
- warning
added the new
munitoenum value to the/response property for the response status - warning
added the new
particleenum value to the/response property for the response status
- warning
- info
removed the
munitoenum value from the/response property for the response status - info
removed the
particleenum value from the/response property for the response status
- info