doc:llm rest api

This commit is contained in:
aries_ckt 2023-11-04 15:56:50 +08:00
parent 76975d95ac
commit 8764d4e2e4
8 changed files with 228 additions and 191 deletions

View File

@ -75,8 +75,8 @@ Run on an RTX 4090 GPU.
![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white) ![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white)
[**Usage Tutorial**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html) [**Usage Tutorial**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html)
- [**Install**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html) - [**Install**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy.html)
- [**Install Step by Step**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html) - [**Install Step by Step**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy.html)
- [**Docker Install**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/docker/docker.html) - [**Docker Install**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/docker/docker.html)
- [**Docker Compose**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/docker_compose/docker_compose.html) - [**Docker Compose**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/docker_compose/docker_compose.html)
- [**How to Use**](https://db-gpt.readthedocs.io/en/latest/getting_started/application/chatdb/chatdb.html) - [**How to Use**](https://db-gpt.readthedocs.io/en/latest/getting_started/application/chatdb/chatdb.html)

View File

@ -91,9 +91,9 @@ DB-GPT 是一个开源的以数据库为基础的GPT实验项目使用本地
![macOS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=macos&logoColor=F0F0F0) ![macOS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=macos&logoColor=F0F0F0)
![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white) ![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white)
[**教程**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html) [**教程**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh-cn/latest/getting_started/install/deploy.html)
- [**安装**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/install/deploy/deploy.html) - [**安装**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh-cn/latest/getting_started/install/deploy.html)
- [**Install Step by Step**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/install/deploy/deploy.html) - [**Install Step by Step**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh-cn/latest/getting_started/install/deploy.html)
- [**Docker安装**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/install/docker/docker.html) - [**Docker安装**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/install/docker/docker.html)
- [**Docker Compose安装**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/install/docker_compose/docker_compose.html) - [**Docker Compose安装**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/install/docker_compose/docker_compose.html)
- [**产品使用手册**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/application/chatdb/chatdb.html) - [**产品使用手册**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/application/chatdb/chatdb.html)

View File

@ -216,6 +216,8 @@ If you are low hardware requirements you can install DB-GPT by Using third-part
or or
git clone https://huggingface.co/moka-ai/m3e-large git clone https://huggingface.co/moka-ai/m3e-large
Now DB-GPT support LLM REST API TYPE:
.. note:: .. note::
* OpenAI * OpenAI

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DB-GPT 👏👏 0.3.5\n" "Project-Id-Version: DB-GPT 👏👏 0.3.5\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-03 15:25+0800\n" "POT-Creation-Date: 2023-11-03 15:33+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh_CN\n" "Language: zh_CN\n"
@ -38,55 +38,67 @@ msgstr ""
"plugins demonstration](../../../../assets/chat_data/chat_data.jpg)" "plugins demonstration](../../../../assets/chat_data/chat_data.jpg)"
#: ../../getting_started/application/chatdb/chatdb.md:3 #: ../../getting_started/application/chatdb/chatdb.md:3
#: ../../getting_started/application/chatdb/chatdb.md:27 #: ../../getting_started/application/chatdb/chatdb.md:26
#: ../../getting_started/application/chatdb/chatdb.md:31 #: ../../getting_started/application/chatdb/chatdb.md:30
#: ../../getting_started/application/chatdb/chatdb.md:35 #: ../../getting_started/application/chatdb/chatdb.md:34
#: ../../getting_started/application/chatdb/chatdb.md:50 #: ../../getting_started/application/chatdb/chatdb.md:49
#: ../../getting_started/application/chatdb/chatdb.md:55 #: ../../getting_started/application/chatdb/chatdb.md:54
#: ../../getting_started/application/chatdb/chatdb.md:61 #: ../../getting_started/application/chatdb/chatdb.md:60
#: 1467691a6012498795a94a14f7eba307 32315140835948c58e1721c7e2fa88a9 #: 1467691a6012498795a94a14f7eba307 32315140835948c58e1721c7e2fa88a9
#: 3b8e3c3396ff47348105a6dec9e755ba 6b116d2bac2d43faa4cbcbd0c4151344 #: 3b8e3c3396ff47348105a6dec9e755ba a314854e9be945dd88ad241bfa340870
#: a314854e9be945dd88ad241bfa340870 d94d5f0e608f4399a0e10d593f0ab1da #: d94d5f0e608f4399a0e10d593f0ab1da e0ca6ec1841040bc828ce2ef29c387b6
#: e0ca6ec1841040bc828ce2ef29c387b6
msgid "db plugins demonstration" msgid "db plugins demonstration"
msgstr "db plugins demonstration" msgstr "db plugins demonstration"
#: ../../getting_started/application/chatdb/chatdb.md:8 #: ../../getting_started/application/chatdb/chatdb.md:7
#: 67cb0954cfa54e629b75cf9a241f6b9d #: 67cb0954cfa54e629b75cf9a241f6b9d
msgid "" #, fuzzy
"The LLM (Language Model) suitable for the ChatData scene is * " msgid "The LLM (Language Model) suitable for the ChatData scene is"
"chatgpt3.5. * chatgpt4. * Vicuna-v1.5." msgstr "ChatData场景适用的LLM * chatgpt3.5. * chatgpt4. * Vicuna-v1.5."
msgstr "ChatData场景适用的LLM * "
"chatgpt3.5. * chatgpt4. * Vicuna-v1.5."
#: ../../getting_started/application/chatdb/chatdb.md:14 #: ../../getting_started/application/chatdb/chatdb.md:8
#: c973e19574e2405a96eb003c64063bfc
msgid "chatgpt3.5."
msgstr ""
#: ../../getting_started/application/chatdb/chatdb.md:9
#: 649b2382378c416591db7038a269c33b
msgid "chatgpt4."
msgstr ""
#: ../../getting_started/application/chatdb/chatdb.md:10
#: fac49de88fe3409f818193b953714cb9
msgid "Vicuna-v1.5."
msgstr ""
#: ../../getting_started/application/chatdb/chatdb.md:13
#: 8bd004993a834b0797ebcb5b6a6b1a23 #: 8bd004993a834b0797ebcb5b6a6b1a23
msgid "1.Choose Datasource" msgid "1.Choose Datasource"
msgstr "1.Choose Datasource" msgstr "1.Choose Datasource"
#: ../../getting_started/application/chatdb/chatdb.md:16 #: ../../getting_started/application/chatdb/chatdb.md:15
#: 34abfdced7804b51a212c0e567ffda6b #: 34abfdced7804b51a212c0e567ffda6b
msgid "" msgid ""
"If you are using DB-GPT for the first time, you need to add a data source" "If you are using DB-GPT for the first time, you need to add a data source"
" and set the relevant connection information for the data source." " and set the relevant connection information for the data source."
msgstr "如果你是第一次使用DB-GPT, 首先需要添加数据源,设置数据源的相关连接信息" msgstr "如果你是第一次使用DB-GPT, 首先需要添加数据源,设置数据源的相关连接信息"
#: ../../getting_started/application/chatdb/chatdb.md:20 #: ../../getting_started/application/chatdb/chatdb.md:19
#: 3a8d16a8a32c4ac5affbd8093677b4f8 #: 3a8d16a8a32c4ac5affbd8093677b4f8
msgid "there are some example data in DB-GPT-NEW/DB-GPT/docker/examples" msgid "there are some example data in DB-GPT-NEW/DB-GPT/docker/examples"
msgstr "在DB-GPT-NEW/DB-GPT/docker/examples有数据示例" msgstr "在DB-GPT-NEW/DB-GPT/docker/examples有数据示例"
#: ../../getting_started/application/chatdb/chatdb.md:22 #: ../../getting_started/application/chatdb/chatdb.md:21
#: 2c3333a2705648148f79623c220d90cd #: 2c3333a2705648148f79623c220d90cd
msgid "you can execute sql script to generate data." msgid "you can execute sql script to generate data."
msgstr "你可以通过执行sql脚本生成测试数据" msgstr "你可以通过执行sql脚本生成测试数据"
#: ../../getting_started/application/chatdb/chatdb.md:25 #: ../../getting_started/application/chatdb/chatdb.md:24
#: 4994182137574d14a3eefb421ceccd8e #: 4994182137574d14a3eefb421ceccd8e
msgid "1.1 Datasource management" msgid "1.1 Datasource management"
msgstr "1.1 Datasource management" msgstr "1.1 Datasource management"
#: ../../getting_started/application/chatdb/chatdb.md:27 #: ../../getting_started/application/chatdb/chatdb.md:26
#: 94680e1487d84092abc51a7da9bf1075 #: 94680e1487d84092abc51a7da9bf1075
msgid "" msgid ""
"![db plugins demonstration](https://github.com/eosphoros-ai/DB-" "![db plugins demonstration](https://github.com/eosphoros-ai/DB-"
@ -95,12 +107,12 @@ msgstr ""
"![db plugins demonstration](https://github.com/eosphoros-ai/DB-" "![db plugins demonstration](https://github.com/eosphoros-ai/DB-"
"GPT/assets/13723926/7678f07e-9eee-40a9-b980-5b3978a0ed52)" "GPT/assets/13723926/7678f07e-9eee-40a9-b980-5b3978a0ed52)"
#: ../../getting_started/application/chatdb/chatdb.md:29 #: ../../getting_started/application/chatdb/chatdb.md:28
#: 236dbd6d6cb4467593bf30597ecb215c #: 236dbd6d6cb4467593bf30597ecb215c
msgid "1.2 Connection management" msgid "1.2 Connection management"
msgstr "1.2 Connection管理" msgstr "1.2 Connection管理"
#: ../../getting_started/application/chatdb/chatdb.md:31 #: ../../getting_started/application/chatdb/chatdb.md:30
#: 6611193e600c4452ac8a9769c6230590 #: 6611193e600c4452ac8a9769c6230590
msgid "" msgid ""
"![db plugins demonstration](https://github.com/eosphoros-ai/DB-" "![db plugins demonstration](https://github.com/eosphoros-ai/DB-"
@ -109,12 +121,12 @@ msgstr ""
"![db plugins demonstration](https://github.com/eosphoros-ai/DB-" "![db plugins demonstration](https://github.com/eosphoros-ai/DB-"
"GPT/assets/13723926/25b8f5a9-d322-459e-a8b2-bfe8cb42bdd6)" "GPT/assets/13723926/25b8f5a9-d322-459e-a8b2-bfe8cb42bdd6)"
#: ../../getting_started/application/chatdb/chatdb.md:33 #: ../../getting_started/application/chatdb/chatdb.md:32
#: 7cceb9703af54970bee4a50fb07d4509 #: 7cceb9703af54970bee4a50fb07d4509
msgid "1.3 Add Datasource" msgid "1.3 Add Datasource"
msgstr "1.3 添加Datasource" msgstr "1.3 添加Datasource"
#: ../../getting_started/application/chatdb/chatdb.md:35 #: ../../getting_started/application/chatdb/chatdb.md:34
#: 83c9e18cb87b4f0d9b0ce5e68b7fea77 #: 83c9e18cb87b4f0d9b0ce5e68b7fea77
msgid "" msgid ""
"![db plugins demonstration](https://github.com/eosphoros-ai/DB-" "![db plugins demonstration](https://github.com/eosphoros-ai/DB-"
@ -123,53 +135,53 @@ msgstr ""
"![db plugins demonstration](https://github.com/eosphoros-ai/DB-" "![db plugins demonstration](https://github.com/eosphoros-ai/DB-"
"GPT/assets/13723926/19ce31a7-4061-4da8-a9cb-efca396cc085)" "GPT/assets/13723926/19ce31a7-4061-4da8-a9cb-efca396cc085)"
#: ../../getting_started/application/chatdb/chatdb.md:38 #: ../../getting_started/application/chatdb/chatdb.md:37
#: 143fb04274cd486687c5766179f6103e #: 143fb04274cd486687c5766179f6103e
msgid "now DB-GPT support Datasource Type" msgid "now DB-GPT support Datasource Type"
msgstr "DB-GPT支持数据源类型" msgstr "DB-GPT支持数据源类型"
#: ../../getting_started/application/chatdb/chatdb.md:40 #: ../../getting_started/application/chatdb/chatdb.md:39
#: 8bcf83e66b2d4d858407fc2b21b8fe85 #: 8bcf83e66b2d4d858407fc2b21b8fe85
msgid "Mysql" msgid "Mysql"
msgstr "Mysql" msgstr "Mysql"
#: ../../getting_started/application/chatdb/chatdb.md:41 #: ../../getting_started/application/chatdb/chatdb.md:40
#: cd74abd5d6f4410ca001a3de2685e768 #: cd74abd5d6f4410ca001a3de2685e768
msgid "Sqlite" msgid "Sqlite"
msgstr "Sqlite" msgstr "Sqlite"
#: ../../getting_started/application/chatdb/chatdb.md:42 #: ../../getting_started/application/chatdb/chatdb.md:41
#: fc5e01baba43449f8c3eb9b4b36a0ed8 #: fc5e01baba43449f8c3eb9b4b36a0ed8
msgid "DuckDB" msgid "DuckDB"
msgstr "DuckDB" msgstr "DuckDB"
#: ../../getting_started/application/chatdb/chatdb.md:43 #: ../../getting_started/application/chatdb/chatdb.md:42
#: 10b6fe2153cd4ceba949687a54c3a68c #: 10b6fe2153cd4ceba949687a54c3a68c
msgid "Clickhouse" msgid "Clickhouse"
msgstr "Clickhouse" msgstr "Clickhouse"
#: ../../getting_started/application/chatdb/chatdb.md:44 #: ../../getting_started/application/chatdb/chatdb.md:43
#: 9ce0a41784f041d39138a81099c386e9 #: 9ce0a41784f041d39138a81099c386e9
#, fuzzy #, fuzzy
msgid "Mssql" msgid "Mssql"
msgstr "Mysql" msgstr "Mysql"
#: ../../getting_started/application/chatdb/chatdb.md:45 #: ../../getting_started/application/chatdb/chatdb.md:44
#: 4af6eb835e954e0d937e98b308fb512b #: 4af6eb835e954e0d937e98b308fb512b
msgid "Spark" msgid "Spark"
msgstr "Spark" msgstr "Spark"
#: ../../getting_started/application/chatdb/chatdb.md:48 #: ../../getting_started/application/chatdb/chatdb.md:47
#: 8aaa3a73090b4805b2dddf1cc355d83c #: 8aaa3a73090b4805b2dddf1cc355d83c
msgid "2.ChatData" msgid "2.ChatData"
msgstr "2.ChatData" msgstr "2.ChatData"
#: ../../getting_started/application/chatdb/chatdb.md:49 #: ../../getting_started/application/chatdb/chatdb.md:48
#: a34c79c99bd34233ae92d3090ff0b877 #: a34c79c99bd34233ae92d3090ff0b877
msgid "Preview Mode" msgid "Preview Mode"
msgstr "Preview Mode" msgstr "Preview Mode"
#: ../../getting_started/application/chatdb/chatdb.md:50 #: ../../getting_started/application/chatdb/chatdb.md:49
#: 39e31a2a01494d4191d415a2240e026d #: 39e31a2a01494d4191d415a2240e026d
#, fuzzy #, fuzzy
msgid "" msgid ""
@ -182,12 +194,12 @@ msgstr ""
"设置数据源成功后就可以和数据库进行对话了。你可以让它帮你生成SQL也可以和问它数据库元数据的相关信息。 ![db plugins " "设置数据源成功后就可以和数据库进行对话了。你可以让它帮你生成SQL也可以和问它数据库元数据的相关信息。 ![db plugins "
"demonstration](../../../../assets/chat_data/chatdata_eg.png)" "demonstration](../../../../assets/chat_data/chatdata_eg.png)"
#: ../../getting_started/application/chatdb/chatdb.md:54 #: ../../getting_started/application/chatdb/chatdb.md:53
#: 999c78e8b604493a8190b0e1258d0da4 #: 999c78e8b604493a8190b0e1258d0da4
msgid "Editor Mode" msgid "Editor Mode"
msgstr "Editor Mode" msgstr "Editor Mode"
#: ../../getting_started/application/chatdb/chatdb.md:55 #: ../../getting_started/application/chatdb/chatdb.md:54
#: e4a61d1e62c743f8b13dbed92ec265ba #: e4a61d1e62c743f8b13dbed92ec265ba
msgid "" msgid ""
"In Editor Mode, you can edit your sql and execute it. ![db plugins " "In Editor Mode, you can edit your sql and execute it. ![db plugins "
@ -198,12 +210,12 @@ msgstr ""
"/eosphoros-ai/DB-" "/eosphoros-ai/DB-"
"GPT/assets/13723926/1a896dc1-7c0e-4354-8629-30357ffd8d7f)" "GPT/assets/13723926/1a896dc1-7c0e-4354-8629-30357ffd8d7f)"
#: ../../getting_started/application/chatdb/chatdb.md:59 #: ../../getting_started/application/chatdb/chatdb.md:58
#: b3a0d94083524d249f97dd426e1e1f26 #: b3a0d94083524d249f97dd426e1e1f26
msgid "3.ChatDB" msgid "3.ChatDB"
msgstr "3.ChatDB" msgstr "3.ChatDB"
#: ../../getting_started/application/chatdb/chatdb.md:61 #: ../../getting_started/application/chatdb/chatdb.md:60
#: 8f4bd453447f48019a597eb3e4a59875 #: 8f4bd453447f48019a597eb3e4a59875
msgid "" msgid ""
"![db plugins demonstration](https://github.com/eosphoros-ai/DB-" "![db plugins demonstration](https://github.com/eosphoros-ai/DB-"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DB-GPT 👏👏 0.3.6\n" "Project-Id-Version: DB-GPT 👏👏 0.3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-03 15:25+0800\n" "POT-Creation-Date: 2023-11-03 15:33+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh_CN\n" "Language: zh_CN\n"
@ -20,7 +20,7 @@ msgstr ""
"Generated-By: Babel 2.12.1\n" "Generated-By: Babel 2.12.1\n"
#: ../../getting_started/application/chatexcel/chatexcel.md:1 #: ../../getting_started/application/chatexcel/chatexcel.md:1
#: ../../getting_started/application/chatexcel/chatexcel.md:15 #: ../../getting_started/application/chatexcel/chatexcel.md:14
#: 5e9c1de21de240839a510b9e05afcba1 96556d6d1d734f67ab15e548c9fdce2f #: 5e9c1de21de240839a510b9e05afcba1 96556d6d1d734f67ab15e548c9fdce2f
msgid "ChatExcel" msgid "ChatExcel"
msgstr "" msgstr ""
@ -36,42 +36,48 @@ msgid ""
msgstr "使用自然语言进行Excel数据的分析处理" msgstr "使用自然语言进行Excel数据的分析处理"
#: ../../getting_started/application/chatexcel/chatexcel.md:3 #: ../../getting_started/application/chatexcel/chatexcel.md:3
#: ../../getting_started/application/chatexcel/chatexcel.md:19 #: ../../getting_started/application/chatexcel/chatexcel.md:18
#: ../../getting_started/application/chatexcel/chatexcel.md:23 #: ../../getting_started/application/chatexcel/chatexcel.md:22
#: ../../getting_started/application/chatexcel/chatexcel.md:27 #: ../../getting_started/application/chatexcel/chatexcel.md:26
#: 05b68001df5449869515898742ba2b3a 13c354703dfd4a8487d2c4e5bf4abd73 #: 286462d6d79b4189bcd9d17937a96233 7009abd113244cc5badb8e90837dc9af
#: 286462d6d79b4189bcd9d17937a96233 5aac360c20ea4ad189539e28e5e1c70f #: 7eb17d02534d4f77b7602f3756da0d5e f5c1cfd0f77d4199a45988114174c67f
#: 7009abd113244cc5badb8e90837dc9af 7eb17d02534d4f77b7602f3756da0d5e
#: be04d49fc14641b8b0d17c1e9d02973b f5c1cfd0f77d4199a45988114174c67f
msgid "db plugins demonstration" msgid "db plugins demonstration"
msgstr "" msgstr ""
#: ../../getting_started/application/chatexcel/chatexcel.md:7 #: ../../getting_started/application/chatexcel/chatexcel.md:6
#: 338f0b19314f4026b84a670d35056e6c #: 338f0b19314f4026b84a670d35056e6c
msgid "" #, fuzzy
"The LLM (Language Model) suitable for the ChatExcel scene is * " msgid "The LLM (Language Model) suitable for the ChatExcel scene is"
"chatgpt3.5. * chatgpt4." msgstr "ChatExcel场景适用的LLM 是 scene is * chatgpt3.5. * chatgpt4."
msgstr "ChatExcel场景适用的LLM 是 scene is * "
"chatgpt3.5. * chatgpt4."
#: ../../getting_started/application/chatexcel/chatexcel.md:12 #: ../../getting_started/application/chatexcel/chatexcel.md:7
#: bc09e8af60b64a8fbeecedb927a5a854
msgid "chatgpt3.5."
msgstr ""
#: ../../getting_started/application/chatexcel/chatexcel.md:8
#: e840c31d671946c190e27e1b7dd28647
msgid "chatgpt4."
msgstr ""
#: ../../getting_started/application/chatexcel/chatexcel.md:11
#: 2a710e2650bb44ef9d4a1ee4b8225a35 #: 2a710e2650bb44ef9d4a1ee4b8225a35
msgid "1.Select And Upload Excel or CSV File" msgid "1.Select And Upload Excel or CSV File"
msgstr "" msgstr ""
#: ../../getting_started/application/chatexcel/chatexcel.md:13 #: ../../getting_started/application/chatexcel/chatexcel.md:12
#: df48b1003f3640cfa621e416f0405e8d #: df48b1003f3640cfa621e416f0405e8d
msgid "Select your excel or csv file to upload and start the conversation." msgid "Select your excel or csv file to upload and start the conversation."
msgstr "选择你的Excel或者CSV文件上传开始对话" msgstr "选择你的Excel或者CSV文件上传开始对话"
#: ../../getting_started/application/chatexcel/chatexcel.md:17 #: ../../getting_started/application/chatexcel/chatexcel.md:16
#: 7ef5d5ebb634406ea4b566bbf5e30fd7 #: 7ef5d5ebb634406ea4b566bbf5e30fd7
msgid "" msgid ""
"The ChatExcel function supports Excel and CSV format files, select the " "The ChatExcel function supports Excel and CSV format files, select the "
"corresponding file to use." "corresponding file to use."
msgstr "ChatExcel功能支持Excel和CSV格式的文件选择对应格式的文件开始使用" msgstr "ChatExcel功能支持Excel和CSV格式的文件选择对应格式的文件开始使用"
#: ../../getting_started/application/chatexcel/chatexcel.md:19 #: ../../getting_started/application/chatexcel/chatexcel.md:18
#: 40c79b71820f44439b1f541db2be9dd9 #: 40c79b71820f44439b1f541db2be9dd9
msgid "" msgid ""
"![db plugins " "![db plugins "
@ -79,12 +85,12 @@ msgid ""
"plugins demonstration](../../../../assets/chat_excel/chat_excel_3.png)" "plugins demonstration](../../../../assets/chat_excel/chat_excel_3.png)"
msgstr "" msgstr ""
#: ../../getting_started/application/chatexcel/chatexcel.md:22 #: ../../getting_started/application/chatexcel/chatexcel.md:21
#: 0dd469b6f56a442485392346065e345d #: 0dd469b6f56a442485392346065e345d
msgid "2.Wait for Data Processing" msgid "2.Wait for Data Processing"
msgstr "等待数据处理" msgstr "等待数据处理"
#: ../../getting_started/application/chatexcel/chatexcel.md:23 #: ../../getting_started/application/chatexcel/chatexcel.md:22
#: 0e9213342664465187981d6fea41e7ba #: 0e9213342664465187981d6fea41e7ba
msgid "" msgid ""
"After the data is uploaded, it will first learn and process the data " "After the data is uploaded, it will first learn and process the data "
@ -92,12 +98,12 @@ msgid ""
"demonstration](../../../../assets/chat_excel/chat_excel_4.png)" "demonstration](../../../../assets/chat_excel/chat_excel_4.png)"
msgstr "等待数据上传完成,会自动进行数据结构的学习和处理" msgstr "等待数据上传完成,会自动进行数据结构的学习和处理"
#: ../../getting_started/application/chatexcel/chatexcel.md:26 #: ../../getting_started/application/chatexcel/chatexcel.md:25
#: dd2047d1199542f7abda4767b953cfac #: dd2047d1199542f7abda4767b953cfac
msgid "3.Use Data Analysis Calculation" msgid "3.Use Data Analysis Calculation"
msgstr "开始使用数据分析计算" msgstr "开始使用数据分析计算"
#: ../../getting_started/application/chatexcel/chatexcel.md:27 #: ../../getting_started/application/chatexcel/chatexcel.md:26
#: 4e168def205743c898586e99e34d3e18 #: 4e168def205743c898586e99e34d3e18
msgid "" msgid ""
"Now you can use natural language to analyze and query data in the dialog " "Now you can use natural language to analyze and query data in the dialog "

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DB-GPT 👏👏 0.3.5\n" "Project-Id-Version: DB-GPT 👏👏 0.3.5\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-03 15:25+0800\n" "POT-Creation-Date: 2023-11-03 15:33+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh_CN\n" "Language: zh_CN\n"
@ -33,45 +33,53 @@ msgid ""
" language and gain insights into their respective areas of business." " language and gain insights into their respective areas of business."
msgstr "DB-GPT Dashboard目的是赋能数据分析人员。DB-GPT通过提供智能报表技术使得业务分析人员可以直接使用简单的自然语言进行自助分析。" msgstr "DB-GPT Dashboard目的是赋能数据分析人员。DB-GPT通过提供智能报表技术使得业务分析人员可以直接使用简单的自然语言进行自助分析。"
#: ../../getting_started/application/dashboard/dashboard.md:8 #: ../../getting_started/application/dashboard/dashboard.md:7
#: 3ce90998ab9547fc95105f0000e232da #: 3ce90998ab9547fc95105f0000e232da
msgid "" #, fuzzy
"The LLM (Language Model) suitable for the Dashboard scene is * " msgid "The LLM (Language Model) suitable for the Dashboard scene is"
"chatgpt3.5. * chatgpt4." msgstr "Dashboard场景适用的LLM是 * chatgpt3.5. * chatgpt4."
msgstr "Dashboard场景适用的LLM是 * "
"chatgpt3.5. * chatgpt4."
#: ../../getting_started/application/dashboard/dashboard.md:14 #: ../../getting_started/application/dashboard/dashboard.md:8
#: be8fe8f9d9344e64acf51e54f8a17d7c
msgid "chatgpt3.5."
msgstr ""
#: ../../getting_started/application/dashboard/dashboard.md:9
#: 82ef8f03db3f4741a92113a485a40599
msgid "chatgpt4."
msgstr ""
#: ../../getting_started/application/dashboard/dashboard.md:13
#: da3aaa82126942058e72c472e2495641 #: da3aaa82126942058e72c472e2495641
msgid "Dashboard now support Datasource Type" msgid "Dashboard now support Datasource Type"
msgstr "Dashboard目前支持的数据源类型" msgstr "Dashboard目前支持的数据源类型"
#: ../../getting_started/application/dashboard/dashboard.md:15 #: ../../getting_started/application/dashboard/dashboard.md:14
#: d21cfc9594a24b69a5040f60cba00abb #: d21cfc9594a24b69a5040f60cba00abb
msgid "Mysql" msgid "Mysql"
msgstr "Mysql" msgstr "Mysql"
#: ../../getting_started/application/dashboard/dashboard.md:16 #: ../../getting_started/application/dashboard/dashboard.md:15
#: fc0e345321e84de5b9a96107fef5467e #: fc0e345321e84de5b9a96107fef5467e
msgid "Sqlite" msgid "Sqlite"
msgstr "Sqlite" msgstr "Sqlite"
#: ../../getting_started/application/dashboard/dashboard.md:17 #: ../../getting_started/application/dashboard/dashboard.md:16
#: f5cc4387997441b88a9f10ba9b35b621 #: f5cc4387997441b88a9f10ba9b35b621
msgid "DuckDB" msgid "DuckDB"
msgstr "DuckDB" msgstr "DuckDB"
#: ../../getting_started/application/dashboard/dashboard.md:19 #: ../../getting_started/application/dashboard/dashboard.md:18
#: d8a86c3d05f84df0aa63c88f5dbfbd78 #: d8a86c3d05f84df0aa63c88f5dbfbd78
msgid "Steps to Dashboard In DB-GPT" msgid "Steps to Dashboard In DB-GPT"
msgstr "Dashboard使用步骤" msgstr "Dashboard使用步骤"
#: ../../getting_started/application/dashboard/dashboard.md:21 #: ../../getting_started/application/dashboard/dashboard.md:20
#: dbf7b3f73677411a8e660f8d90c11e05 #: dbf7b3f73677411a8e660f8d90c11e05
msgid "1 add datasource" msgid "1 add datasource"
msgstr "1.添加数据源" msgstr "1.添加数据源"
#: ../../getting_started/application/dashboard/dashboard.md:23 #: ../../getting_started/application/dashboard/dashboard.md:22
#: 70a599bc716a4af2b5a07a40de6fed9d #: 70a599bc716a4af2b5a07a40de6fed9d
#, fuzzy #, fuzzy
msgid "" msgid ""
@ -82,17 +90,17 @@ msgid ""
"8c36-213b1c6fb5dd)" "8c36-213b1c6fb5dd)"
msgstr "如果你是第一次使用Dashboard需要构造测试数据DB-GPT在pilot/mock_datas/提供了测试数据,只需要将数据源进行添加即可" msgstr "如果你是第一次使用Dashboard需要构造测试数据DB-GPT在pilot/mock_datas/提供了测试数据,只需要将数据源进行添加即可"
#: ../../getting_started/application/dashboard/dashboard.md:23 #: ../../getting_started/application/dashboard/dashboard.md:22
#: e38d15f091264563840cf15f0a2fe97c #: e38d15f091264563840cf15f0a2fe97c
msgid "add_datasource" msgid "add_datasource"
msgstr "添加数据源" msgstr "添加数据源"
#: ../../getting_started/application/dashboard/dashboard.md:27 #: ../../getting_started/application/dashboard/dashboard.md:26
#: c6e87a5b20bb439ab1b3dc88e764d20b #: c6e87a5b20bb439ab1b3dc88e764d20b
msgid "2.Choose Dashboard Mode" msgid "2.Choose Dashboard Mode"
msgstr "2.进入Dashboard" msgstr "2.进入Dashboard"
#: ../../getting_started/application/dashboard/dashboard.md:29 #: ../../getting_started/application/dashboard/dashboard.md:28
#: 54c25766650546998d3aaa3655f5275b #: 54c25766650546998d3aaa3655f5275b
msgid "" msgid ""
"![create_space](https://github.com/eosphoros-ai/DB-" "![create_space](https://github.com/eosphoros-ai/DB-"
@ -101,17 +109,17 @@ msgstr ""
"![create_space](https://github.com/eosphoros-ai/DB-" "![create_space](https://github.com/eosphoros-ai/DB-"
"GPT/assets/13723926/5e888880-0e97-4b60-8e5c-b7e7224197f0)" "GPT/assets/13723926/5e888880-0e97-4b60-8e5c-b7e7224197f0)"
#: ../../getting_started/application/dashboard/dashboard.md:29 #: ../../getting_started/application/dashboard/dashboard.md:28
#: ea1781528db04000ab4a72308c7be97e #: ea1781528db04000ab4a72308c7be97e
msgid "create_space" msgid "create_space"
msgstr "create_space" msgstr "create_space"
#: ../../getting_started/application/dashboard/dashboard.md:31 #: ../../getting_started/application/dashboard/dashboard.md:30
#: 5de9b0f0853443368d90e42114e99d6e #: 5de9b0f0853443368d90e42114e99d6e
msgid "3.Select Datasource" msgid "3.Select Datasource"
msgstr "3.选择数据源" msgstr "3.选择数据源"
#: ../../getting_started/application/dashboard/dashboard.md:33 #: ../../getting_started/application/dashboard/dashboard.md:32
#: 3d4c429c4660414a8d5c44dea0ea0192 #: 3d4c429c4660414a8d5c44dea0ea0192
msgid "" msgid ""
"![document](https://github.com/eosphoros-ai/DB-" "![document](https://github.com/eosphoros-ai/DB-"
@ -120,18 +128,18 @@ msgstr ""
"![document](https://github.com/eosphoros-ai/DB-" "![document](https://github.com/eosphoros-ai/DB-"
"GPT/assets/13723926/da2ac8b5-eca4-48ef-938f-f9dc1ca711b3)" "GPT/assets/13723926/da2ac8b5-eca4-48ef-938f-f9dc1ca711b3)"
#: ../../getting_started/application/dashboard/dashboard.md:33 #: ../../getting_started/application/dashboard/dashboard.md:32
#: ../../getting_started/application/dashboard/dashboard.md:37 #: ../../getting_started/application/dashboard/dashboard.md:36
#: 338912391ae441328549accdb6d5522b 68ce490680fe4ed4a3c844c4c5b3fbd2 #: 338912391ae441328549accdb6d5522b
msgid "document" msgid "document"
msgstr "document" msgstr "document"
#: ../../getting_started/application/dashboard/dashboard.md:35 #: ../../getting_started/application/dashboard/dashboard.md:34
#: 2c0fd7e79393417aa218908c5cc89461 #: 2c0fd7e79393417aa218908c5cc89461
msgid "4.Input your analysis goals" msgid "4.Input your analysis goals"
msgstr "4.输入分析目标" msgstr "4.输入分析目标"
#: ../../getting_started/application/dashboard/dashboard.md:37 #: ../../getting_started/application/dashboard/dashboard.md:36
#: fb0bb655581a4109a5510240e54db006 #: fb0bb655581a4109a5510240e54db006
#, fuzzy #, fuzzy
msgid "" msgid ""
@ -144,18 +152,18 @@ msgstr ""
"![document](https://github.com/eosphoros-ai/DB-GPT/assets/13723926" "![document](https://github.com/eosphoros-ai/DB-GPT/assets/13723926"
"/3d14a2da-165e-4b2f-a921-325c20fe5ae9)" "/3d14a2da-165e-4b2f-a921-325c20fe5ae9)"
#: ../../getting_started/application/dashboard/dashboard.md:37 #: ../../getting_started/application/dashboard/dashboard.md:36
#: ../../getting_started/application/dashboard/dashboard.md:41 #: ../../getting_started/application/dashboard/dashboard.md:40
#: 17a72b7849a6458aa97182b72baad188 44680217a9794eddb97bcb98593a1071 #: 44680217a9794eddb97bcb98593a1071
msgid "db plugins demonstration" msgid "db plugins demonstration"
msgstr "" msgstr ""
#: ../../getting_started/application/dashboard/dashboard.md:40 #: ../../getting_started/application/dashboard/dashboard.md:39
#: 4a9a8eac8e77465a9519b532afdfd1b7 #: 4a9a8eac8e77465a9519b532afdfd1b7
msgid "5.Adjust and modify your report" msgid "5.Adjust and modify your report"
msgstr "5.调整" msgstr "5.调整"
#: ../../getting_started/application/dashboard/dashboard.md:41 #: ../../getting_started/application/dashboard/dashboard.md:40
#: b56da5e50ced4085bb376caa26e50e78 #: b56da5e50ced4085bb376caa26e50e78
msgid "" msgid ""
"![db plugins " "![db plugins "

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DB-GPT 👏👏 0.4.0\n" "Project-Id-Version: DB-GPT 👏👏 0.4.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-03 15:25+0800\n" "POT-Creation-Date: 2023-11-04 15:08+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh_CN\n" "Language: zh_CN\n"
@ -90,7 +90,7 @@ msgid "macos:brew install git-lfs"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:58 #: ../../getting_started/install/deploy.rst:58
#: ../../getting_started/install/deploy.rst:221 #: ../../getting_started/install/deploy.rst:223
#: 9c601ee0c06646d58cbd2c2fff342cb5 d3fe6c712b4145d0856487c65057c2a0 #: 9c601ee0c06646d58cbd2c2fff342cb5 d3fe6c712b4145d0856487c65057c2a0
msgid "OpenAI" msgid "OpenAI"
msgstr "OpenAI" msgstr "OpenAI"
@ -102,13 +102,13 @@ msgid "Download embedding model"
msgstr "下载embedding model" msgstr "下载embedding model"
#: ../../getting_started/install/deploy.rst:72 #: ../../getting_started/install/deploy.rst:72
#: ../../getting_started/install/deploy.rst:229 #: ../../getting_started/install/deploy.rst:231
#: 953d6931627641b985588abf8b6ad9fd d52e287164ca44f79709f4645a1bb774 #: 953d6931627641b985588abf8b6ad9fd d52e287164ca44f79709f4645a1bb774
msgid "Configure LLM_MODEL and PROXY_API_URL and API_KEY in `.env` file" msgid "Configure LLM_MODEL and PROXY_API_URL and API_KEY in `.env` file"
msgstr "在`.env`文件设置LLM_MODEL and PROXY_API_URL and API_KEY" msgstr "在`.env`文件设置LLM_MODEL and PROXY_API_URL and API_KEY"
#: ../../getting_started/install/deploy.rst:82 #: ../../getting_started/install/deploy.rst:82
#: ../../getting_started/install/deploy.rst:280 #: ../../getting_started/install/deploy.rst:282
#: 6dc89616c0bf46a898a49606d1349039 e30b7458fc0d46e8bcf0ec61a2be2e19 #: 6dc89616c0bf46a898a49606d1349039 e30b7458fc0d46e8bcf0ec61a2be2e19
msgid "Make sure your .env configuration is not overwritten" msgid "Make sure your .env configuration is not overwritten"
msgstr "认.env文件不会被覆盖\"" msgstr "认.env文件不会被覆盖\""
@ -214,7 +214,7 @@ msgid "**Configure LLM_MODEL in `.env` file**"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:131 #: ../../getting_started/install/deploy.rst:131
#: ../../getting_started/install/deploy.rst:226 #: ../../getting_started/install/deploy.rst:228
#: 022addaea4ea432584b8a27ea83a9dc4 7a95d25c58d2491e855dff42f6d3a686 #: 022addaea4ea432584b8a27ea83a9dc4 7a95d25c58d2491e855dff42f6d3a686
msgid "Baichuan" msgid "Baichuan"
msgstr "" msgstr ""
@ -256,37 +256,42 @@ msgstr "将chatglm模型目录修改为\"chatglm2-6b\""
msgid "Other LLM API" msgid "Other LLM API"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:222 #: ../../getting_started/install/deploy.rst:219
#: 3df3d5e0e4f64813a7ca2adccd056c4a
msgid "Now DB-GPT support LLM REST API TYPE:"
msgstr "目前DB-GPT支持的大模型REST API类型:"
#: ../../getting_started/install/deploy.rst:224
#: 4f7cb7a3f324410d8a34ba96d7c9536a #: 4f7cb7a3f324410d8a34ba96d7c9536a
msgid "Azure" msgid "Azure"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:223 #: ../../getting_started/install/deploy.rst:225
#: ee6cbe48a8094637b6b8a049446042c6 #: ee6cbe48a8094637b6b8a049446042c6
msgid "Aliyun tongyi" msgid "Aliyun tongyi"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:224 #: ../../getting_started/install/deploy.rst:226
#: a3d9c061b0f440258be88cc3143b1887 #: a3d9c061b0f440258be88cc3143b1887
msgid "Baidu wenxin" msgid "Baidu wenxin"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:225 #: ../../getting_started/install/deploy.rst:227
#: 176001fb6eaf448f9eca1abd256b3ef4 #: 176001fb6eaf448f9eca1abd256b3ef4
msgid "Zhipu" msgid "Zhipu"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:227 #: ../../getting_started/install/deploy.rst:229
#: 17fecc140be2474ea1566d44641a27c0 #: 17fecc140be2474ea1566d44641a27c0
msgid "Bard" msgid "Bard"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:282 #: ../../getting_started/install/deploy.rst:284
#: bc34832cec754984a40c4d01526f0f83 #: bc34832cec754984a40c4d01526f0f83
msgid "llama.cpp" msgid "llama.cpp"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:284 #: ../../getting_started/install/deploy.rst:286
#: aa4b14e726dc447f92dec48f38a3d770 #: aa4b14e726dc447f92dec48f38a3d770
msgid "" msgid ""
"DB-GPT already supports `llama.cpp " "DB-GPT already supports `llama.cpp "
@ -296,24 +301,24 @@ msgstr ""
"DB-GPT 已经支持了 `llama.cpp <https://github.com/ggerganov/llama.cpp>`_ via " "DB-GPT 已经支持了 `llama.cpp <https://github.com/ggerganov/llama.cpp>`_ via "
"`llama-cpp-python <https://github.com/abetlen/llama-cpp-python>`_ ." "`llama-cpp-python <https://github.com/abetlen/llama-cpp-python>`_ ."
#: ../../getting_started/install/deploy.rst:286 #: ../../getting_started/install/deploy.rst:288
#: e97a868ad05b48ee8d25017457c1b7ee #: e97a868ad05b48ee8d25017457c1b7ee
msgid "**Preparing Model Files**" msgid "**Preparing Model Files**"
msgstr "**准备Model文件**" msgstr "**准备Model文件**"
#: ../../getting_started/install/deploy.rst:288 #: ../../getting_started/install/deploy.rst:290
#: 8efc7824082545a4a98ebbd6b12fa00f #: 8efc7824082545a4a98ebbd6b12fa00f
msgid "" msgid ""
"To use llama.cpp, you need to prepare a gguf format model file, and there" "To use llama.cpp, you need to prepare a gguf format model file, and there"
" are two common ways to obtain it, you can choose either:" " are two common ways to obtain it, you can choose either:"
msgstr "使用 llama.cpp你需要准备 gguf 格式的文件,你可以通过以下两种方法获取" msgstr "使用 llama.cpp你需要准备 gguf 格式的文件,你可以通过以下两种方法获取"
#: ../../getting_started/install/deploy.rst:290 #: ../../getting_started/install/deploy.rst:292
#: 5b9f3a35779c4f89a4b9051904c5f7d8 #: 5b9f3a35779c4f89a4b9051904c5f7d8
msgid "**1. Download a pre-converted model file.**" msgid "**1. Download a pre-converted model file.**"
msgstr "**1.下载已转换的模型文件.**" msgstr "**1.下载已转换的模型文件.**"
#: ../../getting_started/install/deploy.rst:292 #: ../../getting_started/install/deploy.rst:294
#: e15f33a2e5fc4caaa9ad2e10cabf9d32 #: e15f33a2e5fc4caaa9ad2e10cabf9d32
msgid "" msgid ""
"Suppose you want to use [Vicuna 13B v1.5](https://huggingface.co/lmsys" "Suppose you want to use [Vicuna 13B v1.5](https://huggingface.co/lmsys"
@ -328,12 +333,12 @@ msgstr ""
"13B-v1.5-GGUF)下载已转换的文件只需要一个文件。将其下载到models目录并将其重命名为 `ggml-" "13B-v1.5-GGUF)下载已转换的文件只需要一个文件。将其下载到models目录并将其重命名为 `ggml-"
"model-q4_0.gguf`。" "model-q4_0.gguf`。"
#: ../../getting_started/install/deploy.rst:298 #: ../../getting_started/install/deploy.rst:300
#: 81ab603cd9b94cabb48add9541590b8b #: 81ab603cd9b94cabb48add9541590b8b
msgid "**2. Convert It Yourself**" msgid "**2. Convert It Yourself**"
msgstr "**2. 自行转换**" msgstr "**2. 自行转换**"
#: ../../getting_started/install/deploy.rst:300 #: ../../getting_started/install/deploy.rst:302
#: f9b46aa70a0842d6acc7e837c8b27778 #: f9b46aa70a0842d6acc7e837c8b27778
msgid "" msgid ""
"You can convert the model file yourself according to the instructions in " "You can convert the model file yourself according to the instructions in "
@ -345,31 +350,31 @@ msgstr ""
"#prepare-data--run)中的说明自行转换模型文件并把转换后的文件放在models目录中并重命名为`ggml-" "#prepare-data--run)中的说明自行转换模型文件并把转换后的文件放在models目录中并重命名为`ggml-"
"model-q4_0.gguf`。" "model-q4_0.gguf`。"
#: ../../getting_started/install/deploy.rst:302 #: ../../getting_started/install/deploy.rst:304
#: 5278c05568dd4ad688bcc181e45caa18 #: 5278c05568dd4ad688bcc181e45caa18
msgid "**Installing Dependencies**" msgid "**Installing Dependencies**"
msgstr "**安装依赖**" msgstr "**安装依赖**"
#: ../../getting_started/install/deploy.rst:304 #: ../../getting_started/install/deploy.rst:306
#: bd67bf651a9a4096a37e73851b5fad98 #: bd67bf651a9a4096a37e73851b5fad98
msgid "" msgid ""
"llama.cpp is an optional dependency in DB-GPT, and you can manually " "llama.cpp is an optional dependency in DB-GPT, and you can manually "
"install it using the following command:" "install it using the following command:"
msgstr "llama.cpp在DB-GPT中是可选安装项, 你可以通过以下命令进行安装" msgstr "llama.cpp在DB-GPT中是可选安装项, 你可以通过以下命令进行安装"
#: ../../getting_started/install/deploy.rst:311 #: ../../getting_started/install/deploy.rst:313
#: 71ed6ae4d0aa4d3ca27ebfffc42a5095 #: 71ed6ae4d0aa4d3ca27ebfffc42a5095
msgid "**3.Modifying the Configuration File**" msgid "**3.Modifying the Configuration File**"
msgstr "**3.修改配置文件**" msgstr "**3.修改配置文件**"
#: ../../getting_started/install/deploy.rst:313 #: ../../getting_started/install/deploy.rst:315
#: a0a2fdb799524ef4938df2c306536e2a #: a0a2fdb799524ef4938df2c306536e2a
msgid "Next, you can directly modify your `.env` file to enable llama.cpp." msgid "Next, you can directly modify your `.env` file to enable llama.cpp."
msgstr "修改`.env`文件使用llama.cpp" msgstr "修改`.env`文件使用llama.cpp"
#: ../../getting_started/install/deploy.rst:320 #: ../../getting_started/install/deploy.rst:322
#: ../../getting_started/install/deploy.rst:388 #: ../../getting_started/install/deploy.rst:390
#: 03694cbb7dfa432cb32116925357f008 07594f3e3e2e4d0f86b243629df5699e #: 03694cbb7dfa432cb32116925357f008
msgid "" msgid ""
"Then you can run it according to `Run <https://db-" "Then you can run it according to `Run <https://db-"
"gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html#run>`_" "gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html#run>`_"
@ -377,55 +382,53 @@ msgstr ""
"然后你可以根据[运行](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-" "然后你可以根据[运行](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-"
"cn/zh_CN/latest/getting_started/install/deploy/deploy.html#run)来运行" "cn/zh_CN/latest/getting_started/install/deploy/deploy.html#run)来运行"
#: ../../getting_started/install/deploy.rst:323 #: ../../getting_started/install/deploy.rst:325
#: c9bbc15ea2fc4562bdf87a4e099600a0 #: c9bbc15ea2fc4562bdf87a4e099600a0
msgid "**More Configurations**" msgid "**More Configurations**"
msgstr "**更多配置文件**" msgstr "**更多配置文件**"
#: ../../getting_started/install/deploy.rst:325 #: ../../getting_started/install/deploy.rst:327
#: 9beff887d8554d1dac169de93625c1b2 #: 9beff887d8554d1dac169de93625c1b2
msgid "" msgid ""
"In DB-GPT, the model configuration can be done through `{model " "In DB-GPT, the model configuration can be done through `{model "
"name}_{config key}`." "name}_{config key}`."
msgstr "在DB-GPT中模型配置可以通过`{模型名称}_{配置名}` 来配置。" msgstr "在DB-GPT中模型配置可以通过`{模型名称}_{配置名}` 来配置。"
#: ../../getting_started/install/deploy.rst:327 #: ../../getting_started/install/deploy.rst:329
#: 6cad64bcc9f141de85479203b21f7f9e #: 6cad64bcc9f141de85479203b21f7f9e
msgid "More Configurations" msgid "More Configurations"
msgstr "**更多配置文件**" msgstr "**更多配置文件**"
#: ../../getting_started/install/deploy.rst:331 #: ../../getting_started/install/deploy.rst:333
#: de97b0d5b59c4bfabbd47b7e1766cc70 #: de97b0d5b59c4bfabbd47b7e1766cc70
msgid "Environment Variable Key" msgid "Environment Variable Key"
msgstr "环境变量Key" msgstr "环境变量Key"
#: ../../getting_started/install/deploy.rst:332 #: ../../getting_started/install/deploy.rst:334
#: 76afa3655f644576b54b4422bad3fcad #: 76afa3655f644576b54b4422bad3fcad
msgid "Default" msgid "Default"
msgstr "默认值" msgstr "默认值"
#: ../../getting_started/install/deploy.rst:333 #: ../../getting_started/install/deploy.rst:335
#: 0dcabfeeb4874e08ba53d4b4aa6a1d73 #: 0dcabfeeb4874e08ba53d4b4aa6a1d73
msgid "Description" msgid "Description"
msgstr "描述" msgstr "描述"
#: ../../getting_started/install/deploy.rst:334 #: ../../getting_started/install/deploy.rst:336
#: c1670aec27cf4c068d825456817d7667 #: c1670aec27cf4c068d825456817d7667
msgid "llama_cpp_prompt_template" msgid "llama_cpp_prompt_template"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:335 #: ../../getting_started/install/deploy.rst:337
#: ../../getting_started/install/deploy.rst:338 #: ../../getting_started/install/deploy.rst:340
#: ../../getting_started/install/deploy.rst:344 #: ../../getting_started/install/deploy.rst:346
#: ../../getting_started/install/deploy.rst:350 #: ../../getting_started/install/deploy.rst:352
#: ../../getting_started/install/deploy.rst:356 #: ../../getting_started/install/deploy.rst:358
#: 1e13d43ba3574c33afa7e44d1643171b 355e51a688a0463f881ffce1a6cb0934 #: 49c8f875066f49c6aac195805f88e4a9
#: 3775eb80762c4c6189efcaf62ee25556 49c8f875066f49c6aac195805f88e4a9
#: 4d4358e00a31419b96d937cbbb4d9943
msgid "None" msgid "None"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:336 #: ../../getting_started/install/deploy.rst:338
#: bb31e19533e5434b832d5975bf579dc3 #: bb31e19533e5434b832d5975bf579dc3
msgid "" msgid ""
"Prompt template name, now support: zero_shot, vicuna_v1.1,alpaca,llama-2" "Prompt template name, now support: zero_shot, vicuna_v1.1,alpaca,llama-2"
@ -435,27 +438,27 @@ msgstr ""
"Prompt template 现在可以支持`zero_shot, vicuna_v1.1,alpaca,llama-2,baichuan-" "Prompt template 现在可以支持`zero_shot, vicuna_v1.1,alpaca,llama-2,baichuan-"
"chat,internlm-chat`, 如果是None, 可以根据模型路径来自动获取模型 Prompt template" "chat,internlm-chat`, 如果是None, 可以根据模型路径来自动获取模型 Prompt template"
#: ../../getting_started/install/deploy.rst:337 #: ../../getting_started/install/deploy.rst:339
#: 38ed23e19e2a47cf8fbacb035cfe1292 #: 38ed23e19e2a47cf8fbacb035cfe1292
msgid "llama_cpp_model_path" msgid "llama_cpp_model_path"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:339 #: ../../getting_started/install/deploy.rst:341
#: eb069fdfdfeb4b17b723ee6733ba50c2 #: eb069fdfdfeb4b17b723ee6733ba50c2
msgid "Model path" msgid "Model path"
msgstr "模型路径" msgstr "模型路径"
#: ../../getting_started/install/deploy.rst:340 #: ../../getting_started/install/deploy.rst:342
#: 348d3ff3e4f44ceb99aadead11f5cca5 #: 348d3ff3e4f44ceb99aadead11f5cca5
msgid "llama_cpp_n_gpu_layers" msgid "llama_cpp_n_gpu_layers"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:341 #: ../../getting_started/install/deploy.rst:343
#: 007deecf593b4553b6ca8df3e9240a28 #: 007deecf593b4553b6ca8df3e9240a28
msgid "1000000000" msgid "1000000000"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:342 #: ../../getting_started/install/deploy.rst:344
#: 4da435c417f0482581895bf4d052a6a1 #: 4da435c417f0482581895bf4d052a6a1
msgid "" msgid ""
"Number of layers to offload to the GPU, Set this to 1000000000 to offload" "Number of layers to offload to the GPU, Set this to 1000000000 to offload"
@ -463,123 +466,123 @@ msgid ""
" number, eg: 10" " number, eg: 10"
msgstr "要将多少网络层转移到GPU上将其设置为1000000000以将所有层转移到GPU上。如果您的 GPU 内存不足可以设置较低的数字例如10。" msgstr "要将多少网络层转移到GPU上将其设置为1000000000以将所有层转移到GPU上。如果您的 GPU 内存不足可以设置较低的数字例如10。"
#: ../../getting_started/install/deploy.rst:343 #: ../../getting_started/install/deploy.rst:345
#: 4f186505ea81467590cf817d116e6879 #: 4f186505ea81467590cf817d116e6879
msgid "llama_cpp_n_threads" msgid "llama_cpp_n_threads"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:345 #: ../../getting_started/install/deploy.rst:347
#: b94dc2fb2cd14a4a8f38ba95b05fbb5b #: b94dc2fb2cd14a4a8f38ba95b05fbb5b
msgid "" msgid ""
"Number of threads to use. If None, the number of threads is automatically" "Number of threads to use. If None, the number of threads is automatically"
" determined" " determined"
msgstr "要使用的线程数量。如果为None则线程数量将自动确定。" msgstr "要使用的线程数量。如果为None则线程数量将自动确定。"
#: ../../getting_started/install/deploy.rst:346 #: ../../getting_started/install/deploy.rst:348
#: 867f2357430440eba4e749a8a39bff18 #: 867f2357430440eba4e749a8a39bff18
msgid "llama_cpp_n_batch" msgid "llama_cpp_n_batch"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:347 #: ../../getting_started/install/deploy.rst:349
#: 78516f7b23264147bae11e13426097eb #: 78516f7b23264147bae11e13426097eb
msgid "512" msgid "512"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:348 #: ../../getting_started/install/deploy.rst:350
#: c2ec97ffef3e4a70afef6634e78801a2 #: c2ec97ffef3e4a70afef6634e78801a2
msgid "Maximum number of prompt tokens to batch together when calling llama_eval" msgid "Maximum number of prompt tokens to batch together when calling llama_eval"
msgstr "在调用llama_eval时批处理在一起的prompt tokens的最大数量" msgstr "在调用llama_eval时批处理在一起的prompt tokens的最大数量"
#: ../../getting_started/install/deploy.rst:349 #: ../../getting_started/install/deploy.rst:351
#: 29ad3c5ab7134da49d6fca3b42d734d6 #: 29ad3c5ab7134da49d6fca3b42d734d6
msgid "llama_cpp_n_gqa" msgid "llama_cpp_n_gqa"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:351 #: ../../getting_started/install/deploy.rst:353
#: e5bc322b0c824465b1adbd162838a3b7 #: e5bc322b0c824465b1adbd162838a3b7
msgid "Grouped-query attention. Must be 8 for llama-2 70b." msgid "Grouped-query attention. Must be 8 for llama-2 70b."
msgstr "对于 llama-2 70B 模型Grouped-query attention 必须为8。" msgstr "对于 llama-2 70B 模型Grouped-query attention 必须为8。"
#: ../../getting_started/install/deploy.rst:352 #: ../../getting_started/install/deploy.rst:354
#: 43e7d412238a4f0ba8227938d9fa4172 #: 43e7d412238a4f0ba8227938d9fa4172
msgid "llama_cpp_rms_norm_eps" msgid "llama_cpp_rms_norm_eps"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:353 #: ../../getting_started/install/deploy.rst:355
#: 6328db04645b4b089593291e2ca13f79 #: 6328db04645b4b089593291e2ca13f79
msgid "5e-06" msgid "5e-06"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:354 #: ../../getting_started/install/deploy.rst:356
#: 6c8bf631cece42fa86954f5cf2d75503 #: 6c8bf631cece42fa86954f5cf2d75503
msgid "5e-6 is a good value for llama-2 models." msgid "5e-6 is a good value for llama-2 models."
msgstr "对于llama-2模型来说5e-6是一个不错的值。" msgstr "对于llama-2模型来说5e-6是一个不错的值。"
#: ../../getting_started/install/deploy.rst:355 #: ../../getting_started/install/deploy.rst:357
#: 22ebee39fe8b4cc18378447cac67e631 #: 22ebee39fe8b4cc18378447cac67e631
msgid "llama_cpp_cache_capacity" msgid "llama_cpp_cache_capacity"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:357 #: ../../getting_started/install/deploy.rst:359
#: 4dc98bede90f4237829f65513e4adf61 #: 4dc98bede90f4237829f65513e4adf61
msgid "Maximum cache capacity. Examples: 2000MiB, 2GiB" msgid "Maximum cache capacity. Examples: 2000MiB, 2GiB"
msgstr "模型缓存最大值. 例如: 2000MiB, 2GiB" msgstr "模型缓存最大值. 例如: 2000MiB, 2GiB"
#: ../../getting_started/install/deploy.rst:358 #: ../../getting_started/install/deploy.rst:360
#: bead617b5af943dab0bc1209823d3c22 #: bead617b5af943dab0bc1209823d3c22
msgid "llama_cpp_prefer_cpu" msgid "llama_cpp_prefer_cpu"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:359 #: ../../getting_started/install/deploy.rst:361
#: 8efb44f1cfc54b1a8b3ca8ea138113ee #: 8efb44f1cfc54b1a8b3ca8ea138113ee
msgid "False" msgid "False"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:360 #: ../../getting_started/install/deploy.rst:362
#: b854e6a44c8348ceb72ac382b73ceec5 #: b854e6a44c8348ceb72ac382b73ceec5
msgid "" msgid ""
"If a GPU is available, it will be preferred by default, unless " "If a GPU is available, it will be preferred by default, unless "
"prefer_cpu=False is configured." "prefer_cpu=False is configured."
msgstr "如果有可用的GPU默认情况下会优先使用GPU除非配置了 prefer_cpu=False。" msgstr "如果有可用的GPU默认情况下会优先使用GPU除非配置了 prefer_cpu=False。"
#: ../../getting_started/install/deploy.rst:363 #: ../../getting_started/install/deploy.rst:365
#: 41b0440eb0074e5fa8c87dd404efe0ce #: 41b0440eb0074e5fa8c87dd404efe0ce
msgid "vllm" msgid "vllm"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:365 #: ../../getting_started/install/deploy.rst:367
#: 6fc445675bf74b2ea2fe0c7f2a64db69 #: 6fc445675bf74b2ea2fe0c7f2a64db69
msgid "vLLM is a fast and easy-to-use library for LLM inference and serving." msgid "vLLM is a fast and easy-to-use library for LLM inference and serving."
msgstr "\"vLLM 是一个快速且易于使用的 LLM 推理和服务的库。" msgstr "\"vLLM 是一个快速且易于使用的 LLM 推理和服务的库。"
#: ../../getting_started/install/deploy.rst:367 #: ../../getting_started/install/deploy.rst:369
#: aab5f913d29445c4b345180b8793ebc7 #: aab5f913d29445c4b345180b8793ebc7
msgid "**Running vLLM**" msgid "**Running vLLM**"
msgstr "**运行vLLM**" msgstr "**运行vLLM**"
#: ../../getting_started/install/deploy.rst:369 #: ../../getting_started/install/deploy.rst:371
#: a9560d697821404cb0abdabf9f479645 #: a9560d697821404cb0abdabf9f479645
msgid "**1.Installing Dependencies**" msgid "**1.Installing Dependencies**"
msgstr "**1.安装依赖**" msgstr "**1.安装依赖**"
#: ../../getting_started/install/deploy.rst:371 #: ../../getting_started/install/deploy.rst:373
#: b008224d4f314e5c988335262c95a42e #: b008224d4f314e5c988335262c95a42e
msgid "" msgid ""
"vLLM is an optional dependency in DB-GPT, and you can manually install it" "vLLM is an optional dependency in DB-GPT, and you can manually install it"
" using the following command:" " using the following command:"
msgstr "vLLM 在 DB-GPT 是一个可选依赖, 你可以使用下面的命令手动安装它:" msgstr "vLLM 在 DB-GPT 是一个可选依赖, 你可以使用下面的命令手动安装它:"
#: ../../getting_started/install/deploy.rst:377 #: ../../getting_started/install/deploy.rst:379
#: 7dc0c8e996124177935a4e0d9ef19837 #: 7dc0c8e996124177935a4e0d9ef19837
msgid "**2.Modifying the Configuration File**" msgid "**2.Modifying the Configuration File**"
msgstr "**2.修改配置文件**" msgstr "**2.修改配置文件**"
#: ../../getting_started/install/deploy.rst:379 #: ../../getting_started/install/deploy.rst:381
#: 49667576b44c46bf87d5bf4d207dd63a #: 49667576b44c46bf87d5bf4d207dd63a
msgid "Next, you can directly modify your .env file to enable vllm." msgid "Next, you can directly modify your .env file to enable vllm."
msgstr "你可以直接修改你的 `.env` 文件" msgstr "你可以直接修改你的 `.env` 文件"
#: ../../getting_started/install/deploy.rst:386 #: ../../getting_started/install/deploy.rst:388
#: f16a78f0ee6545babab0d66f12654c0a #: f16a78f0ee6545babab0d66f12654c0a
msgid "" msgid ""
"You can view the models supported by vLLM `here " "You can view the models supported by vLLM `here "
@ -590,27 +593,27 @@ msgstr ""
"[这里](https://vllm.readthedocs.io/en/latest/models/supported_models.html" "[这里](https://vllm.readthedocs.io/en/latest/models/supported_models.html"
"#supported-models) 查看 vLLM 支持的模型。" "#supported-models) 查看 vLLM 支持的模型。"
#: ../../getting_started/install/deploy.rst:395 #: ../../getting_started/install/deploy.rst:397
#: f7ae366723e9494d8177eeb963ba0ed9 #: f7ae366723e9494d8177eeb963ba0ed9
msgid "3.Prepare sql example(Optional)" msgid "3.Prepare sql example(Optional)"
msgstr "3.准备 sql example(可选)" msgstr "3.准备 sql example(可选)"
#: ../../getting_started/install/deploy.rst:396 #: ../../getting_started/install/deploy.rst:398
#: d302aac8ddb346598fc9d73e0f6c2cbc #: d302aac8ddb346598fc9d73e0f6c2cbc
msgid "**(Optional) load examples into SQLite**" msgid "**(Optional) load examples into SQLite**"
msgstr "**(可选) load examples into SQLite**" msgstr "**(可选) load examples into SQLite**"
#: ../../getting_started/install/deploy.rst:403 #: ../../getting_started/install/deploy.rst:405
#: ae2a315e40854f27a074f2c0f2506014 #: ae2a315e40854f27a074f2c0f2506014
msgid "On windows platform:" msgid "On windows platform:"
msgstr "" msgstr ""
#: ../../getting_started/install/deploy.rst:410 #: ../../getting_started/install/deploy.rst:412
#: 36b4b7a813844af3a4ec8062b39059a3 #: 36b4b7a813844af3a4ec8062b39059a3
msgid "4.Run db-gpt server" msgid "4.Run db-gpt server"
msgstr "4.运行db-gpt server" msgstr "4.运行db-gpt server"
#: ../../getting_started/install/deploy.rst:416 #: ../../getting_started/install/deploy.rst:418
#: e56f15e563484027b7efb2147c9b71a7 #: e56f15e563484027b7efb2147c9b71a7
msgid "**Open http://localhost:5000 with your browser to see the product.**" msgid "**Open http://localhost:5000 with your browser to see the product.**"
msgstr "打开浏览器访问http://localhost:5000" msgstr "打开浏览器访问http://localhost:5000"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DB-GPT 0.3.0\n" "Project-Id-Version: DB-GPT 0.3.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-03 15:25+0800\n" "POT-Creation-Date: 2023-11-03 15:33+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh_CN\n" "Language: zh_CN\n"
@ -35,56 +35,62 @@ msgstr ""
"Agent与插件能力是大模型能否自动化的核心在本的项目中原生支持插件模式大模型可以自动化完成目标。 同时为了充分发挥社区的优势" "Agent与插件能力是大模型能否自动化的核心在本的项目中原生支持插件模式大模型可以自动化完成目标。 同时为了充分发挥社区的优势"
"本项目中所用的插件原生支持Auto-GPT插件生态即Auto-GPT的插件可以直接在我们的项目中运行。" "本项目中所用的插件原生支持Auto-GPT插件生态即Auto-GPT的插件可以直接在我们的项目中运行。"
#: ../../modules/plugins.md:6 625763bc41fe417c8e4ea03ab2f8fdfc #: ../../modules/plugins.md:5 625763bc41fe417c8e4ea03ab2f8fdfc
msgid "" #, fuzzy
"The LLM (Language Model) suitable for the Plugin scene is * " msgid "The LLM (Language Model) suitable for the Plugin scene is"
"chatgpt3.5. * chatgpt4." msgstr "Plugin场景适用的LLM是 * chatgpt3.5. * chatgpt4."
msgstr "Plugin场景适用的LLM是 * "
"chatgpt3.5. * chatgpt4."
#: ../../modules/plugins.md:11 8c539e139f6648b2bef5dc683b8e093c #: ../../modules/plugins.md:6 b3bd64693a4f4bf8b64b9224d3e1532e
msgid "chatgpt3.5."
msgstr ""
#: ../../modules/plugins.md:7 46d9220e63384594b54c2c176077d962
msgid "chatgpt4."
msgstr ""
#: ../../modules/plugins.md:10 8c539e139f6648b2bef5dc683b8e093c
#, fuzzy #, fuzzy
msgid "Local Plugins" msgid "Local Plugins"
msgstr "插件" msgstr "插件"
#: ../../modules/plugins.md:13 2cc7ba992d524913b3377cad3bf747d3 #: ../../modules/plugins.md:12 2cc7ba992d524913b3377cad3bf747d3
msgid "1.1 How to write local plugins." msgid "1.1 How to write local plugins."
msgstr "" msgstr ""
#: ../../modules/plugins.md:15 eddffc1d2c434e45890a9befa1bb5160 #: ../../modules/plugins.md:14 eddffc1d2c434e45890a9befa1bb5160
msgid "" msgid ""
"Local plugins use the Auto-GPT plugin template. A simple example is as " "Local plugins use the Auto-GPT plugin template. A simple example is as "
"follows: first write a plugin file called \"sql_executor.py\"." "follows: first write a plugin file called \"sql_executor.py\"."
msgstr "" msgstr ""
#: ../../modules/plugins.md:45 06efbea552bb4dc7828d842b779e41d4 #: ../../modules/plugins.md:44 06efbea552bb4dc7828d842b779e41d4
msgid "" msgid ""
"Then set the \"can_handle_post_prompt\" method of the plugin template to " "Then set the \"can_handle_post_prompt\" method of the plugin template to "
"True. In the \"post_prompt\" method, write the prompt information and the" "True. In the \"post_prompt\" method, write the prompt information and the"
" mapped plugin function." " mapped plugin function."
msgstr "" msgstr ""
#: ../../modules/plugins.md:87 afd3cfb379bb463e97e515ae65790830 #: ../../modules/plugins.md:86 afd3cfb379bb463e97e515ae65790830
msgid "1.2 How to use local plugins" msgid "1.2 How to use local plugins"
msgstr "" msgstr ""
#: ../../modules/plugins.md:89 f43a70e4cb5c4846a5bb8df3853021ba #: ../../modules/plugins.md:88 f43a70e4cb5c4846a5bb8df3853021ba
msgid "" msgid ""
"Pack your plugin project into `your-plugin.zip` and place it in the " "Pack your plugin project into `your-plugin.zip` and place it in the "
"`/plugins/` directory of the DB-GPT project. After starting the " "`/plugins/` directory of the DB-GPT project. After starting the "
"webserver, you can select and use it in the `Plugin Model` section." "webserver, you can select and use it in the `Plugin Model` section."
msgstr "" msgstr ""
#: ../../modules/plugins.md:92 8269458bd7f5480dbc56100865eb1eb0 #: ../../modules/plugins.md:91 8269458bd7f5480dbc56100865eb1eb0
#, fuzzy #, fuzzy
msgid "Public Plugins" msgid "Public Plugins"
msgstr "插件" msgstr "插件"
#: ../../modules/plugins.md:94 ec5bb7b6b2cf464d8b8400f3dfd9a50e #: ../../modules/plugins.md:93 ec5bb7b6b2cf464d8b8400f3dfd9a50e
msgid "1.1 How to use public plugins" msgid "1.1 How to use public plugins"
msgstr "" msgstr ""
#: ../../modules/plugins.md:96 3025a85c905c49b6b2ac3f5c39c84c93 #: ../../modules/plugins.md:95 3025a85c905c49b6b2ac3f5c39c84c93
msgid "" msgid ""
"By default, after launching the webserver, plugins from the public plugin" "By default, after launching the webserver, plugins from the public plugin"
" library `DB-GPT-Plugins` will be automatically loaded. For more details," " library `DB-GPT-Plugins` will be automatically loaded. For more details,"
@ -92,17 +98,17 @@ msgid ""
"Plugins)" "Plugins)"
msgstr "" msgstr ""
#: ../../modules/plugins.md:98 e73d7779df254ba49fe7123ce06353aa #: ../../modules/plugins.md:97 e73d7779df254ba49fe7123ce06353aa
msgid "1.2 Contribute to the DB-GPT-Plugins repository" msgid "1.2 Contribute to the DB-GPT-Plugins repository"
msgstr "" msgstr ""
#: ../../modules/plugins.md:100 3297fb00dfc940e8a614c3858640cfe5 #: ../../modules/plugins.md:99 3297fb00dfc940e8a614c3858640cfe5
msgid "" msgid ""
"Please refer to the plugin development process in the public plugin " "Please refer to the plugin development process in the public plugin "
"library, and put the configuration parameters in `.plugin_env`" "library, and put the configuration parameters in `.plugin_env`"
msgstr "" msgstr ""
#: ../../modules/plugins.md:102 13280b270b304e139ed67e5b0dafa5b4 #: ../../modules/plugins.md:101 13280b270b304e139ed67e5b0dafa5b4
msgid "" msgid ""
"We warmly welcome everyone to contribute plugins to the public plugin " "We warmly welcome everyone to contribute plugins to the public plugin "
"library!" "library!"