Browse Source

fix: typos (#16385)

tags/1.1.2
NanoNova 7 months ago
parent
commit
a30945312a
No account linked to committer's email address

+ 1
- 1
.github/DISCUSSION_TEMPLATE/general.yml View File

required: true required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:"
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true required: true
- label: "Please do not modify this template :) and fill in all the required fields." - label: "Please do not modify this template :) and fill in all the required fields."
required: true required: true

+ 1
- 1
.github/DISCUSSION_TEMPLATE/help.yml View File

required: true required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:"
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true required: true
- label: "Please do not modify this template :) and fill in all the required fields." - label: "Please do not modify this template :) and fill in all the required fields."
required: true required: true

+ 1
- 1
.github/DISCUSSION_TEMPLATE/suggestion.yml View File

required: true required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:"
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true required: true
- label: "Please do not modify this template :) and fill in all the required fields." - label: "Please do not modify this template :) and fill in all the required fields."
required: true required: true

+ 1
- 1
.github/ISSUE_TEMPLATE/bug_report.yml View File

required: true required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:"
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true required: true
- label: "Please do not modify this template :) and fill in all the required fields." - label: "Please do not modify this template :) and fill in all the required fields."
required: true required: true

+ 1
- 1
.github/ISSUE_TEMPLATE/document_issue.yml View File

required: true required: true
- label: I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - label: I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:"
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true required: true
- label: "Please do not modify this template :) and fill in all the required fields." - label: "Please do not modify this template :) and fill in all the required fields."
required: true required: true

+ 1
- 1
.github/ISSUE_TEMPLATE/feature_request.yml View File

required: true required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:"
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true required: true
- label: "Please do not modify this template :) and fill in all the required fields." - label: "Please do not modify this template :) and fill in all the required fields."
required: true required: true

+ 1
- 1
.github/ISSUE_TEMPLATE/tracker.yml View File

name: "👾 Tracker" name: "👾 Tracker"
description: For inner usages, please donot use this template.
description: For inner usages, please do not use this template.
title: "[Tracker] " title: "[Tracker] "
labels: labels:
- tracker - tracker

+ 2
- 2
.github/ISSUE_TEMPLATE/translation_issue.yml View File

name: "🌐 Localization/Translation issue" name: "🌐 Localization/Translation issue"
description: Report incorrect translations. [please use English :]
description: Report incorrect translations. [please use English :)]
labels: labels:
- translation - translation
body: body:
required: true required: true
- label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - label: I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)).
required: true required: true
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:"
- label: "[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)"
required: true required: true
- label: "Please do not modify this template :) and fill in all the required fields." - label: "Please do not modify this template :) and fill in all the required fields."
required: true required: true

+ 1
- 1
api/core/model_runtime/README_CN.md View File

- 支持 5 种模型类型的能力调用 - 支持 5 种模型类型的能力调用


- `LLM` - LLM 文本补全、对话,预计算 tokens 能力 - `LLM` - LLM 文本补全、对话,预计算 tokens 能力
- `Text Embedidng Model` - 文本 Embedding ,预计算 tokens 能力
- `Text Embedding Model` - 文本 Embedding ,预计算 tokens 能力
- `Rerank Model` - 分段 Rerank 能力 - `Rerank Model` - 分段 Rerank 能力
- `Speech-to-text Model` - 语音转文本能力 - `Speech-to-text Model` - 语音转文本能力
- `Text-to-speech Model` - 文本转语音能力 - `Text-to-speech Model` - 文本转语音能力

+ 2
- 2
docker/.env.example View File

# which is convenient for debugging. # which is convenient for debugging.
FLASK_DEBUG=false FLASK_DEBUG=false


# A secretkey that is used for securely signing the session cookie
# A secret key that is used for securely signing the session cookie
# and encrypting sensitive information on the database. # and encrypting sensitive information on the database.
# You can generate a strong key using `openssl rand -base64 42`. # You can generate a strong key using `openssl rand -base64 42`.
SECRET_KEY=sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U SECRET_KEY=sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U
# Password for admin user initialization. # Password for admin user initialization.
# If left unset, admin user will not be prompted for a password # If left unset, admin user will not be prompted for a password
# when creating the initial admin account. # when creating the initial admin account.
# The length of the password cannot exceed 30 charactors.
# The length of the password cannot exceed 30 characters.
INIT_PASSWORD= INIT_PASSWORD=


# Deployment environment. # Deployment environment.

+ 2
- 2
docker/README.md View File

