ragflow_create_chat
Create a chat assistant that answers questions from specified datasets, with configurable retrieval ranking, model settings, and prompts.
Instructions
Create a chat assistant that answers from the given datasets.
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": {
"name": "<name>"
},
"name": "ragflow_create_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Chat assistant name; a duplicate gets a suffix | |
| top_k | No | Candidates before reranking | |
| top_n | No | Chunks passed to the model | |
| llm_id | No | Chat model as model_name@factory; defaults to the tenant's model | |
| language | No | ||
| rerank_id | No | Rerank model as model_name@factory | |
| dataset_ids | No | Datasets the assistant retrieves from | |
| description | No | ||
| llm_setting | No | Model parameters such as temperature, top_p, presence_penalty, frequency_penalty, max_tokens | |
| prompt_config | No | Prompt settings: system (prompt text, use {knowledge} for retrieved chunks), prologue, empty_response, quote, refine_multiturn, reasoning, cross_languages, parameters | |
| meta_data_filter | No | Metadata filter applied to retrieval | |
| similarity_threshold | No | ||
| keywords_similarity_weight | No | Weight of keyword match; vector weight is 1 minus this |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||