Docs: update API endpoint paths (#9683)
### What problem does this PR solve? - Update API endpoint paths in docs from `/v1/` to `/api/v1/` for consistency ### Type of change - [x] Documentation Update
This commit is contained in:
parent
9dd22e141b
commit
d0fa66f4d5
1 changed files with 3 additions and 3 deletions
|
|
@ -3501,7 +3501,7 @@ Failure:
|
|||
|
||||
### Generate related questions
|
||||
|
||||
**POST** `/v1/sessions/related_questions`
|
||||
**POST** `/api/v1/sessions/related_questions`
|
||||
|
||||
Generates five to ten alternative question strings from the user's original query to retrieve more relevant search results.
|
||||
|
||||
|
|
@ -3516,7 +3516,7 @@ The chat model autonomously determines the number of questions to generate based
|
|||
#### Request
|
||||
|
||||
- Method: POST
|
||||
- URL: `/v1/sessions/related_questions`
|
||||
- URL: `/api/v1/sessions/related_questions`
|
||||
- Headers:
|
||||
- `'content-Type: application/json'`
|
||||
- `'Authorization: Bearer <YOUR_LOGIN_TOKEN>'`
|
||||
|
|
@ -3528,7 +3528,7 @@ The chat model autonomously determines the number of questions to generate based
|
|||
|
||||
```bash
|
||||
curl --request POST \
|
||||
--url http://{address}/v1/sessions/related_questions \
|
||||
--url http://{address}/api/v1/sessions/related_questions \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer <YOUR_LOGIN_TOKEN>' \
|
||||
--data '
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue