瀏覽代碼

doc: correct typos in mdx files (#7029)

tags/0.7.0
crazywoola 1 年之前
父節點
當前提交
11f9d2f124
沒有連結到貢獻者的電子郵件帳戶。

+ 2
- 2
web/app/components/develop/template/template_advanced_chat.en.mdx 查看文件

- `event` (string) fixed to `workflow_started` - `event` (string) fixed to `workflow_started`
- `data` (object) detail - `data` (object) detail
- `id` (string) Unique ID of workflow execution - `id` (string) Unique ID of workflow execution
- `workflow_id` (string) ID of relatied workflow
- `workflow_id` (string) ID of related workflow
- `sequence_number` (int) Self-increasing serial number, self-increasing in the App, starting from 1 - `sequence_number` (int) Self-increasing serial number, self-increasing in the App, starting from 1
- `created_at` (timestamp) Creation timestamp, e.g., 1705395332 - `created_at` (timestamp) Creation timestamp, e.g., 1705395332
- `event: node_started` node execution started - `event: node_started` node execution started
- `event` (string) fixed to `workflow_finished` - `event` (string) fixed to `workflow_finished`
- `data` (object) detail - `data` (object) detail
- `id` (string) ID of workflow execution - `id` (string) ID of workflow execution
- `workflow_id` (string) ID of relatied workflow
- `workflow_id` (string) ID of related workflow
- `status` (string) status of execution, `running` / `succeeded` / `failed` / `stopped` - `status` (string) status of execution, `running` / `succeeded` / `failed` / `stopped`
- `outputs` (json) Optional content of output - `outputs` (json) Optional content of output
- `error` (string) Optional reason of error - `error` (string) Optional reason of error

+ 4
- 4
web/app/components/develop/template/template_workflow.en.mdx 查看文件

- `task_id` (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
- `data` (object) detail of result - `data` (object) detail of result
- `id` (string) ID of workflow execution - `id` (string) ID of workflow execution
- `workflow_id` (string) ID of relatied workflow
- `workflow_id` (string) ID of related workflow
- `status` (string) status of execution, `running` / `succeeded` / `failed` / `stopped` - `status` (string) status of execution, `running` / `succeeded` / `failed` / `stopped`
- `outputs` (json) Optional content of output - `outputs` (json) Optional content of output
- `error` (string) Optional reason of error - `error` (string) Optional reason of error
- `event` (string) fixed to `workflow_started` - `event` (string) fixed to `workflow_started`
- `data` (object) detail - `data` (object) detail
- `id` (string) Unique ID of workflow execution - `id` (string) Unique ID of workflow execution
- `workflow_id` (string) ID of relatied workflow
- `workflow_id` (string) ID of related workflow
- `sequence_number` (int) Self-increasing serial number, self-increasing in the App, starting from 1 - `sequence_number` (int) Self-increasing serial number, self-increasing in the App, starting from 1
- `created_at` (timestamp) Creation timestamp, e.g., 1705395332 - `created_at` (timestamp) Creation timestamp, e.g., 1705395332
- `event: node_started` node execution started - `event: node_started` node execution started
- `event` (string) fixed to `workflow_finished` - `event` (string) fixed to `workflow_finished`
- `data` (object) detail - `data` (object) detail
- `id` (string) ID of workflow execution - `id` (string) ID of workflow execution
- `workflow_id` (string) ID of relatied workflow
- `workflow_id` (string) ID of related workflow
- `status` (string) status of execution, `running` / `succeeded` / `failed` / `stopped` - `status` (string) status of execution, `running` / `succeeded` / `failed` / `stopped`
- `outputs` (json) Optional content of output - `outputs` (json) Optional content of output
- `error` (string) Optional reason of error - `error` (string) Optional reason of error
- `workflow_id` (string) Workflow ID, can be obtained from the streaming chunk return - `workflow_id` (string) Workflow ID, can be obtained from the streaming chunk return
### Response ### Response
- `id` (string) ID of workflow execution - `id` (string) ID of workflow execution
- `workflow_id` (string) ID of relatied workflow
- `workflow_id` (string) ID of related workflow
- `status` (string) status of execution, `running` / `succeeded` / `failed` / `stopped` - `status` (string) status of execution, `running` / `succeeded` / `failed` / `stopped`
- `inputs` (json) content of input - `inputs` (json) content of input
- `outputs` (json) content of output - `outputs` (json) content of output

Loading…
取消
儲存