- Execute `docker compose up` from the `docker` directory to start the services. - Execute `docker compose up` from the `docker` directory to start the services.
- To specify a vector database, set the `VECTOR_STORE` variable in your `.env` file to your desired vector database service, such as `milvus`, `weaviate`, or `opensearch`. - To specify a vector database, set the `VECTOR_STORE` variable in your `.env` file to your desired vector database service, such as `milvus`, `weaviate`, or `opensearch`.
4. **SSL Certificate Setup**: 4. **SSL Certificate Setup**:
- Rrefer `docker/certbot/README.md` to set up SSL certificates using Certbot.
- Refer `docker/certbot/README.md` to set up SSL certificates using Certbot.


### How to Deploy Middleware for Developing Dify ### How to Deploy Middleware for Developing Dify




- **Vector Database Services**: Depending on the type of vector database used (`VECTOR_STORE`), users can set specific endpoints, ports, and authentication details. - **Vector Database Services**: Depending on the type of vector database used (`VECTOR_STORE`), users can set specific endpoints, ports, and authentication details.
- **Storage Services**: Depending on the storage type (`STORAGE_TYPE`), users can configure specific settings for S3, Azure Blob, Google Storage, etc. - **Storage Services**: Depending on the storage type (`STORAGE_TYPE`), users can configure specific settings for S3, Azure Blob, Google Storage, etc.
- **API and Web Services**: Users can define URLs and other settings that affect how the API and web frontends operate.
- **API and Web Services**: Users can define URLs and other settings that affect how the API and web frontend operate.


#### Other notable variables #### Other notable variables



+ 1
- 1
web/i18n/en-US/app-debug.ts View File

}, },
retrieveMultiWay: { retrieveMultiWay: {
title: 'Multi-path retrieval', title: 'Multi-path retrieval',
description: 'Based on user intent, queries across all Knowledge, retrieves relevant text from multi-sources, and selects the best results matching the user query after reranking. ',
description: 'Based on user intent, queries across all Knowledge, retrieves relevant text from multi-sources, and selects the best results matching the user query after reranking.',
}, },
rerankModelRequired: 'A configured Rerank Model is required', rerankModelRequired: 'A configured Rerank Model is required',
params: 'Params', params: 'Params',

+ 1
- 1
web/i18n/en-US/login.ts View File

setAdminAccountDesc: 'Maximum privileges for admin account, which can be used to create applications and manage LLM providers, etc.', setAdminAccountDesc: 'Maximum privileges for admin account, which can be used to create applications and manage LLM providers, etc.',
createAndSignIn: 'Create and sign in', createAndSignIn: 'Create and sign in',
oneMoreStep: 'One more step', oneMoreStep: 'One more step',
createSample: 'Based on this information, well create sample application for you',
createSample: 'Based on this information, we\'ll create sample application for you',
invitationCode: 'Invitation Code', invitationCode: 'Invitation Code',
invitationCodePlaceholder: 'Your invitation code', invitationCodePlaceholder: 'Your invitation code',
interfaceLanguage: 'Interface Language', interfaceLanguage: 'Interface Language',

+ 1
- 1
web/i18n/zh-Hans/app-overview.ts View File

step2Tip: '点击此处将仓库导入到 Vercel 中部署', step2Tip: '点击此处将仓库导入到 Vercel 中部署',
step2Operation: '导入仓库', step2Operation: '导入仓库',
step3: '配置环境变量', step3: '配置环境变量',
step3Tip: '在 Vecel 环境变量中添加以下环境变量',
step3Tip: '在 Vercel 环境变量中添加以下环境变量',
}, },
way2: { way2: {
name: '编写客户端调用 API 并部署到服务器中', name: '编写客户端调用 API 并部署到服务器中',

+ 1
- 1
web/i18n/zh-Hant/app-overview.ts View File

step2Tip: '點選此處將倉庫匯入到 Vercel 中部署', step2Tip: '點選此處將倉庫匯入到 Vercel 中部署',
step2Operation: '匯入倉庫', step2Operation: '匯入倉庫',
step3: '配置環境變數', step3: '配置環境變數',
step3Tip: '在 Vecel 環境變數中新增以下環境變數',
step3Tip: '在 Vercel 環境變數中新增以下環境變數',
}, },
way2: { way2: {
name: '編寫客戶端呼叫 API 並部署到伺服器中', name: '編寫客戶端呼叫 API 並部署到伺服器中',

Loading…
Cancel
Save