Merge branch 'main' into dev

This commit is contained in:
csunny 2023-06-04 20:22:13 +08:00
commit af8da5ce99
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ MAX_POSITION_EMBEDDINGS=4096
#** DATABASE SETTINGS **#
#*******************************************************************#
LOCAL_DB_USER=root
LOCAL_DB_PASSWORD=aa12345678
LOCAL_DB_PASSWORD=aa123456
LOCAL_DB_HOST=127.0.0.1
LOCAL_DB_PORT=3306

View File

@ -123,7 +123,7 @@ As our project has the ability to achieve ChatGPT performance of over 85%, there
This project relies on a local MySQL database service, which you need to install locally. We recommend using Docker for installation.
```bash
$ docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest
$ docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa123456 -dit mysql:latest
```
We use [Chroma embedding database](https://github.com/chroma-core/chroma) as the default for our vector database, so there is no need for special installation. If you choose to connect to other databases, you can follow our tutorial for installation and configuration.
For the entire installation process of DB-GPT, we use the miniconda3 virtual environment. Create a virtual environment and install the Python dependencies.

View File

@ -113,7 +113,7 @@ TODO: 在终端展示上我们将提供多端产品界面。包括PC、手机
本项目依赖一个本地的 MySQL 数据库服务,你需要本地安装,推荐直接使用 Docker 安装。
```
docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest
docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa123456 -dit mysql:latest
```
向量数据库我们默认使用的是Chroma内存数据库所以无需特殊安装如果有需要连接其他的同学可以按照我们的教程进行安装配置。整个DB-GPT的安装过程我们使用的是miniconda3的虚拟环境。创建虚拟环境并安装python依赖包