From 6c21b7629b81d638d7b7a04360529d41bb738c2f Mon Sep 17 00:00:00 2001
From: AlexChimTrm <132866042+AlexChim1231@users.noreply.github.com>
Date: Wed, 23 Apr 2025 18:12:21 +0800
Subject: [PATCH] update document
---
.../develop/template/template_advanced_chat.en.mdx | 10 ++++++----
.../develop/template/template_advanced_chat.ja.mdx | 10 ++++++----
.../develop/template/template_advanced_chat.zh.mdx | 10 ++++++----
.../components/develop/template/template_chat.en.mdx | 10 ++++++----
.../components/develop/template/template_chat.ja.mdx | 10 ++++++----
.../components/develop/template/template_chat.zh.mdx | 10 ++++++----
6 files changed, 36 insertions(+), 24 deletions(-)
diff --git a/web/app/components/develop/template/template_advanced_chat.en.mdx b/web/app/components/develop/template/template_advanced_chat.en.mdx
index 494b4a6551..f645133030 100644
--- a/web/app/components/develop/template/template_advanced_chat.en.mdx
+++ b/web/app/components/develop/template/template_advanced_chat.en.mdx
@@ -869,13 +869,17 @@ Chat applications support session persistence, allowing previous chat history to
The user identifier, defined by the developer, must ensure uniqueness within the application
+
+ (Optional) The ID of the last record on the current page, default is null.
+
+
+ (Optional) How many records to return in one request, default is the most recent 20 entries. Maximum 100, minimum 1.
+
### Response
- - `page` (int) Current page number
- `limit` (int) Number of items per page
- - `total` (int) Total number of items
- `has_more` (bool) Whether there is a next page
- `data` (array[object]) List of variables
- `id` (string) Variable ID
@@ -911,9 +915,7 @@ Chat applications support session persistence, allowing previous chat history to
```json {{ title: 'Response' }}
{
- "page": 1,
"limit": 100,
- "total": 2,
"has_more": false,
"data": [
{
diff --git a/web/app/components/develop/template/template_advanced_chat.ja.mdx b/web/app/components/develop/template/template_advanced_chat.ja.mdx
index 36aaefea2b..db869f2093 100644
--- a/web/app/components/develop/template/template_advanced_chat.ja.mdx
+++ b/web/app/components/develop/template/template_advanced_chat.ja.mdx
@@ -868,13 +868,17 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
ユーザー識別子。開発者によって定義されたルールに従い、アプリケーション内で一意である必要があります。
+
+ (Optional)現在のページの最後の記録のID、デフォルトはnullです。
+
+
+ (Optional)1回のリクエストで返す記録の数、デフォルトは最新の20件です。最大100、最小1。
+
### レスポンス
- - `page` (int) 現在のページ番号
- `limit` (int) ページごとのアイテム数
- - `total` (int) アイテムの総数
- `has_more` (bool) さらにアイテムがあるかどうか
- `data` (array[object]) 変数のリスト
- `id` (string) 変数ID
@@ -910,9 +914,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
```json {{ title: 'Response' }}
{
- "page": 1,
"limit": 100,
- "total": 2,
"has_more": false,
"data": [
{
diff --git a/web/app/components/develop/template/template_advanced_chat.zh.mdx b/web/app/components/develop/template/template_advanced_chat.zh.mdx
index 66d834da14..240044a25d 100755
--- a/web/app/components/develop/template/template_advanced_chat.zh.mdx
+++ b/web/app/components/develop/template/template_advanced_chat.zh.mdx
@@ -905,13 +905,17 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
用户标识符,由开发人员定义的规则,在应用程序内必须唯一。
+
+ (选填)当前页最后面一条记录的 ID,默认 null
+
+
+ (选填)一次请求返回多少条记录,默认 20 条,最大 100 条,最小 1 条。
+
### 响应
- - `page` (int) 当前页码
- `limit` (int) 每页项目数
- - `total` (int) 项目总数
- `has_more` (bool) 是否有更多项目
- `data` (array[object]) 变量列表
- `id` (string) 变量ID
@@ -947,9 +951,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
```json {{ title: 'Response' }}
{
- "page": 1,
"limit": 100,
- "total": 2,
"has_more": false,
"data": [
{
diff --git a/web/app/components/develop/template/template_chat.en.mdx b/web/app/components/develop/template/template_chat.en.mdx
index 6071c55de1..aa3b9c62e5 100644
--- a/web/app/components/develop/template/template_chat.en.mdx
+++ b/web/app/components/develop/template/template_chat.en.mdx
@@ -902,13 +902,17 @@ Chat applications support session persistence, allowing previous chat history to
The user identifier, defined by the developer, must ensure uniqueness within the application
+
+ (Optional) The ID of the last record on the current page, default is null.
+
+
+ (Optional) How many records to return in one request, default is the most recent 20 entries. Maximum 100, minimum 1.
+
### Response
- - `page` (int) Current page number
- `limit` (int) Number of items per page
- - `total` (int) Total number of items
- `has_more` (bool) Whether there is a next page
- `data` (array[object]) List of variables
- `id` (string) Variable ID
@@ -944,9 +948,7 @@ Chat applications support session persistence, allowing previous chat history to
```json {{ title: 'Response' }}
{
- "page": 1,
"limit": 100,
- "total": 2,
"has_more": false,
"data": [
{
diff --git a/web/app/components/develop/template/template_chat.ja.mdx b/web/app/components/develop/template/template_chat.ja.mdx
index aadcf7f97b..7ad9a7fe3e 100644
--- a/web/app/components/develop/template/template_chat.ja.mdx
+++ b/web/app/components/develop/template/template_chat.ja.mdx
@@ -900,13 +900,17 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
ユーザー識別子。開発者によって定義されたルールに従い、アプリケーション内で一意である必要があります。
+
+ (Optional)現在のページの最後のレコードのID、デフォルトはnullです。
+
+
+ (Optional)1回のリクエストで返すレコードの数、デフォルトは最新の20件です。最大100、最小1。
+
### レスポンス
- - `page` (int) 現在のページ番号
- `limit` (int) ページごとのアイテム数
- - `total` (int) アイテムの総数
- `has_more` (bool) さらにアイテムがあるかどうか
- `data` (array[object]) 変数のリスト
- `id` (string) 変数ID
@@ -942,9 +946,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
```json {{ title: 'Response' }}
{
- "page": 1,
"limit": 100,
- "total": 2,
"has_more": false,
"data": [
{
diff --git a/web/app/components/develop/template/template_chat.zh.mdx b/web/app/components/develop/template/template_chat.zh.mdx
index 8f1284627a..a49f70a514 100644
--- a/web/app/components/develop/template/template_chat.zh.mdx
+++ b/web/app/components/develop/template/template_chat.zh.mdx
@@ -917,13 +917,17 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
用户标识符,由开发人员定义的规则,在应用程序内必须唯一。
+
+ (选填)当前页最后面一条记录的 ID,默认 null
+
+
+ (选填)一次请求返回多少条记录,默认 20 条,最大 100 条,最小 1 条。
+
### 响应
- - `page` (int) 当前页码
- `limit` (int) 每页项目数
- - `total` (int) 项目总数
- `has_more` (bool) 是否有更多项目
- `data` (array[object]) 变量列表
- `id` (string) 变量ID
@@ -959,9 +963,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
```json {{ title: 'Response' }}
{
- "page": 1,
"limit": 100,
- "total": 2,
"has_more": false,
"data": [
{