Authorizations
Headers
ID of team to run requests as (optional parameter).
Body
A list of messages comprising the conversation so far.
[
{
"content": "You are a helpful assistant.",
"role": "system"
},
{ "content": "Hello!", "role": "user" }
]
ID of target endpoint. If you want to send request to specific adapter, use the format "YOUR_ENDPOINT_ID:YOUR_ADAPTER_ROUTE". Otherwise, you can just use "YOUR_ENDPOINT_ID" alone.
"(endpoint-id)"
Additional keyword arguments supplied to the template renderer. These parameters will be available for use within the chat template.
A list of tools the model may call. Currently, only functions are supported as a tool. A maximum of 128 functions is supported. Use this to provide a list of functions the model may generate JSON inputs for.
When tools
is specified, min_tokens
and response_format
fields are unsupported.
Response
Successfully rendered chat messages into prompt text.
The rendered text.