doc:llm usage document and install document update

This commit is contained in:
aries_ckt 2023-08-17 23:39:32 +08:00
parent 511ef93a30
commit be5ae8e1af
9 changed files with 92 additions and 21 deletions

View File

@ -151,7 +151,7 @@ The core capabilities mainly consist of the following parts:
![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black)
![macOS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=macos&logoColor=F0F0F0)
[**Quickstart**](https://db-gpt.readthedocs.io/en/latest/getting_started/getting_started.html)
[**Quickstart**](https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html)
### Language Switching
In the .env configuration file, modify the LANGUAGE parameter to switch to different languages. The default is English (Chinese: zh, English: en, other languages to be added later).

View File

@ -160,7 +160,7 @@ DB-GPT基于 [FastChat](https://github.com/lm-sys/FastChat) 构建大模型运
![macOS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=macos&logoColor=F0F0F0)
[**快速开始
**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/getting_started.html)
**](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/install/deploy/deploy.html)
### 多语言切换

View File

@ -2,7 +2,7 @@ Applications
==================================
DB-GPT product is a Web application that you can chat database, chat knowledge, text2dashboard.
.. image:: ./assets/DB-GPT-Product.jpg
.. image:: https://github.com/eosphoros-ai/DB-GPT/assets/13723926/f6564da2-bed3-43ad-9659-d00e0eeb255b
- Chat DB

View File

@ -20,5 +20,6 @@ DB-GPT product is a Web application that you can chat database, chat knowledge,
./install/deploy/deploy.md
./install/docker/docker.md
./install/docker_compose/docker_compose.md
./install/llm/llm.rst
./install/environment/environment.md
./install/faq/deploy_faq.md

View File

@ -2,9 +2,21 @@ LLM Usage
==================================
DB-GPT provides a management and deployment solution for multiple models. This chapter mainly discusses how to deploy different models.
.. image:: ./assets/llm/dbgpt_llm.jpg
.. image:: https://github.com/eosphoros-ai/DB-GPT/assets/13723926/a0d0840f-570a-4409-bb7d-bec6535a5f62
Multi LLMs Support, Supports multiple large language models, currently supporting
- 🔥 Vicuna-v1.5(7b,13b)
- 🔥 llama-2(7b,13b,70b)
- WizardLM-v1.2(13b)
- Vicuna (7b,13b)
- ChatGLM-6b (int4,int8)
- ChatGLM2-6b (int4,int8)
- guanaco(7b,13b,33b)
- Gorilla(7b,13b)
- Baichuan(7b,13b)
- OpenAI
- llama_cpp
- quantization

View File

@ -21,31 +21,31 @@ msgstr ""
#: ../../getting_started/application.rst:13
msgid "Application"
msgstr ""
msgstr "应用"
#: ../../getting_started/application.rst:2 4de9609785bc406aa6f3965f057f90d8
msgid "Applications"
msgstr ""
msgstr "应用"
#: ../../getting_started/application.rst:3 1ef4f6d81f7c4a2f9ee330fc890017dd
msgid ""
"DB-GPT product is a Web application that you can chat database, chat "
"knowledge, text2dashboard."
msgstr ""
msgstr "DB-GPT是一个可以和数据库对话知识问答智能报表的web应用"
#: ../../getting_started/application.rst:8 0451376d435b47bfa7b3f81c87683610
msgid "Chat DB"
msgstr ""
msgstr "Chat DB"
#: ../../getting_started/application.rst:9 4b1372dd4ae34881891c1dbcd83b92bf
msgid "Chat Knowledge"
msgstr ""
msgstr "知识问答"
#: ../../getting_started/application.rst:10 d8807a357f1144ccba933338cd0f619a
msgid "Dashboard"
msgstr ""
msgstr "Dashboard"
#: ../../getting_started/application.rst:11 f6a5806d4f0d4271bb0964935d9c2ff3
msgid "Plugins"
msgstr ""
msgstr "Plugins"

View File

@ -22,7 +22,7 @@ msgstr ""
#: ../../getting_started/install/docker/docker.md:1
#: ea5d6b95dea844b89d2f5d0e8f6ebfd3
msgid "Docker Install"
msgstr "Docker Install"
msgstr "Docker 安装"
#: ../../getting_started/install/docker/docker.md:4
#: c1125facb7334346a8e5b66bab892b1c

View File

@ -23,12 +23,12 @@ msgstr ""
#: be341d16f7b24bf4ad123ab78a6d855a
#, fuzzy
msgid "Environment Parameter"
msgstr "Env Parameter"
msgstr "环境变量说明"
#: ../../getting_started/install/environment/environment.md:4
#: 46eddb27c90f41548ea9a724bbcebd37
msgid "LLM MODEL Config"
msgstr "LLM MODEL Config"
msgstr "模型配置"
#: ../../getting_started/install/environment/environment.md:5
#: 7deaa85df4a04fb098f5994547a8724f

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-08-17 13:07+0800\n"
"POT-Creation-Date: 2023-08-17 23:29+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: zh_CN\n"
@ -20,22 +20,80 @@ msgstr ""
"Generated-By: Babel 2.12.1\n"
#: ../../getting_started/install/llm/llm.rst:2
#: ../../getting_started/install/llm/llm.rst:11
#: 93825fe9ba84497c8cdae74ab13a27ef
#: ../../getting_started/install/llm/llm.rst:23
#: 9e4baaff732b49f1baded5fd1bde4bd5
msgid "LLM Usage"
msgstr "LLM Usage"
msgstr "LLM使用"
#: ../../getting_started/install/llm/llm.rst:3 dc05eed3ffab448d971e7224829e0c3a
#: ../../getting_started/install/llm/llm.rst:3 d80e7360f17c4be889f220e2a846a81e
msgid ""
"DB-GPT provides a management and deployment solution for multiple models."
" This chapter mainly discusses how to deploy different models."
msgstr "DB-GPT提供了多模型的管理和部署方案本章主要讲解针对不同的模型该怎么部署"
#: ../../getting_started/install/llm/llm.rst:8 e99cff5c2dc84e53ab8adc626851825b
#: ../../getting_started/install/llm/llm.rst:18
#: 1cebd6c84b924eeb877ba31bd520328f
msgid ""
"Multi LLMs Support, Supports multiple large language models, currently "
"supporting"
msgstr "目前DB-GPT已适配如下模型"
#: ../../getting_started/install/llm/llm.rst:9 1163d5d3a8834b24bb6a5716d4fcc680
msgid "🔥 Vicuna-v1.5(7b,13b)"
msgstr "🔥 Vicuna-v1.5(7b,13b)"
#: ../../getting_started/install/llm/llm.rst:10
#: 318dbc8e8de64bfb9cbc65343d050500
msgid "🔥 llama-2(7b,13b,70b)"
msgstr "🔥 llama-2(7b,13b,70b)"
#: ../../getting_started/install/llm/llm.rst:11
#: f2b1ef2bfbde46889131b6852d1211e8
msgid "WizardLM-v1.2(13b)"
msgstr "WizardLM-v1.2(13b)"
#: ../../getting_started/install/llm/llm.rst:12
#: 2462160e5928434aaa6f58074b585c14
msgid "Vicuna (7b,13b)"
msgstr "Vicuna (7b,13b)"
#: ../../getting_started/install/llm/llm.rst:13
#: 61cc1b9ed1914e379dee87034e9fbaea
msgid "ChatGLM-6b (int4,int8)"
msgstr "ChatGLM-6b (int4,int8)"
#: ../../getting_started/install/llm/llm.rst:14
#: 653f5fd3b6ab4c508a2ce449231b5a17
msgid "ChatGLM2-6b (int4,int8)"
msgstr "ChatGLM2-6b (int4,int8)"
#: ../../getting_started/install/llm/llm.rst:15
#: 6a1cf7a271f6496ba48d593db1f756f1
msgid "guanaco(7b,13b,33b)"
msgstr "guanaco(7b,13b,33b)"
#: ../../getting_started/install/llm/llm.rst:16
#: f15083886362437ba96e1cb9ade738aa
msgid "Gorilla(7b,13b)"
msgstr "Gorilla(7b,13b)"
#: ../../getting_started/install/llm/llm.rst:17
#: 5e1ded19d1b24ba485e5d2bf22ce2db7
msgid "Baichuan(7b,13b)"
msgstr "Baichuan(7b,13b)"
#: ../../getting_started/install/llm/llm.rst:18
#: 30f6f71dd73b48d29a3647d58a9cdcaf
msgid "OpenAI"
msgstr "OpenAI"
#: ../../getting_started/install/llm/llm.rst:20
#: 9ad21acdaccb41c1bbfa30b5ce114732
msgid "llama_cpp"
msgstr "llama_cpp"
#: ../../getting_started/install/llm/llm.rst:9 6ed72b9ee02644bfb9a69219afdda01f
#: ../../getting_started/install/llm/llm.rst:21
#: b5064649f7c9443c9b9f15ec7fc02434
msgid "quantization"
msgstr "quantization"