crazywoola 1 년 전
부모
커밋
4b0d9272ef
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      web/app/components/develop/template/template_chat.en.mdx
  2. 1 1
      web/app/components/develop/template/template_chat.zh.mdx

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

@@ -165,7 +165,7 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
 />
 <Row>
   <Col>
-    The first page returns the latest `limit` bar, which is in reverse order.
+    The first page returns the latest `limit` bar, which is in reverse order. Load previous pages by passing the `first_id` of the last message on the current page to the `first_id` parameter of the next request.
 
     ### Query
 

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

@@ -165,7 +165,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
 />
 <Row>
   <Col>
-    滚动加载形式返回历史聊天记录,第一页返回最新 `limit` 条,即:倒序返回
+    滚动加载形式返回历史聊天记录,第一页返回最新 `limit` 条,加载更多时,返回 `first_id` 之前的 `limit` 条
 
     ### Query