浏览代码

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年前
父节点
当前提交
e91af1dff9
没有帐户链接到提交者的电子邮件
共有 5 个文件被更改,包括 10 次插入10 次删除
  1. 2
    2
      docs/references/api.md
  2. 1
    1
      docs/references/ragflow_api.md
  3. 2
    2
      web/src/locales/en.ts
  4. 3
    3
      web/src/locales/zh-traditional.ts
  5. 2
    2
      web/src/locales/zh.ts

+ 2
- 2
docs/references/api.md 查看文件

For Chat API key: For Chat API key:
1. In RAGFlow, click **Chat** tab in the middle top of the page. 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. 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. 4. Copy and keep your API key safe.


For Agent API key: For Agent API key:
1. In RAGFlow, click **Agent** tab in the middle top of the page. 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. 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. 4. Copy and keep your API key safe.


## Create conversation ## Create conversation

+ 1
- 1
docs/references/ragflow_api.md 查看文件



1. In RAGFlow, click **Chat** tab in the middle top of the page. 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. 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. 4. Copy and keep your API key safe.


## Create dataset ## Create dataset

+ 2
- 2
web/src/locales/en.ts 查看文件

preview: 'Preview', preview: 'Preview',
embedded: 'Embedded', embedded: 'Embedded',
serviceApiEndpoint: 'Service API Endpoint', serviceApiEndpoint: 'Service API Endpoint',
apiKey: 'Api Key',
apiKey: 'API Key',
apiReference: 'API Documents', apiReference: 'API Documents',
dateRange: 'Date Range:', dateRange: 'Date Range:',
backendServiceApi: 'Backend service API', backendServiceApi: 'Backend service API',
bing: 'Bing', bing: 'Bing',
bingTip: 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.', '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', country: 'Country',
language: 'Language', language: 'Language',
googleScholar: 'Google Scholar', googleScholar: 'Google Scholar',

+ 3
- 3
web/src/locales/zh-traditional.ts 查看文件

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

+ 2
- 2
web/src/locales/zh.ts 查看文件

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

正在加载...
取消
保存