Open deploy options
Open Connect via API
Get your canvas data
messages
key.
This feature enables you to provide context or additional information to the model, enhancing the interaction and output quality.
stream
key set to true
in the request body.
async
flagasync
key set to true
is the easiest way to achieve asynchronous behavior, allowing you to continue with other tasks while waiting for the completion. An id
will be returned so you can monitor the status of the call.
id
webhook_url
key, this will make the completion asynchronous, and you will receive the response when the completion is finished with a POST request on the url you provided.
webhook_url
key is used, the call becomes asynchronous automatically, eliminating the need to include the async flag.