Browse Source

Corrected an error in the APi docs (#5398)

Zixuan Cheng 10 tháng trước cách đây
mục cha
commit
b78faa461f

+ 1 - 1
web/app/components/develop/template/template_advanced_chat.en.mdx

@@ -643,7 +643,7 @@ Chat applications support session persistence, allowing previous chat history to
     ### Response
     - `data` (array[object]) List of conversations
       - `id` (string) Conversation ID
-      - `name` (string) Conversation name, by default, is a snippet of the first question asked by the user in the conversation.
+      - `name` (string) Conversation name, by default, is generated by LLM.
       - `inputs` (array[object]) User input parameters.
       - `introduction` (string) Introduction
       - `created_at` (timestamp) Creation timestamp, e.g., 1705395332

+ 1 - 1
web/app/components/develop/template/template_advanced_chat.zh.mdx

@@ -679,7 +679,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
     ### Response
     - `data` (array[object]) 会话列表
       - `id`  (string) 会话 ID
-      - `name`  (string) 会话名称,默认为会话中用户最开始问题的截取
+      - `name`  (string) 会话名称,默认由大语言模型生成
       - `inputs` (array[object]) 用户输入参数。
       - `introduction` (string) 开场白
       - `created_at` (timestamp) 创建时间