Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: complete file_upload schema in OpenAPI templates (#22700) (#22719)
lyzno1659d51a2da36
diff --git a/web/app/components/base/features/types.ts b/web/app/components/base/features/types.tsindex 83f876383d8..56bd7829adb 100644--- a/web/app/components/base/features/types.ts+++ b/web/app/components/base/features/types.ts@@ -35,6 +35,22 @@ export type FileUpload = {number_limits?: numbertransfer_methods?: TransferMethod[]}+ document?: EnabledOrDisabled & {+ number_limits?: number+ transfer_methods?: TransferMethod[]+ }+ audio?: EnabledOrDisabled & {+ number_limits?: number+ transfer_methods?: TransferMethod[]+ }+ video?: EnabledOrDisabled & {+ number_limits?: number+ transfer_methods?: TransferMethod[]+ }+ custom?: EnabledOrDisabled & {+ number_limits?: number+ transfer_methods?: TransferMethod[]+ }allowed_file_types?: string[]allowed_file_extensions?: string[]allowed_file_upload_methods?: TransferMethod[]diff --git a/web/app/components/develop/template/template.en.mdx b/web/app/components/develop/template/template.en.mdxindex f178645a8ea..3fdb7826280 100755--- a/web/app/components/develop/template/template.en.mdx+++ b/web/app/components/develop/template/template.en.mdx@@ -580,11 +580,30 @@ The text generation application offers non-session support and is ideal for tran- `default` (string) Default value- `options` (array[string]) Option values- `file_upload` (object) File upload configuration- - `image` (object) Image settings- Currently only supports image types: `png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) Whether it is enabled- - `number_limits` (int) Image number limit, default is 3- - `transfer_methods` (array[string]) List of transfer methods, remote_url, local_file, must choose one+ - `document` (object) Document settings+ Currently only supports document types: `txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Document number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `image` (object) Image settings+ Currently only supports image types: `png`, `jpg`, `jpeg`, `webp`, `gif`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Image number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `audio` (object) Audio settings+ Currently only supports audio types: `mp3`, `m4a`, `wav`, `webm`, `amr`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Audio number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `video` (object) Video settings+ Currently only supports video types: `mp4`, `mov`, `mpeg`, `mpga`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Video number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `custom` (object) Custom settings+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Custom number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.- `system_parameters` (object) System parameters- `file_size_limit` (int) Document upload size limit (MB)- `image_file_size_limit` (int) Image file upload size limit (MB)diff --git a/web/app/components/develop/template/template.ja.mdx b/web/app/components/develop/template/template.ja.mdxindex 4dbefca8f8b..238a921fb57 100755--- a/web/app/components/develop/template/template.ja.mdx+++ b/web/app/components/develop/template/template.ja.mdx@@ -578,11 +578,30 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from- `default` (string) デフォルト値- `options` (array[string]) オプション値- `file_upload` (object) ファイルアップロード設定- - `image` (object) 画像設定- 現在は画像タイプのみ対応:`png`、`jpg`、`jpeg`、`webp`、`gif`- - `enabled` (bool) 有効かどうか- - `number_limits` (int) 画像数制限、デフォルトは3- - `transfer_methods` (array[string]) 転送方法リスト、remote_url、local_file、いずれかを選択+ - `document` (object) ドキュメント設定+ 現在サポートされているドキュメントタイプ:`txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) ドキュメント数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `image` (object) 画像設定+ 現在サポートされている画像タイプ:`png`, `jpg`, `jpeg`, `webp`, `gif`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) 画像数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `audio` (object) オーディオ設定+ 現在サポートされているオーディオタイプ:`mp3`, `m4a`, `wav`, `webm`, `amr`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) オーディオ数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `video` (object) ビデオ設定+ 現在サポートされているビデオタイプ:`mp4`, `mov`, `mpeg`, `mpga`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) ビデオ数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `custom` (object) カスタム設定+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) カスタム数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。- `system_parameters` (object) システムパラメータ- `file_size_limit` (int) ドキュメントアップロードサイズ制限(MB)- `image_file_size_limit` (int) 画像ファイルアップロードサイズ制限(MB)diff --git a/web/app/components/develop/template/template.zh.mdx b/web/app/components/develop/template/template.zh.mdxindex 4af5a280506..a5eea3d1932 100755--- a/web/app/components/develop/template/template.zh.mdx+++ b/web/app/components/develop/template/template.zh.mdx@@ -552,11 +552,30 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'- `default` (string) 默认值- `options` (array[string]) 选项值- `file_upload` (object) 文件上传配置- - `image` (object) 图片设置- 当前仅支持图片类型:`png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) 是否开启- - `number_limits` (int) 图片数量限制,默认 3- - `transfer_methods` (array[string]) 传递方式列表,remote_url , local_file,必选一个+ - `document` (object) 文档设置+ 当前仅支持文档类型:`txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 文档数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `image` (object) 图片设置+ 当前仅支持图片类型:`png`, `jpg`, `jpeg`, `webp`, `gif`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 图片数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `audio` (object) 音频设置+ 当前仅支持音频类型:`mp3`, `m4a`, `wav`, `webm`, `amr`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 音频数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `video` (object) 视频设置+ 当前仅支持视频类型:`mp4`, `mov`, `mpeg`, `mpga`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 视频数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `custom` (object) 自定义设置+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 自定义数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。- `system_parameters` (object) 系统参数- `file_size_limit` (int) 文档上传大小限制 (MB)- `image_file_size_limit` (int) 图片文件上传大小限制(MB)diff --git a/web/app/components/develop/template/template_advanced_chat.en.mdx b/web/app/components/develop/template/template_advanced_chat.en.mdxindex faecd3d1cd4..adba404a64c 100644--- a/web/app/components/develop/template/template_advanced_chat.en.mdx+++ b/web/app/components/develop/template/template_advanced_chat.en.mdx@@ -1197,11 +1197,30 @@ Chat applications support session persistence, allowing previous chat history to- `default` (string) Default value- `options` (array[string]) Option values- `file_upload` (object) File upload configuration- - `image` (object) Image settings- Currently only supports image types: `png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) Whether it is enabled- - `number_limits` (int) Image number limit, default is 3- - `transfer_methods` (array[string]) List of transfer methods, remote_url, local_file, must choose one+ - `document` (object) Document settings+ Currently only supports document types: `txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Document number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `image` (object) Image settings+ Currently only supports image types: `png`, `jpg`, `jpeg`, `webp`, `gif`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Image number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `audio` (object) Audio settings+ Currently only supports audio types: `mp3`, `m4a`, `wav`, `webm`, `amr`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Audio number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `video` (object) Video settings+ Currently only supports video types: `mp4`, `mov`, `mpeg`, `mpga`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Video number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `custom` (object) Custom settings+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Custom number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.- `system_parameters` (object) System parameters- `file_size_limit` (int) Document upload size limit (MB)- `image_file_size_limit` (int) Image file upload size limit (MB)diff --git a/web/app/components/develop/template/template_advanced_chat.ja.mdx b/web/app/components/develop/template/template_advanced_chat.ja.mdxindex 5ce54a61d2b..2e57d5e20c4 100644--- a/web/app/components/develop/template/template_advanced_chat.ja.mdx+++ b/web/app/components/develop/template/template_advanced_chat.ja.mdx@@ -1197,11 +1197,30 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from- `default` (string) デフォルト値- `options` (array[string]) オプション値- `file_upload` (object) ファイルアップロード設定- - `image` (object) 画像設定- 現在サポートされている画像タイプ:`png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) 有効かどうか- - `number_limits` (int) 画像数の制限、デフォルトは3- - `transfer_methods` (array[string]) 転送方法のリスト、remote_url, local_file、いずれかを選択する必要があります+ - `document` (object) ドキュメント設定+ 現在サポートされているドキュメントタイプ:`txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) ドキュメント数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `image` (object) 画像設定+ 現在サポートされている画像タイプ:`png`, `jpg`, `jpeg`, `webp`, `gif`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) 画像数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `audio` (object) オーディオ設定+ 現在サポートされているオーディオタイプ:`mp3`, `m4a`, `wav`, `webm`, `amr`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) オーディオ数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `video` (object) ビデオ設定+ 現在サポートされているビデオタイプ:`mp4`, `mov`, `mpeg`, `mpga`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) ビデオ数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `custom` (object) カスタム設定+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) カスタム数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。- `system_parameters` (object) システムパラメータ- `file_size_limit` (int) ドキュメントアップロードサイズ制限(MB)- `image_file_size_limit` (int) 画像ファイルアップロードサイズ制限(MB)diff --git a/web/app/components/develop/template/template_advanced_chat.zh.mdx b/web/app/components/develop/template/template_advanced_chat.zh.mdxindex 7a69ee60aac..8955396ad95 100755--- a/web/app/components/develop/template/template_advanced_chat.zh.mdx+++ b/web/app/components/develop/template/template_advanced_chat.zh.mdx@@ -1229,11 +1229,30 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'- `default` (string) 默认值- `options` (array[string]) 选项值- `file_upload` (object) 文件上传配置- - `image` (object) 图片设置- 当前仅支持图片类型:`png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) 是否开启- - `number_limits` (int) 图片数量限制,默认 3- - `transfer_methods` (array[string]) 传递方式列表,remote_url , local_file,必选一个+ - `document` (object) 文档设置+ 当前仅支持文档类型:`txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 文档数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `image` (object) 图片设置+ 当前仅支持图片类型:`png`, `jpg`, `jpeg`, `webp`, `gif`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 图片数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `audio` (object) 音频设置+ 当前仅支持音频类型:`mp3`, `m4a`, `wav`, `webm`, `amr`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 音频数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `video` (object) 视频设置+ 当前仅支持视频类型:`mp4`, `mov`, `mpeg`, `mpga`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 视频数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `custom` (object) 自定义设置+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 自定义数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。- `system_parameters` (object) 系统参数- `file_size_limit` (int) Document upload size limit (MB)- `image_file_size_limit` (int) Image file upload size limit (MB)diff --git a/web/app/components/develop/template/template_chat.en.mdx b/web/app/components/develop/template/template_chat.en.mdxindex c95471160e0..73d1fa1b41a 100644--- a/web/app/components/develop/template/template_chat.en.mdx+++ b/web/app/components/develop/template/template_chat.en.mdx@@ -1234,11 +1234,30 @@ Chat applications support session persistence, allowing previous chat history to- `default` (string) Default value- `options` (array[string]) Option values- `file_upload` (object) File upload configuration- - `image` (object) Image settings- Currently only supports image types: `png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) Whether it is enabled- - `number_limits` (int) Image number limit, default is 3- - `transfer_methods` (array[string]) List of transfer methods, remote_url, local_file, must choose one+ - `document` (object) Document settings+ Currently only supports document types: `txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Document number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `image` (object) Image settings+ Currently only supports image types: `png`, `jpg`, `jpeg`, `webp`, `gif`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Image number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `audio` (object) Audio settings+ Currently only supports audio types: `mp3`, `m4a`, `wav`, `webm`, `amr`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Audio number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `video` (object) Video settings+ Currently only supports video types: `mp4`, `mov`, `mpeg`, `mpga`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Video number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `custom` (object) Custom settings+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Custom number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.- `system_parameters` (object) System parameters- `file_size_limit` (int) Document upload size limit (MB)- `image_file_size_limit` (int) Image file upload size limit (MB)diff --git a/web/app/components/develop/template/template_chat.ja.mdx b/web/app/components/develop/template/template_chat.ja.mdxindex 8368326e407..45c970a9f2a 100644--- a/web/app/components/develop/template/template_chat.ja.mdx+++ b/web/app/components/develop/template/template_chat.ja.mdx@@ -1224,12 +1224,31 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from- `required` (bool) 必須かどうか- `default` (string) デフォルト値- `options` (array[string]) オプション値- - `file_upload` (object) ファイルアップロード構成- - `image` (object) 画像設定- 現在サポートされている画像タイプ:`png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) 有効かどうか- - `number_limits` (int) 画像数の制限、デフォルトは3- - `transfer_methods` (array[string]) 転送方法のリスト、remote_url, local_file、いずれかを選択する必要があります+ - `file_upload` (object) ファイルアップロード設定+ - `document` (object) ドキュメント設定+ 現在サポートされているドキュメントタイプ:`txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) ドキュメント数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `image` (object) 画像設定+ 現在サポートされている画像タイプ:`png`, `jpg`, `jpeg`, `webp`, `gif`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) 画像数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `audio` (object) オーディオ設定+ 現在サポートされているオーディオタイプ:`mp3`, `m4a`, `wav`, `webm`, `amr`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) オーディオ数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `video` (object) ビデオ設定+ 現在サポートされているビデオタイプ:`mp4`, `mov`, `mpeg`, `mpga`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) ビデオ数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `custom` (object) カスタム設定+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) カスタム数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。- `system_parameters` (object) システムパラメータ- `file_size_limit` (int) ドキュメントアップロードサイズ制限(MB)- `image_file_size_limit` (int) 画像ファイルアップロードサイズ制限(MB)diff --git a/web/app/components/develop/template/template_chat.zh.mdx b/web/app/components/develop/template/template_chat.zh.mdxindex 325470ac62d..8573408c367 100644--- a/web/app/components/develop/template/template_chat.zh.mdx+++ b/web/app/components/develop/template/template_chat.zh.mdx@@ -1237,11 +1237,30 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'- `default` (string) 默认值- `options` (array[string]) 选项值- `file_upload` (object) 文件上传配置- - `image` (object) 图片设置- 当前仅支持图片类型:`png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) 是否开启- - `number_limits` (int) 图片数量限制,默认 3- - `transfer_methods` (array[string]) 传递方式列表,remote_url , local_file,必选一个+ - `document` (object) 文档设置+ 当前仅支持文档类型:`txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 文档数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `image` (object) 图片设置+ 当前仅支持图片类型:`png`, `jpg`, `jpeg`, `webp`, `gif`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 图片数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `audio` (object) 音频设置+ 当前仅支持音频类型:`mp3`, `m4a`, `wav`, `webm`, `amr`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 音频数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `video` (object) 视频设置+ 当前仅支持视频类型:`mp4`, `mov`, `mpeg`, `mpga`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 视频数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `custom` (object) 自定义设置+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 自定义数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。- `system_parameters` (object) 系统参数- `file_size_limit` (int) 文档上传大小限制 (MB)- `image_file_size_limit` (int) 图片文件上传大小限制(MB)diff --git a/web/app/components/develop/template/template_workflow.en.mdx b/web/app/components/develop/template/template_workflow.en.mdxindex 77409c12845..23ff2bbb557 100644--- a/web/app/components/develop/template/template_workflow.en.mdx+++ b/web/app/components/develop/template/template_workflow.en.mdx@@ -690,11 +690,30 @@ Workflow applications offers non-session support and is ideal for translation, a- `default` (string) Default value- `options` (array[string]) Option values- `file_upload` (object) File upload configuration- - `image` (object) Image settings- Currently only supports image types: `png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) Whether it is enabled- - `number_limits` (int) Image number limit, default is 3- - `transfer_methods` (array[string]) List of transfer methods, remote_url, local_file, must choose one+ - `document` (object) Document settings+ Currently only supports document types: `txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Document number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `image` (object) Image settings+ Currently only supports image types: `png`, `jpg`, `jpeg`, `webp`, `gif`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Image number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `audio` (object) Audio settings+ Currently only supports audio types: `mp3`, `m4a`, `wav`, `webm`, `amr`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Audio number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `video` (object) Video settings+ Currently only supports video types: `mp4`, `mov`, `mpeg`, `mpga`.+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Video number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.+ - `custom` (object) Custom settings+ - `enabled` (bool) Whether it is enabled+ - `number_limits` (int) Custom number limit, default is 3+ - `transfer_methods` (array[string]) List of transfer methods: `remote_url`, `local_file`. Must choose one.- `system_parameters` (object) System parameters- `file_size_limit` (int) Document upload size limit (MB)- `image_file_size_limit` (int) Image file upload size limit (MB)diff --git a/web/app/components/develop/template/template_workflow.ja.mdx b/web/app/components/develop/template/template_workflow.ja.mdxindex a83e21aef7f..287eb87f458 100644--- a/web/app/components/develop/template/template_workflow.ja.mdx+++ b/web/app/components/develop/template/template_workflow.ja.mdx@@ -691,11 +691,30 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from- `default` (string) デフォルト値- `options` (array[string]) オプション値- `file_upload` (object) ファイルアップロード設定- - `image` (object) 画像設定- 現在サポートされている画像タイプのみ:`png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) 有効かどうか- - `number_limits` (int) 画像数の制限、デフォルトは3- - `transfer_methods` (array[string]) 転送方法のリスト、remote_url, local_file、いずれかを選択する必要があります+ - `document` (object) ドキュメント設定+ 現在サポートされているドキュメントタイプ:`txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) ドキュメント数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `image` (object) 画像設定+ 現在サポートされている画像タイプ:`png`, `jpg`, `jpeg`, `webp`, `gif`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) 画像数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `audio` (object) オーディオ設定+ 現在サポートされているオーディオタイプ:`mp3`, `m4a`, `wav`, `webm`, `amr`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) オーディオ数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `video` (object) ビデオ設定+ 現在サポートされているビデオタイプ:`mp4`, `mov`, `mpeg`, `mpga`。+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) ビデオ数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。+ - `custom` (object) カスタム設定+ - `enabled` (bool) 有効かどうか+ - `number_limits` (int) カスタム数の上限。デフォルトは 3+ - `transfer_methods` (array[string]) 転送方法リスト:`remote_url`, `local_file`。いずれかを選択する必要があります。- `system_parameters` (object) システムパラメータ- `file_size_limit` (int) ドキュメントアップロードサイズ制限(MB)- `image_file_size_limit` (int) 画像ファイルアップロードサイズ制限(MB)diff --git a/web/app/components/develop/template/template_workflow.zh.mdx b/web/app/components/develop/template/template_workflow.zh.mdxindex 42922610dab..105eca07000 100644--- a/web/app/components/develop/template/template_workflow.zh.mdx+++ b/web/app/components/develop/template/template_workflow.zh.mdx@@ -678,11 +678,30 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等- `default` (string) 默认值- `options` (array[string]) 选项值- `file_upload` (object) 文件上传配置- - `image` (object) 图片设置- 当前仅支持图片类型:`png`, `jpg`, `jpeg`, `webp`, `gif`- - `enabled` (bool) 是否开启- - `number_limits` (int) 图片数量限制,默认 3- - `transfer_methods` (array[string]) 传递方式列表,remote_url , local_file,必选一个+ - `document` (object) 文档设置+ 当前仅支持文档类型:`txt`, `md`, `markdown`, `pdf`, `html`, `xlsx`, `xls`, `docx`, `csv`, `eml`, `msg`, `pptx`, `ppt`, `xml`, `epub`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 文档数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `image` (object) 图片设置+ 当前仅支持图片类型:`png`, `jpg`, `jpeg`, `webp`, `gif`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 图片数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `audio` (object) 音频设置+ 当前仅支持音频类型:`mp3`, `m4a`, `wav`, `webm`, `amr`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 音频数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `video` (object) 视频设置+ 当前仅支持视频类型:`mp4`, `mov`, `mpeg`, `mpga`。+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 视频数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。+ - `custom` (object) 自定义设置+ - `enabled` (bool) 是否启用+ - `number_limits` (int) 自定义数量限制,默认为 3+ - `transfer_methods` (array[string]) 传输方式列表:`remote_url`, `local_file`,必须选择一个。- `system_parameters` (object) 系统参数- `file_size_limit` (int) 文档上传大小限制 (MB)- `image_file_size_limit` (int) 图片文件上传大小限制(MB)