From 47d40806a4c57ff25de3952a3609e78c9e72f04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E6=B5=B7=E8=92=BC=E7=81=86?= Date: Wed, 28 May 2025 18:36:42 +0800 Subject: [PATCH] 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 --- docs/references/http_api_reference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/references/http_api_reference.md b/docs/references/http_api_reference.md index 86ea4c0e4..582878d7d 100644 --- a/docs/references/http_api_reference.md +++ b/docs/references/http_api_reference.md @@ -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 '` @@ -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 ' \ --data '