diff --git a/web/app/components/develop/template/template.en.mdx b/web/app/components/develop/template/template.en.mdx
index f1b0b60dda..6a0fbf8049 100755
--- a/web/app/components/develop/template/template.en.mdx
+++ b/web/app/components/develop/template/template.en.mdx
@@ -57,8 +57,8 @@ The text generation application offers non-session support and is ideal for tran
Due to Cloudflare restrictions, the request will be interrupted without a return after 100 seconds.
- User identifier, used to define the identity of the end-user for retrieval and statistics.
- Should be uniquely defined by the developer within the application.
+ User identifier, used to define the identity of the end-user, convenient for retrieval and statistics.
+ The rules are defined by the developer and need to ensure that the user identifier is unique within the application. The Service API does not share conversations created by the WebApp.
File list, suitable for inputting files (images) combined with text understanding and answering questions, available only when the model supports Vision capability.
@@ -220,7 +220,7 @@ The text generation application offers non-session support and is ideal for tran
- `file` (File) Required
The file to be uploaded.
- `user` (string) Required
- User identifier, defined by the developer's rules, must be unique within the application.
+ User identifier, defined by the developer's rules, must be unique within the application. The Service API does not share conversations created by the WebApp.
### Response
After a successful upload, the server will return the file's ID and related information.
@@ -290,7 +290,7 @@ The text generation application offers non-session support and is ideal for tran
- `task_id` (string) Task ID, can be obtained from the streaming chunk return
Request Body
- `user` (string) Required
- User identifier, used to define the identity of the end-user, must be consistent with the user passed in the send message interface.
+ User identifier, used to define the identity of the end-user, must be consistent with the user passed in the send message interface. The Service API does not share conversations created by the WebApp.
### Response
- `result` (string) Always returns "success"
diff --git a/web/app/components/develop/template/template.ja.mdx b/web/app/components/develop/template/template.ja.mdx
index 2cbd87cf36..8f4c0861d4 100755
--- a/web/app/components/develop/template/template.ja.mdx
+++ b/web/app/components/develop/template/template.ja.mdx
@@ -42,30 +42,30 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
### リクエストボディ
-
- アプリで定義された各種変数値を入力できます。
- `inputs`パラメータには複数のキー/値ペアが含まれ、各キーは特定の変数に対応し、各値はその変数の具体的な値となります。
- テキスト生成アプリケーションでは、少なくとも1つのキー/値ペアの入力が必要です。
- - `query` (string) 必須
- 入力テキスト、処理される内容。
+ (任意)アプリで定義された各変数の値を渡すことができます。
+ inputs パラメータには複数のキーと値のペア(Key/Value pairs)が含まれ、各ペアのキーは特定の変数に対応し、各ペアの値はその変数の具体的な値です。
+ テキスト生成アプリでは、少なくとも1つのキーと値のペアを渡す必要があります。
+ - `query` (string) 必須
+ ユーザーが入力したテキストコンテンツ。
- レスポンス返却モード、以下をサポート:
- - `streaming` ストリーミングモード(推奨)、SSE([Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events))によるタイプライター風の出力を実装。
- - `blocking` ブロッキングモード、実行完了後に結果を返却。(処理が長い場合はリクエストが中断される可能性があります)
- Cloudflareの制限により、100秒後に返却なしで中断されます。
+ - `streaming` ストリーミングモード(推奨)。SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)に基づいて、タイプライターのような出力方法でストリーミング応答を実現します。
+ - `blocking`ブロッキングモード、実行が完了するまで待ってから結果を返します。(リクエストの処理が長い場合、中断される可能性があります)。
+ Cloudflare の制限により、リクエストは100秒後にタイムアウトし、応答なしで中断されます。
- ユーザー識別子、エンドユーザーの身元を定義し、取得や統計に使用します。
- アプリケーション内で開発者が一意に定義する必要があります。
+ ユーザー識別子、エンドユーザーの身元を定義するために使用され、検索や統計に便利です。
+ ルールは開発者によって定義され、アプリケーション内でユーザー識別子がユニークであることを保証する必要があります。サービス API は WebApp によって作成された会話を共有しません。
- ファイルリスト、モデルがVision機能をサポートしている場合のみ、テキスト理解と質問応答を組み合わせたファイル(画像)の入力に適しています。
- - `type` (string) サポートされるタイプ:`image`(現在は画像タイプのみサポート)
- - `transfer_method` (string) 転送方法、画像URLの場合は`remote_url` / ファイルアップロードの場合は`local_file`
- - `url` (string) 画像URL(転送方法が`remote_url`の場合)
- - `upload_file_id` (string) アップロードされたファイルID、事前にファイルアップロードAPIを通じてアップロードする必要があります(転送方法が`local_file`の場合)
+ アップロードされたファイル。
+ - `type` (string) サポートタイプ:画像 `image`(現在画像形式のみサポート)。
+ - `transfer_method` (string) 転送方法:
+ - `remote_url`: 画像URL。
+ - `local_file`: ファイルアップロード。
+ - `url` 画像URL。(転送方法が `remote_url` の場合のみ)。
+ - `upload_file_id` アップロードファイルID。(転送方法が `local_file `の場合のみ)。
@@ -220,7 +220,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- `file` (File) 必須
アップロードするファイル。
- `user` (string) 必須
- 開発者のルールで定義されたユーザー識別子。アプリケーション内で一意である必要があります。
+ ユーザー識別子。エンドユーザーの身元を定義するために使用され、メッセージ送信インターフェースで渡されたユーザーと一致する必要があります。サービス API は WebApp によって作成された会話を共有しません。
### レスポンス
アップロードが成功すると、サーバーはファイルの ID と関連情報を返します。
@@ -289,7 +289,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- `task_id` (string) タスク ID、ストリーミングチャンクの返信から取得可能
リクエストボディ
- `user` (string) 必須
- ユーザー識別子。エンドユーザーの身元を定義するために使用され、メッセージ送信インターフェースで渡されたユーザーと一致する必要があります。
+ ユーザー識別子。エンドユーザーの身元を定義するために使用され、メッセージ送信インターフェースで渡されたユーザーと一致する必要があります。サービス API は WebApp によって作成された会話を共有しません。
### レスポンス
- `result` (string) 常に"success"を返します
diff --git a/web/app/components/develop/template/template.zh.mdx b/web/app/components/develop/template/template.zh.mdx
index 64740d8930..4af5a28050 100755
--- a/web/app/components/develop/template/template.zh.mdx
+++ b/web/app/components/develop/template/template.zh.mdx
@@ -266,7 +266,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
### Request Body
- `user` (string) Required
- 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。
+ 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。API 无法访问 WebApp 创建的会话。
### Response
- `result` (string) 固定返回 success
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 3a9ef73b04..2e0242427b 100644
--- a/web/app/components/develop/template/template_advanced_chat.en.mdx
+++ b/web/app/components/develop/template/template_advanced_chat.en.mdx
@@ -59,7 +59,7 @@ Chat applications support session persistence, allowing previous chat history to
User identifier, used to define the identity of the end-user for retrieval and statistics.
- Should be uniquely defined by the developer within the application.
+ Should be uniquely defined by the developer within the application. The Service API does not share conversations created by the WebApp.
Conversation ID, to continue the conversation based on previous chat records, it is necessary to pass the previous message's conversation_id.
@@ -324,7 +324,7 @@ Chat applications support session persistence, allowing previous chat history to
- `file` (File) Required
The file to be uploaded.
- `user` (string) Required
- User identifier, defined by the developer's rules, must be unique within the application.
+ User identifier, defined by the developer's rules, must be unique within the application. The Service API does not share conversations created by the WebApp.
### Response
After a successful upload, the server will return the file's ID and related information.
@@ -394,7 +394,7 @@ Chat applications support session persistence, allowing previous chat history to
- `task_id` (string) Task ID, can be obtained from the streaming chunk return
### Request Body
- `user` (string) Required
- User identifier, used to define the identity of the end-user, must be consistent with the user passed in the send message interface.
+ User identifier, used to define the identity of the end-user, must be consistent with the user passed in the message sending interface. The Service API does not share conversations created by the WebApp.
### Response
- `result` (string) Always returns "success"
@@ -448,7 +448,7 @@ Chat applications support session persistence, allowing previous chat history to
Upvote as `like`, downvote as `dislike`, revoke upvote as `null`
- User identifier, defined by the developer's rules, must be unique within the application.
+ User identifier, defined by the developer's rules, must be unique within the application. The Service API does not share conversations created by the WebApp.
The specific content of message feedback.
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 72c5885045..6b798ae097 100644
--- a/web/app/components/develop/template/template_advanced_chat.ja.mdx
+++ b/web/app/components/develop/template/template_advanced_chat.ja.mdx
@@ -59,7 +59,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
ユーザー識別子、エンドユーザーの身元を定義するために使用され、統計のために使用されます。
- アプリケーション内で開発者によって一意に定義されるべきです。
+ アプリケーション内で開発者によって一意に定義されるべきです。サービス API は WebApp によって作成された会話を共有しません。
会話ID、以前のチャット記録に基づいて会話を続けるには、以前のメッセージのconversation_idを渡す必要があります。
@@ -324,7 +324,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- `file` (File) 必須
アップロードするファイル。
- `user` (string) 必須
- ユーザー識別子、開発者のルールによって定義され、アプリケーション内で一意でなければなりません。
+ ユーザー識別子、開発者のルールによって定義され、アプリケーション内で一意でなければなりません。サービス API は WebApp によって作成された会話を共有しません。
### 応答
アップロードが成功すると、サーバーはファイルの ID と関連情報を返します。
@@ -394,7 +394,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- `task_id` (string) タスク ID、ストリーミングチャンクの返り値から取得できます
### リクエストボディ
- `user` (string) 必須
- ユーザー識別子、エンドユーザーの身元を定義するために使用され、送信メッセージインターフェースで渡されたユーザーと一致している必要があります。
+ ユーザー識別子、エンドユーザーの身元を定義するために使用され、メッセージ送信インターフェースで渡されるユーザーと一致する必要があります。サービス API は WebApp によって作成された会話を共有しません。
### 応答
- `result` (string) 常に"success"を返します
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 7559dd507c..a3135c36e5 100755
--- a/web/app/components/develop/template/template_advanced_chat.zh.mdx
+++ b/web/app/components/develop/template/template_advanced_chat.zh.mdx
@@ -50,13 +50,13 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
默认 `{}`
- - `streaming` 流式模式(推荐)。基于 SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)实现类似打字机输出方式的流式返回。
+ - `streaming` 流式模式(推荐)。 基于 SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)实现类似打字机输出方式的流式返回。
- `blocking` 阻塞模式,等待执行完毕后返回结果。(请求若流程较长可能会被中断)。
由于 Cloudflare 限制,请求会在 100 秒超时无返回后中断。
用户标识,用于定义终端用户的身份,方便检索、统计。
- 由开发者定义规则,需保证用户标识在应用内唯一。
+ 由开发者定义规则,需保证用户标识在应用内唯一。服务 API 不会共享 WebApp 创建的对话。
(选填)会话 ID,需要基于之前的聊天记录继续对话,必须传之前消息的 conversation_id。
@@ -402,7 +402,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
### Request Body
- `user` (string) Required
- 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。
+ 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。API 无法访问 WebApp 创建的会话。
### Response
- `result` (string) 固定返回 success
@@ -428,6 +428,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
+
---
-
@@ -287,7 +287,7 @@ Chat applications support session persistence, allowing previous chat history to
- `file` (File) Required
The file to be uploaded.
- `user` (string) Required
- User identifier, defined by the developer's rules, must be unique within the application.
+ User identifier, defined by the developer's rules, must be unique within the application. The Service API does not share conversations created by the WebApp.
### Response
After a successful upload, the server will return the file's ID and related information.
@@ -357,7 +357,7 @@ Chat applications support session persistence, allowing previous chat history to
- `task_id` (string) Task ID, can be obtained from the streaming chunk return
### Request Body
- `user` (string) Required
- User identifier, used to define the identity of the end-user, must be consistent with the user passed in the send message interface.
+ User identifier, used to define the identity of the end-user, must be consistent with the user passed in the message sending interface. The Service API does not share conversations created by the WebApp.
### Response
- `result` (string) Always returns "success"
diff --git a/web/app/components/develop/template/template_chat.ja.mdx b/web/app/components/develop/template/template_chat.ja.mdx
index e62ff4ff42..94b8368596 100644
--- a/web/app/components/develop/template/template_chat.ja.mdx
+++ b/web/app/components/develop/template/template_chat.ja.mdx
@@ -262,9 +262,9 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
data: {"event": "message", "message_id" : "5ad4cb98-f0c7-4085-b384-88c403be6290", "conversation_id": "45701982-8118-4bc5-8e9b-64562b4555f2", "answer": " meet", "created_at": 1679586595}
data: {"event": "message", "message_id" : "5ad4cb98-f0c7-4085-b384-88c403be6290", "conversation_id": "45701982-8118-4bc5-8e9b-64562b4555f2", "answer": " you", "created_at": 1679586595}
data: {"event": "message_end", "id": "5e52ce04-874b-4d27-9045-b3bc80def685", "conversation_id": "45701982-8118-4bc5-8e9b-64562b4555f2", "metadata": {"usage": {"prompt_tokens": 1033, "prompt_unit_price": "0.001", "prompt_price_unit": "0.001", "prompt_price": "0.0010330", "completion_tokens": 135, "completion_unit_price": "0.002", "completion_price_unit": "0.001", "completion_price": "0.0002700", "total_tokens": 1168, "total_price": "0.0013030", "currency": "USD", "latency": 1.381760165997548}, "retriever_resources": [{"position": 1, "dataset_id": "101b4c97-fc2e-463c-90b1-5261a4cdcafb", "dataset_name": "iPhone", "document_id": "8dd1ad74-0b5f-4175-b735-7d98bbbb4e00", "document_name": "iPhone List", "segment_id": "ed599c7f-2766-4294-9d1d-e5235a61270a", "score": 0.98457545, "content": "\"Model\",\"Release Date\",\"Display Size\",\"Resolution\",\"Processor\",\"RAM\",\"Storage\",\"Camera\",\"Battery\",\"Operating System\"\n\"iPhone 13 Pro Max\",\"September 24, 2021\",\"6.7 inch\",\"1284 x 2778\",\"Hexa-core (2x3.23 GHz Avalanche + 4x1.82 GHz Blizzard)\",\"6 GB\",\"128, 256, 512 GB, 1TB\",\"12 MP\",\"4352 mAh\",\"iOS 15\""}]}}
- data: {"event": "tts_message", "conversation_id": "23dd85f3-1a41-4ea0-b7a9-062734ccfaf9", "message_id": "a8bdc41c-13b2-4c18-bfd9-054b9803038c", "created_at": 1721205487, "task_id": "3bf8a0bb-e73b-4690-9e66-4e429bad8ee7", "audio": "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"}
- data: {"event": "tts_message_end", "conversation_id": "23dd85f3-1a41-4ea0-b7a9-062734ccfaf9", "message_id": "a8bdc41c-13b2-4c18-bfd9-054b9803038c", "created_at": 1721205487, "task_id": "3bf8a0bb-e73b-4690-9e66-4e429bad8ee7", "audio": ""}
- ```
+ data: {"event": "tts_message", "conversation_id": "23dd85f3-1a41-4ea0-b7a9-062734ccfaf9", "message_id": "a8bdc41c-13b2-4c18-bfd9-054b9803038c", "created_at": 1721205487, "task_id": "3bf8a0bb-e73b-4690-9e66-4e429bad8ee7", "audio": "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"}
+ data: {"event": "tts_message_end", "conversation_id": "23dd85f3-1a41-4ea0-b7a9-062734ccfaf9", "message_id": "a8bdc41c-13b2-4c18-bfd9-054b9803038c", "created_at": 1721205487, "task_id": "3bf8a0bb-e73b-4690-9e66-4e429bad8ee7", "audio": ""}
+ ```
@@ -287,7 +287,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- `file` (File) 必須
アップロードするファイル。
- `user` (string) 必須
- ユーザー識別子、開発者のルールで定義され、アプリケーション内で一意でなければなりません。
+ ユーザー識別子、開発者のルールで定義され、アプリケーション内で一意でなければなりません。サービス API は WebApp によって作成された会話を共有しません。
### 応答
アップロードが成功すると、サーバーはファイルの ID と関連情報を返します。
@@ -357,7 +357,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- `task_id` (string) タスク ID、ストリーミングチャンクの返り値から取得できます
### リクエストボディ
- `user` (string) 必須
- ユーザー識別子、エンドユーザーのアイデンティティを定義するために使用され、メッセージ送信インターフェースで渡されたユーザーと一致している必要があります。
+ ユーザー識別子、エンドユーザーの身元を定義するために使用され、メッセージ送信インターフェースで渡されるユーザーと一致する必要があります。サービス API は WebApp によって作成された会話を共有しません。
### 応答
- `result` (string) 常に"success"を返します
@@ -1406,4 +1406,4 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
-___
+---
diff --git a/web/app/components/develop/template/template_chat.zh.mdx b/web/app/components/develop/template/template_chat.zh.mdx
index f6714c95f0..7d8f0c2c6d 100644
--- a/web/app/components/develop/template/template_chat.zh.mdx
+++ b/web/app/components/develop/template/template_chat.zh.mdx
@@ -49,14 +49,14 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
默认 `{}`
- - `streaming` 流式模式(推荐)。基于 SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)实现类似打字机输出方式的流式返回。
+ - `streaming` 流式模式(推荐)。 基于 SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)实现类似打字机输出方式的流式返回。
- `blocking` 阻塞模式,等待执行完毕后返回结果。(请求若流程较长可能会被中断)。
由于 Cloudflare 限制,请求会在 100 秒超时无返回后中断。
注:Agent模式下不允许blocking。
用户标识,用于定义终端用户的身份,方便检索、统计。
- 由开发者定义规则,需保证用户标识在应用内唯一。
+ 由开发者定义规则,需保证用户标识在应用内唯一。服务 API 不会共享 WebApp 创建的对话。
(选填)会话 ID,需要基于之前的聊天记录继续对话,必须传之前消息的 conversation_id。
@@ -306,7 +306,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
要上传的文件。
- 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。
+ 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。服务 API 不会共享 WebApp 创建的对话。
@@ -373,7 +373,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
### Request Body
- `user` (string) Required
- 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。
+ 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。API 无法访问 WebApp 创建的会话。
### Response
- `result` (string) 固定返回 success
@@ -425,7 +425,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
点赞 like, 点踩 dislike, 撤销点赞 null
- 用户标识,由开发者定义规则,需保证用户标识在应用内唯一。
+ 用户标识,由开发者定义规则,需保证用户标识在应用内唯一。服务 API 不会共享 WebApp 创建的对话。
消息反馈的具体信息。
@@ -900,7 +900,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
- (选填)名称,若 `auto_generate` 为 `true` 时,该参数可不传。
+ (选填)名称,若 `auto_generate` 为 `true`,该参数可不传。
(选填)自动生成标题,默认 false。
@@ -1252,7 +1252,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
- ```bash {{ title: 'cURL' }}
+ ```bash {{ title: 'cURL' }}
curl -X GET '${props.appDetail.api_base_url}/parameters' \
--header 'Authorization: Bearer {api_key}'
```
diff --git a/web/app/components/develop/template/template_workflow.en.mdx b/web/app/components/develop/template/template_workflow.en.mdx
index 9aa5d60c57..0ceeadf4ed 100644
--- a/web/app/components/develop/template/template_workflow.en.mdx
+++ b/web/app/components/develop/template/template_workflow.en.mdx
@@ -64,6 +64,8 @@ Workflow applications offers non-session support and is ideal for translation, a
- `user` (string) Required
User identifier, used to define the identity of the end-user for retrieval and statistics.
Should be uniquely defined by the developer within the application.
+
+ The user identifier should be consistent with the user passed in the message sending interface. The Service API does not share conversations created by the WebApp.
### Response
When `response_mode` is `blocking`, return a CompletionResponse object.
@@ -401,7 +403,7 @@ Workflow applications offers non-session support and is ideal for translation, a
- `task_id` (string) Task ID, can be obtained from the streaming chunk return
### Request Body
- `user` (string) Required
- User identifier, used to define the identity of the end-user, must be consistent with the user passed in the send message interface.
+ User identifier, used to define the identity of the end-user, must be consistent with the user passed in the message sending interface. The Service API does not share conversations created by the WebApp.
### Response
- `result` (string) Always returns "success"
@@ -448,7 +450,7 @@ Workflow applications offers non-session support and is ideal for translation, a
- `file` (File) Required
The file to be uploaded.
- `user` (string) Required
- User identifier, defined by the developer's rules, must be unique within the application.
+ User identifier, defined by the developer's rules, must be unique within the application. The Service API does not share conversations created by the WebApp.
### Response
After a successful upload, the server will return the file's ID and related information.
diff --git a/web/app/components/develop/template/template_workflow.ja.mdx b/web/app/components/develop/template/template_workflow.ja.mdx
index e957de2872..bfcf812e32 100644
--- a/web/app/components/develop/template/template_workflow.ja.mdx
+++ b/web/app/components/develop/template/template_workflow.ja.mdx
@@ -49,7 +49,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
変数がファイルリストの場合、リストの各要素は以下の属性を持つ必要があります。
- `type` (string) サポートされているタイプ:
- `document` ('TXT', 'MD', 'MARKDOWN', 'PDF', 'HTML', 'XLSX', 'XLS', 'DOCX', 'CSV', 'EML', 'MSG', 'PPTX', 'PPT', 'XML', 'EPUB')
- - `image` ('JPG', 'JPEG', 'PNG', 'GIF', 'WEBP', 'SVG')
+ - `image` ('JPG', 'JPEG', 'PNG', '
- `audio` ('MP3', 'M4A', 'WAV', 'WEBM', 'AMR')
- `video` ('MP4', 'MOV', 'MPEG', 'MPGA')
- `custom` (他のファイルタイプ)
@@ -65,6 +65,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- `user` (string) 必須
ユーザー識別子、エンドユーザーのアイデンティティを定義するために使用されます。
アプリケーション内で開発者によって一意に定義される必要があります。
+ サービス API は WebApp によって作成された会話を共有しません。
- `files` (array[object]) オプション
@@ -404,7 +405,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- `task_id` (string) タスク ID、ストリーミングチャンクの返り値から取得可能
### リクエストボディ
- `user` (string) 必須
- ユーザー識別子、エンドユーザーのアイデンティティを定義するために使用され、送信メッセージインターフェースで渡されたユーザーと一致している必要があります。
+ ユーザー識別子、エンドユーザーの身元を定義するために使用され、メッセージ送信インターフェースで渡されるユーザーと一致する必要があります。サービス API は WebApp によって作成された会話を共有しません。
### 応答
- `result` (string) 常に"success"を返します
@@ -451,7 +452,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- `file` (File) 必須
アップロードするファイル。
- `user` (string) 必須
- ユーザー識別子、開発者のルールで定義され、アプリケーション内で一意でなければなりません。
+ ユーザー識別子、開発者のルールで定義され、アプリケーション内で一意でなければなりません。サービス API は WebApp によって作成された会話を共有しません。
### 応答
アップロードが成功すると、サーバーはファイルの ID と関連情報を返します。
@@ -796,5 +797,4 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
-___
diff --git a/web/app/components/develop/template/template_workflow.zh.mdx b/web/app/components/develop/template/template_workflow.zh.mdx
index f8b05fea19..d599cb503f 100644
--- a/web/app/components/develop/template/template_workflow.zh.mdx
+++ b/web/app/components/develop/template/template_workflow.zh.mdx
@@ -59,7 +59,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
由于 Cloudflare 限制,请求会在 100 秒超时无返回后中断。
- `user` (string) Required
用户标识,用于定义终端用户的身份,方便检索、统计。
- 由开发者定义规则,需保证用户标识在应用内唯一。
+ 由开发者定义规则,需保证用户标识在应用内唯一。API 无法访问 WebApp 创建的会话。
### Response
@@ -394,7 +394,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
- `task_id` (string) 任务 ID,可在流式返回 Chunk 中获取
### Request Body
- `user` (string) Required
- 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。
+ 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。API 无法访问 WebApp 创建的会话。
### Response
- `result` (string) 固定返回 "success"
@@ -443,7 +443,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
要上传的文件。
- 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。
+ 用户标识,用于定义终端用户的身份,必须和发送消息接口传入 user 保持一致。服务 API 不会共享 WebApp 创建的对话。