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)
[**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 Step by Step**](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.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)
- [**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)
![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/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)
[**教程**](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.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 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)

View File

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

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

View File

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

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

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

View File

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