From 031848c458df6f0692d08beaa159f40c6f21c329 Mon Sep 17 00:00:00 2001 From: aries_ckt <916701291@qq.com> Date: Thu, 26 Oct 2023 11:28:58 +0800 Subject: [PATCH 1/4] doc:proxy api --- docs/getting_started/install/llm/proxyllm/proxyllm.md | 1 + .../getting_started/install/llm/proxyllm/proxyllm.po | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/getting_started/install/llm/proxyllm/proxyllm.md b/docs/getting_started/install/llm/proxyllm/proxyllm.md index 8205ff6df..a04252d2f 100644 --- a/docs/getting_started/install/llm/proxyllm/proxyllm.md +++ b/docs/getting_started/install/llm/proxyllm/proxyllm.md @@ -24,6 +24,7 @@ PROXY_SERVER_URL=https://api.openai.com/v1/chat/completions #Azure LLM_MODEL=chatgpt_proxyllm +OPENAI_API_TYPE=azure PROXY_API_KEY={your-openai-sk} PROXY_SERVER_URL=https://xx.openai.azure.com/v1/chat/completions diff --git a/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/llm/proxyllm/proxyllm.po b/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/llm/proxyllm/proxyllm.po index be25e682f..f6411fd1a 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/llm/proxyllm/proxyllm.po +++ b/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/llm/proxyllm/proxyllm.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: DB-GPT 👏👏 0.4.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-26 00:03+0800\n" +"POT-Creation-Date: 2023-10-26 11:26+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: zh_CN\n" @@ -66,7 +66,8 @@ msgstr "百川API" #: ../../getting_started/install/llm/proxyllm/proxyllm.md:13 #: aba2dcc36b854b6193ababca772e1cf0 -msgid "bard" +#, fuzzy +msgid "Bard" msgstr "bard API" #: ../../getting_started/install/llm/proxyllm/proxyllm.md:17 @@ -81,12 +82,12 @@ msgstr "如何集成这些LLM rest API呢" msgid "update your `.env` file" msgstr "更新`.env`配置文件" -#: ../../getting_started/install/llm/proxyllm/proxyllm.md:62 +#: ../../getting_started/install/llm/proxyllm/proxyllm.md:63 #: f602876d957446fd8056854b6b2121a1 msgid "Make sure your .env configuration is not overwritten" msgstr "确保文件配置不会被覆盖" -#: ../../getting_started/install/llm/proxyllm/proxyllm.md:65 +#: ../../getting_started/install/llm/proxyllm/proxyllm.md:66 #: 51cb501d1500440981b3b93f01ff36f4 msgid "How to Integrate Embedding rest API, like OpenAI, Azure api service?" msgstr "如何集成想OpenAI Embedding rest api" From de3517849a4d97f90a5965a6bd43d256ecc6b8a5 Mon Sep 17 00:00:00 2001 From: aries_ckt <916701291@qq.com> Date: Thu, 26 Oct 2023 11:34:52 +0800 Subject: [PATCH 2/4] doc:proxy api --- docs/getting_started/install/deploy/deploy.md | 2 +- .../LC_MESSAGES/getting_started/install/deploy/deploy.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting_started/install/deploy/deploy.md b/docs/getting_started/install/deploy/deploy.md index 1ac3c1e41..9317982d1 100644 --- a/docs/getting_started/install/deploy/deploy.md +++ b/docs/getting_started/install/deploy/deploy.md @@ -77,7 +77,7 @@ macos:brew install git-lfs ``` ##### Download LLM Model and Embedding Model -If you use OpenAI llm service, see [How to Use LLM REST API](https://db-gpt.readthedocs.io/en/latest/getting_started/faq/llm/proxyllm/proxyllm.html) +If you use OpenAI llm service, see [How to Use LLM REST API](https://db-gpt.readthedocs.io/en/latest/getting_started/install/llm/proxyllm/proxyllm.html) ```{tip} If you use openai or Axzure or tongyi llm api service, you don't need to download llm model. diff --git a/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po b/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po index 2305ca83f..c23138961 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po +++ b/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: DB-GPT 👏👏 0.3.5\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-26 00:03+0800\n" +"POT-Creation-Date: 2023-10-26 11:34+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: zh_CN\n" @@ -320,7 +320,7 @@ msgstr "下载LLM模型和Embedding模型" #, fuzzy msgid "" "If you use OpenAI llm service, see [How to Use LLM REST API](https://db-" -"gpt.readthedocs.io/en/latest/getting_started/faq/llm/proxyllm/proxyllm.html)" +"gpt.readthedocs.io/en/latest/getting_started/install/llm/proxyllm/proxyllm.html)" msgstr "" "如果想使用openai大模型服务, 可以参考[LLM Use FAQ](https://db-" "gpt.readthedocs.io/en/latest/getting_started/faq/llm/llm_faq.html)" From 3742af98f6fc9a51b13988439154767e1167efa2 Mon Sep 17 00:00:00 2001 From: aries_ckt <916701291@qq.com> Date: Thu, 26 Oct 2023 11:38:32 +0800 Subject: [PATCH 3/4] doc:proxy api --- .../LC_MESSAGES/getting_started/install/deploy/deploy.po | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po b/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po index c23138961..5936d7d7c 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po +++ b/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po @@ -321,9 +321,7 @@ msgstr "下载LLM模型和Embedding模型" msgid "" "If you use OpenAI llm service, see [How to Use LLM REST API](https://db-" "gpt.readthedocs.io/en/latest/getting_started/install/llm/proxyllm/proxyllm.html)" -msgstr "" -"如果想使用openai大模型服务, 可以参考[LLM Use FAQ](https://db-" -"gpt.readthedocs.io/en/latest/getting_started/faq/llm/llm_faq.html)" +msgstr "如果想使用openai大模型服务, 可以参考[如何集成LLM REST API](https://db-gpt.readthedocs.io/en/latest/getting_started/install/llm/proxyllm/proxyllm.html)" #: ../../getting_started/install/deploy/deploy.md:83 #: f1a43cd2eba3458c863bfc77cf13ac1f From 62f8002592064c5b5870dccaf1f0465e59c545cd Mon Sep 17 00:00:00 2001 From: aries_ckt <916701291@qq.com> Date: Thu, 26 Oct 2023 11:39:26 +0800 Subject: [PATCH 4/4] doc:proxy api --- .../zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po b/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po index 5936d7d7c..abb04818d 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po +++ b/docs/locales/zh_CN/LC_MESSAGES/getting_started/install/deploy/deploy.po @@ -321,7 +321,7 @@ msgstr "下载LLM模型和Embedding模型" msgid "" "If you use OpenAI llm service, see [How to Use LLM REST API](https://db-" "gpt.readthedocs.io/en/latest/getting_started/install/llm/proxyllm/proxyllm.html)" -msgstr "如果想使用openai大模型服务, 可以参考[如何集成LLM REST API](https://db-gpt.readthedocs.io/en/latest/getting_started/install/llm/proxyllm/proxyllm.html)" +msgstr "如果想使用openai大模型服务, 可以参考[如何集成LLM REST API](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh-cn/latest/getting_started/install/llm/proxyllm/proxyllm.html)" #: ../../getting_started/install/deploy/deploy.md:83 #: f1a43cd2eba3458c863bfc77cf13ac1f