ragflow_search_app_completion
Answers questions using a search app’s datasets and an LLM, returning the generated answer with source chunks for verification.
Instructions
Answer a question with a search app's datasets and LLM; returns the answer and its source chunks.
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": {
"search_id": "<search_id>",
"question": "<question>"
},
"name": "ragflow_search_app_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | Question, ideally in the documents' language | |
| search_id | Yes | Search app ID | |
| dataset_ids | No | Datasets to use only when the search app has none configured | |
| max_references | No | Return at most this many source chunks |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||