Chat request
Chat
Send Request
This endpoint is used to receive chat request from user through API and return the answer.
POST
Chat request
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
- Basic Chat
- Multimodal Chat
- Tools Chat
- Reasoning Chat
- RAG Chat
- Agentic RAG Chat
- In Memory Chat
- Structured Ouput
The name of the model to use.
Available options:
pawa-v1-ember-20240924, pawa-v1-blaze-20250318 Example:
"pawa-v1-ember-20240924"
Messages to send to the model
Example:
[
{
"role": "system",
"content": [
{
"type": "text",
"text": "You are a helpful assistant that answers questions asked "
}
]
},
{
"role": "user",
"content": [
{
"type": "text",
"text": "What is the current president of Tanzania?"
}
]
}
]Sampling temperature
Required range:
0 <= x <= 2Nucleus sampling (top-p)
Required range:
0 <= x <= 1Maximum number of tokens in the response
Penalty for repeated tokens
Required range:
-2 <= x <= 2Penalty for new topic tokens
Required range:
-2 <= x <= 2Random seed for reproducibility
Whether to stream the response