From b1e0db4944c38848ff65a9c81feb4861a1e3f559 Mon Sep 17 00:00:00 2001 From: Joel Date: Wed, 6 Mar 2024 13:19:27 +0800 Subject: [PATCH] fix: chatbot service api auto generate name default value error (#2709) --- web/app/components/develop/template/template_chat.en.mdx | 4 ++-- web/app/components/develop/template/template_chat.zh.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/components/develop/template/template_chat.en.mdx b/web/app/components/develop/template/template_chat.en.mdx index e102108154..ca400d1438 100644 --- a/web/app/components/develop/template/template_chat.en.mdx +++ b/web/app/components/develop/template/template_chat.en.mdx @@ -71,8 +71,8 @@ Chat applications support session persistence, allowing previous chat history to - `upload_file_id` (string) Uploaded file ID, which must be obtained by uploading through the File Upload API in advance (when the transfer method is `local_file`) - Auto-generate title, default is `false`. - Can achieve async title generation by calling the conversation rename API and setting `auto_generate` to true. + Auto-generate title, default is `true`. + If set to `false`, can achieve async title generation by calling the conversation rename API and setting `auto_generate` to `true`. diff --git a/web/app/components/develop/template/template_chat.zh.mdx b/web/app/components/develop/template/template_chat.zh.mdx index 7bc3cd5337..dcc33ecf0b 100644 --- a/web/app/components/develop/template/template_chat.zh.mdx +++ b/web/app/components/develop/template/template_chat.zh.mdx @@ -71,7 +71,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' - `upload_file_id` 上传文件 ID。(仅当传递方式为 `local_file `时)。 - (选填)自动生成标题,默认 `false`。 可通过调用会话重命名接口并设置 `auto_generate` 为 `true` 实现异步生成标题。 + (选填)自动生成标题,默认 `true`。 若设置为 `false`,则可通过调用会话重命名接口并设置 `auto_generate` 为 `true` 实现异步生成标题。