mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 15:20:30 +08:00
Go: add context, part14 (#17446)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -3314,7 +3314,7 @@ Failure:
|
||||
```json
|
||||
{
|
||||
"code": 102,
|
||||
"message": "No authorization."
|
||||
"message": "no authorization"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -3371,7 +3371,7 @@ Failure:
|
||||
```json
|
||||
{
|
||||
"code": 102,
|
||||
"message": "No authorization."
|
||||
"message": "no authorization"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -3419,7 +3419,7 @@ Failure:
|
||||
```json
|
||||
{
|
||||
"code": 102,
|
||||
"message": "No authorization."
|
||||
"message": "no authorization"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -8517,7 +8517,7 @@ Failure:
|
||||
- `'Authorization: Bearer <YOUR_API_KEY>'`
|
||||
|
||||
##### Request example
|
||||
|
||||
|
||||
```bash
|
||||
curl --request DELETE \
|
||||
--url 'http://{address}/api/v1/searches/b330ec2e91ec11efbc510242ac120006' \
|
||||
@@ -8565,7 +8565,7 @@ Failure:
|
||||
- `'Content-Type: application/json'`
|
||||
- `'Authorization: Bearer <YOUR_LOGIN_TOKEN>'`
|
||||
- Body:
|
||||
- `"question"`: `string` *(Required)* The user question.
|
||||
- `"question"`: `string` *(Required)* The user question.
|
||||
- `"kb_ids"`: `list[string]` *(Optional)* Fallback dataset IDs. Used only when the search app config does not already define `kb_ids`.
|
||||
|
||||
##### Request example
|
||||
@@ -8624,6 +8624,6 @@ Failure:
|
||||
```json
|
||||
{
|
||||
"code": 109,
|
||||
"message": "No authorization."
|
||||
"message": "no authorization"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user