Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DSPY_MODEL | No | DSPy language model for query refinement | openai/gpt-4o-mini |
| OPENAI_API_KEY | Yes | OpenAI API key (required for DSPy query deepening) | |
| RAGFLOW_API_KEY | Yes | Your RAGFlow API key (required) | |
| RAGFLOW_BASE_URL | No | Base URL of your RAGFlow instance | http://192.168.122.93:9380 |
| CF_ACCESS_CLIENT_ID | No | Cloudflare Zero Trust Access Client ID (optional) | |
| RAGFLOW_DEFAULT_RERANK | No | Default rerank model | rerank-multilingual-v3.0 |
| CF_ACCESS_CLIENT_SECRET | No | Cloudflare Zero Trust Access Client Secret (optional) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ragflow_list_datasets | List all available datasets/knowledge bases in RAGFlow |
| ragflow_list_documents | List documents in a specific dataset |
| ragflow_get_chunks | Get chunks with references from a specific document |
| ragflow_list_sessions | List active chat sessions for all datasets |
| ragflow_reset_session | Reset/clear the chat session for a specific dataset |
| ragflow_retrieval | Retrieve document chunks directly from RAGFlow datasets using the retrieval API. Returns raw chunks with similarity scores. |
| ragflow_retrieval_by_name | Retrieve document chunks by dataset names using the retrieval API. Returns raw chunks with similarity scores. |
| ragflow_list_documents_by_name | List documents in a dataset by dataset name |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |