mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-06-26 22:19:57 +00:00
doc related_question path changed (#7918)
conversation change to sessions ### What problem does this PR solve? related_question interface has wrong uri in HTTP API doc ### Type of change - [x] Documentation Update
This commit is contained in:
parent
91df073653
commit
47d40806a4
@ -3229,7 +3229,7 @@ Failure:
|
||||
|
||||
### Related Questions
|
||||
|
||||
**POST** `/v1/conversation/related_questions`
|
||||
**POST** `/v1/sessions/related_questions`
|
||||
|
||||
Generates five to ten alternative question strings from the user's original query to retrieve more relevant search results.
|
||||
|
||||
@ -3242,7 +3242,7 @@ The chat model dynamically determines the number of questions to generate based
|
||||
#### Request
|
||||
|
||||
- Method: POST
|
||||
- URL: `/v1/conversation/related_questions`
|
||||
- URL: `/v1/sessions/related_questions`
|
||||
- Headers:
|
||||
- `'content-Type: application/json'`
|
||||
- `'Authorization: Bearer <YOUR_LOGIN_TOKEN>'`
|
||||
@ -3253,7 +3253,7 @@ The chat model dynamically determines the number of questions to generate based
|
||||
|
||||
```bash
|
||||
curl --request POST \
|
||||
--url http://{address}/v1/conversation/related_questions \
|
||||
--url http://{address}/v1/sessions/related_questions \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer <YOUR_LOGIN_TOKEN>' \
|
||||
--data '
|
||||
|
Loading…
x
Reference in New Issue
Block a user