mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 18:25:55 +08:00
docs: correct type desc (#17043)
Co-authored-by: bo.zhao <bo.zhao@iglooinsure.com>
This commit is contained in:
parent
bad31dfff1
commit
fb11264f42
@ -124,7 +124,7 @@ Chat applications support session persistence, allowing previous chat history to
|
||||
- `created_at` (int) Creation timestamp, e.g.: 1705395332
|
||||
- `event: agent_thought` thought of Agent, contains the thought of LLM, input and output of tool calls (Only supported in Agent mode)
|
||||
- `id` (string) Agent thought ID, every iteration has a unique agent thought ID
|
||||
- `task_id` (string) (string) Task ID, used for request tracking and the below Stop Generate API
|
||||
- `task_id` (string) Task ID, used for request tracking and the below Stop Generate API
|
||||
- `message_id` (string) Unique message ID
|
||||
- `position` (int) Position of current agent thought, each message may have multiple thoughts in order.
|
||||
- `thought` (string) What LLM is thinking about
|
||||
|
@ -124,7 +124,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||
- `created_at` (int) 作成タイムスタンプ、例:1705395332
|
||||
- `event: agent_thought` エージェントの思考、LLMの思考、ツール呼び出しの入力と出力を含みます(エージェントモードでのみサポート)
|
||||
- `id` (string) エージェント思考ID、各反復には一意のエージェント思考IDがあります
|
||||
- `task_id` (string) (string) タスクID、リクエスト追跡と以下のStop Generate APIに使用
|
||||
- `task_id` (string) タスクID、リクエスト追跡と以下のStop Generate APIに使用
|
||||
- `message_id` (string) 一意のメッセージID
|
||||
- `position` (int) 現在のエージェント思考の位置、各メッセージには順番に複数の思考が含まれる場合があります。
|
||||
- `thought` (string) LLMが考えていること
|
||||
|
@ -51,7 +51,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
|
||||
- `custom` 具体类型包含:其他文件类型
|
||||
- `transfer_method` (string) 传递方式,`remote_url` 图片地址 / `local_file` 上传文件
|
||||
- `url` (string) 图片地址(仅当传递方式为 `remote_url` 时)
|
||||
- `upload_file_id` (string) (string) 上传文件 ID(仅当传递方式为 `local_file` 时)
|
||||
- `upload_file_id` (string) 上传文件 ID(仅当传递方式为 `local_file` 时)
|
||||
- `response_mode` (string) Required
|
||||
返回响应模式,支持:
|
||||
- `streaming` 流式模式(推荐)。基于 SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)实现类似打字机输出方式的流式返回。
|
||||
|
Loading…
x
Reference in New Issue
Block a user