ragflow_create_search_app
Create a search app with dataset and document IDs, search settings, and optional filters so completion requests can return grounded answers from selected knowledge sources.
Instructions
Create a search app; pass dataset_ids so ragflow_search_app_completion can answer from them.
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_search_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Search app name (unique, max 255 bytes) | |
| top_k | No | Candidates considered before reranking | |
| use_kg | No | Also search the knowledge graph | |
| keyword | No | Expand the question with LLM keywords | |
| rerank_id | No | Rerank model as model_name@factory | |
| chat_model | No | Chat model for answers as model_name@factory; default is the tenant's | |
| dataset_ids | No | Datasets the search app searches (kb_ids) | |
| description | No | ||
| document_ids | No | Limit the search to these documents (doc_ids) | |
| search_config | No | Other search_config keys to set as-is, e.g. llm_setting | |
| cross_languages | No | Also translate the question into these languages | |
| meta_data_filter | No | Metadata filter applied to the documents | |
| similarity_threshold | No | Minimum similarity for a chunk to count | |
| vector_similarity_weight | No | Weight of vector similarity; keyword weight is 1 minus this |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||