Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc:update how to use proxy api #733

Merged
merged 4 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/getting_started/install/deploy/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions docs/getting_started/install/llm/proxyllm/proxyllm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand Down