diff --git a/web/app/components/develop/template/template_chat.en.mdx b/web/app/components/develop/template/template_chat.en.mdx index fa71bb35f..b131f6a58 100644 --- a/web/app/components/develop/template/template_chat.en.mdx +++ b/web/app/components/develop/template/template_chat.en.mdx @@ -363,7 +363,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API --- - + ```bash {{ title: 'cURL' }} - curl --location --request POST '${props.appDetail.api_base_url}/conversations/{converation_id}/name' \ + curl --location --request POST '${props.appDetail.api_base_url}/conversations/{conversation_id}/name' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \ --data-raw '{ @@ -413,7 +413,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API --- - + ```bash {{ title: 'cURL' }} curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{convsation_id}' \ diff --git a/web/app/components/develop/template/template_chat.zh.mdx b/web/app/components/develop/template/template_chat.zh.mdx index 7444b8c69..538ff6455 100644 --- a/web/app/components/develop/template/template_chat.zh.mdx +++ b/web/app/components/develop/template/template_chat.zh.mdx @@ -363,7 +363,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' --- - + ```bash {{ title: 'cURL' }} - curl --location --request POST '${props.appDetail.api_base_url}/conversations/{converation_id}/name' \ + curl --location --request POST '${props.appDetail.api_base_url}/conversations/{conversation_id}/name' \ --header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{ @@ -412,7 +412,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' --- - + ```bash {{ title: 'cURL' }} curl --location --request DELETE '${props.appDetail.api_base_url}/conversations/{convsation_id}' \