sarvam_chat
Generate multilingual chat completions with Sarvam-30B or Sarvam-105B models, supporting 10 Indic languages plus English and optional structured JSON output.
Instructions
Chat completion via Sarvam-30B or Sarvam-105B. Multilingual (10 Indic + EN), supports JSON mode.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"messages": "<messages>"
},
"name": "sarvam_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Sarvam model. 105B is the strongest; 30B is faster/cheaper. | sarvam-105b |
| top_p | No | ||
| messages | Yes | Chat history. At least one message required. | |
| json_mode | No | If true, request structured JSON output via response_format. | |
| max_tokens | No | ||
| temperature | No |