Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Add Explanation for entering the API key when adding an LLM (#2055)

黄腾35e880c43289
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index e368f6d81c..84566d4885 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -466,7 +466,8 @@ The above is the content you need to summarize.`,
modelsToBeAdded: 'Models to be added',
addTheModel: 'Add the model',
apiKey: 'API-Key',
- apiKeyMessage: 'Please input api key!',
+ apiKeyMessage:
+ 'Please enter the API key (for locally deployed model,ignore this).',
apiKeyTip:
'The API key can be obtained by registering the corresponding LLM supplier.',
showMoreModels: 'Show more models',
diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.ts
index 86afb866b4..7ba9fbf153 100644
--- a/web/src/locales/zh-traditional.ts
+++ b/web/src/locales/zh-traditional.ts
@@ -433,7 +433,7 @@ export default {
modelsToBeAdded: '待添加的模型',
addTheModel: '添加模型',
apiKey: 'api-key',
- apiKeyMessage: '請輸入 api key!',
+ apiKeyMessage: '請輸入api key(如果是本地部署的模型,請忽略它)',
apiKeyTip: 'API key可以通過註冊相應的LLM供應商來獲取。',
showMoreModels: '展示更多模型',
baseUrl: 'base-url',
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index 68c91cbbf3..9f04fbddac 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -450,7 +450,7 @@ export default {
modelsToBeAdded: '待添加的模型',
addTheModel: '添加模型',
apiKey: 'API-Key',
- apiKeyMessage: '请输入 api key!',
+ apiKeyMessage: '请输入api key(如果是本地部署的模型,请忽略它)',
apiKeyTip: 'API key可以通过注册相应的LLM供应商来获取。',
showMoreModels: '展示更多模型',
baseUrl: 'Base-Url',