From 11f9d2f12480c1efd0f483a97d8bd8dc78cce39c Mon Sep 17 00:00:00 2001 From: crazywoola <100913391+crazywoola@users.noreply.github.com> Date: Wed, 7 Aug 2024 09:03:45 +0800 Subject: [PATCH] doc: correct typos in mdx files (#7029) --- .../develop/template/template_advanced_chat.en.mdx | 4 ++-- .../components/develop/template/template_workflow.en.mdx | 8 ++++---- 2 files changed, 6 insertions(+), 6 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 8481b4db43e3c2..cec42a4e321cef 100644 --- a/web/app/components/develop/template/template_advanced_chat.en.mdx +++ b/web/app/components/develop/template/template_advanced_chat.en.mdx @@ -141,7 +141,7 @@ Chat applications support session persistence, allowing previous chat history to - `event` (string) fixed to `workflow_started` - `data` (object) detail - `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 - `created_at` (timestamp) Creation timestamp, e.g., 1705395332 - `event: node_started` node execution started @@ -185,7 +185,7 @@ Chat applications support session persistence, allowing previous chat history to - `event` (string) fixed to `workflow_finished` - `data` (object) detail - `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` - `outputs` (json) Optional content of output - `error` (string) Optional reason of error diff --git a/web/app/components/develop/template/template_workflow.en.mdx b/web/app/components/develop/template/template_workflow.en.mdx index 1c86aad508de66..495b051bd056d3 100644 --- a/web/app/components/develop/template/template_workflow.en.mdx +++ b/web/app/components/develop/template/template_workflow.en.mdx @@ -69,7 +69,7 @@ Workflow applications offers non-session support and is ideal for translation, a - `task_id` (string) Task ID, used for request tracking and the below Stop Generate API - `data` (object) detail of result - `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` - `outputs` (json) Optional content of output - `error` (string) Optional reason of error @@ -94,7 +94,7 @@ Workflow applications offers non-session support and is ideal for translation, a - `event` (string) fixed to `workflow_started` - `data` (object) detail - `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 - `created_at` (timestamp) Creation timestamp, e.g., 1705395332 - `event: node_started` node execution started @@ -138,7 +138,7 @@ Workflow applications offers non-session support and is ideal for translation, a - `event` (string) fixed to `workflow_finished` - `data` (object) detail - `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` - `outputs` (json) Optional content of output - `error` (string) Optional reason of error @@ -237,7 +237,7 @@ Workflow applications offers non-session support and is ideal for translation, a - `workflow_id` (string) Workflow ID, can be obtained from the streaming chunk return ### Response - `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` - `inputs` (json) content of input - `outputs` (json) content of output