diff --git a/README.md b/README.md index 7e3616dfe..e43d956c0 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,26 @@ Run on an RTX 4090 GPU (The origin mov not sped up!, [YouTube地址](https://www +# Dependencies +1. First you need to install python requirements. +``` +python>=3.9 +pip install -r requirements +``` +or if you use conda envirenment, you can use this command +``` +cd DB-GPT +conda env create -f environment.yml +``` + +2. MySQL Install + +In this project examples, we connect mysql and run SQL-Generate. so you need install mysql local for test. recommand docker +``` +docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa123456 -dit mysql:latest +``` +The password just for test, you can change this if necessary + # Install 1. 基础模型下载 关于基础模型, 可以根据[vicuna](https://github.com/lm-sys/FastChat/blob/main/README.md#model-weights)合成教程进行合成。 diff --git a/environment.yml b/environment.yml index 3ba070e56..ea7415df0 100644 --- a/environment.yml +++ b/environment.yml @@ -61,3 +61,7 @@ dependencies: - gradio-client==0.0.8 - wandb - fschat=0.1.10 + - llama-index=0.5.27 + - pymysql + - unstructured==0.6.3 + - pytesseract==0.3.10 diff --git a/requirements.txt b/requirements.txt index f0ddf8fb5..0582f5a41 100644 --- a/requirements.txt +++ b/requirements.txt @@ -52,4 +52,6 @@ gradio-client==0.0.8 wandb fschat=0.1.10 llama-index=0.5.27 -pymysql \ No newline at end of file +pymysql +unstructured==0.6.3 +pytesseract==0.3.10 \ No newline at end of file