ragflow_rate_chat_message
Rate an assistant answer by giving a thumbs up or down, with optional feedback to flag bad responses in a RAGFlow chat session.
Instructions
Give thumbs up or down, with optional feedback, to an assistant answer.
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>",
"session_id": "<session_id>",
"message_id": "<message_id>",
"thumbup": "<thumbup>"
},
"name": "ragflow_rate_chat_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat assistant ID | |
| thumbup | Yes | true for a good answer, false for a bad one | |
| feedback | No | Why the answer was bad (kept only with thumbup false) | |
| message_id | Yes | ID of an assistant message | |
| session_id | Yes | Session ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||