This commit is contained in:
90houlaoheshang
2024-11-05 16:48:29 +08:00
parent 8d00f5a4cd
commit b2a5235759

View File

@@ -526,7 +526,8 @@ The API server provides the following endpoints:
```json ```json
{ {
"query": "Your question here", "query": "Your question here",
"mode": "hybrid" // Can be "naive", "local", "global", or "hybrid" "mode": "hybrid", // Can be "naive", "local", "global", or "hybrid"
"only_need_context": true // Optional: Defaults to false, if true, only the referenced context will be returned, otherwise the llm answer will be returned
} }
``` ```
- **Example:** - **Example:**