Skip to content

armgit / dify

Public Imported from GitHub
0

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.

fix:modify spelling errors: lanuage ->language in schema.md (#4499)

fanghongtai1cca100a4843
diff --git a/api/core/model_runtime/docs/en_US/schema.md b/api/core/model_runtime/docs/en_US/schema.md
index 68f66330cd5..2e55d05b0fd 100644
--- a/api/core/model_runtime/docs/en_US/schema.md
+++ b/api/core/model_runtime/docs/en_US/schema.md
@@ -51,7 +51,7 @@
- `voices` (list) List of available voice.(available for model type `tts`)
- `mode` (string) voice model.(available for model type `tts`)
- `name` (string) voice model display name.(available for model type `tts`)
- - `lanuage` (string) the voice model supports languages.(available for model type `tts`)
+ - `language` (string) the voice model supports languages.(available for model type `tts`)
- `word_limit` (int) Single conversion word limit, paragraphwise by default(available for model type `tts`)
- `audio_type` (string) Support audio file extension format, e.g.:mp3,wav(available for model type `tts`)
- `max_workers` (int) Number of concurrent workers supporting text and audio conversion(available for model type`tts`)
diff --git a/api/core/model_runtime/docs/zh_Hans/schema.md b/api/core/model_runtime/docs/zh_Hans/schema.md
index fd672993bb9..f40a3f8698e 100644
--- a/api/core/model_runtime/docs/zh_Hans/schema.md
+++ b/api/core/model_runtime/docs/zh_Hans/schema.md
@@ -52,7 +52,7 @@
- `voices` (list) 可选音色列表。
- `mode` (string) 音色模型。(模型类型 `tts` 可用)
- `name` (string) 音色模型显示名称。(模型类型 `tts` 可用)
- - `lanuage` (string) 音色模型支持语言。(模型类型 `tts` 可用)
+ - `language` (string) 音色模型支持语言。(模型类型 `tts` 可用)
- `word_limit` (int) 单次转换字数限制,默认按段落分段(模型类型 `tts` 可用)
- `audio_type` (string) 支持音频文件扩展格式,如:mp3,wav(模型类型 `tts` 可用)
- `max_workers` (int) 支持文字音频转换并发任务数(模型类型 `tts` 可用)