Browse Source

Refactor display Text (#1999)

### What problem does this PR solve?

'Api Key' and 'API Document' isn't aligned.

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
tags/v0.10.0
Jin Hai 1 year ago
parent
commit
e91af1dff9
No account linked to committer's email address

+ 2
- 2
docs/references/api.md View File

@@ -30,13 +30,13 @@ To get your Chat API key or Agent API key:
For Chat API key:
1. In RAGFlow, click **Chat** tab in the middle top of the page.
2. Hover over the corresponding dialogue **>** **Chat Bot API** to show the chatbot API configuration page.
3. Click **Api Key** **>** **Create new key** to create your API key.
3. Click **API Key** **>** **Create new key** to create your API key.
4. Copy and keep your API key safe.

For Agent API key:
1. In RAGFlow, click **Agent** tab in the middle top of the page.
2. Click your agent **>** ** Chat Bot API** to show the chatbot API configuration page.
3. Click **Api Key** **>** **Create new key** to create your API key.
3. Click **API Key** **>** **Create new key** to create your API key.
4. Copy and keep your API key safe.

## Create conversation

+ 1
- 1
docs/references/ragflow_api.md View File

@@ -29,7 +29,7 @@ To get your API key:

1. In RAGFlow, click **Chat** tab in the middle top of the page.
2. Hover over the corresponding dialogue **>** **Chat Bot API** to show the chatbot API configuration page.
3. Click **Api Key** **>** **Create new key** to create your API key.
3. Click **API Key** **>** **Create new key** to create your API key.
4. Copy and keep your API key safe.

## Create dataset

+ 2
- 2
web/src/locales/en.ts View File

@@ -406,7 +406,7 @@ The above is the content you need to summarize.`,
preview: 'Preview',
embedded: 'Embedded',
serviceApiEndpoint: 'Service API Endpoint',
apiKey: 'Api Key',
apiKey: 'API Key',
apiReference: 'API Documents',
dateRange: 'Date Range:',
backendServiceApi: 'Backend service API',
@@ -664,7 +664,7 @@ The above is the content you need to summarize.`,
bing: 'Bing',
bingTip:
'This component is used to get search result from https://www.bing.com/. Typically, it performs as a supplement to knowledgebases. Top N and Bing Subscription-Key specifies the number of search results you need to adapt.',
apiKey: 'Api Key',
apiKey: 'API Key',
country: 'Country',
language: 'Language',
googleScholar: 'Google Scholar',

+ 3
- 3
web/src/locales/zh-traditional.ts View File

@@ -378,7 +378,7 @@ export default {
embedded: '嵌入',
serviceApiEndpoint: '服務 API 端點',
apiKey: 'API 鍵',
apiReference: 'API 文',
apiReference: 'API 文',
dateRange: '日期範圍:',
backendServiceApi: '後端服務 API',
createNewKey: '創建新密鑰',
@@ -390,7 +390,7 @@ export default {
fullScreenDescription: '將以下iframe嵌入您的網站處於所需位置',
partialTitle: '部分嵌入',
extensionTitle: 'Chrome 插件',
tokenError: '請先創建 Api Token!',
tokenError: '請先創建 API Token!',
searching: '搜索中',
parsing: '解析中',
uploading: '上傳中',
@@ -623,7 +623,7 @@ export default {
bing: 'Bing',
bingTip:
'此元件用於從 https://www.bing.com/ 取得搜尋結果。通常,它充當知識庫的補充。 Top N 和 Bing Subscription-Key 指定您需要適配的搜尋結果數量。',
apiKey: 'Api Key',
apiKey: 'API Key',
country: '國家',
language: '語言',
googleScholar: '谷歌學術',

+ 2
- 2
web/src/locales/zh.ts View File

@@ -407,7 +407,7 @@ export default {
fullScreenDescription: '将以下iframe嵌入您的网站处于所需位置',
partialTitle: '部分嵌入',
extensionTitle: 'Chrome 插件',
tokenError: '请先创建 Api Token!',
tokenError: '请先创建 API Token!',
searching: '搜索中',
parsing: '解析中',
uploading: '上传中',
@@ -641,7 +641,7 @@ export default {
bing: 'Bing',
bingTip:
'此组件用于从 https://www.bing.com/ 获取搜索结果。通常,它作为知识库的补充。Top N 和 Bing Subscription-Key 指定您需要调整的搜索结果数量。',
apiKey: 'Api Key',
apiKey: 'API Key',
country: '国家',
language: '语言',
googleScholar: '谷歌学术',

Loading…
Cancel
Save