ragflow_replace_chat_settings
Replace a chat assistant's model and prompt settings using PUT semantics, so provided llm_setting and prompt_config objects overwrite stored configurations.
Instructions
Update a chat assistant with PUT semantics: llm_setting and prompt_config you pass replace the stored objects.
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": {
"chat_id": "<chat_id>"
},
"name": "ragflow_replace_chat_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| top_k | No | ||
| top_n | No | ||
| llm_id | No | ||
| chat_id | Yes | Chat assistant ID | |
| language | No | ||
| rerank_id | No | ||
| dataset_ids | No | Datasets the assistant retrieves from | |
| description | No | ||
| llm_setting | No | Replaces the whole model settings object | |
| prompt_config | No | Replaces the whole prompt settings object | |
| meta_data_filter | No | ||
| similarity_threshold | No | ||
| keywords_similarity_weight | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||