doc:update how to use proxy api (#733)

This commit is contained in:
FangYin Cheng
2023-10-26 11:44:27 +08:00
committed by GitHub
4 changed files with 10 additions and 10 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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 <EMAIL@ADDRESS>\n"
"Language: zh_CN\n"
@@ -320,10 +320,8 @@ 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)"
msgstr ""
"如果想使用openai大模型服务, 可以参考[LLM Use FAQ](https://db-"
"gpt.readthedocs.io/en/latest/getting_started/faq/llm/llm_faq.html)"
"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

View File

@@ -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 <EMAIL@ADDRESS>\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"