README
This commit is contained in:
parent
8d00f5a4cd
commit
b2a5235759
1 changed files with 2 additions and 1 deletions
|
|
@ -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:**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue