mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-08-06 04:48:33 +00:00
Merge branch 'main' of https://github.com/OpenBMB/ChatDev
This commit is contained in:
commit
946beac3cd
@ -1 +0,0 @@
|
|||||||
Subproject commit e9657636f66293a61b211b414180435d22bfe8c2
|
|
||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit 808cab1c21f34c4bf8be161552651bf7fc50acda
|
|
||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit 5f7c9d5f1d26497c43cf1a274e7adc2f8ab09ea1
|
|
||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit c581556f7ca408d78e4265a1dad2ad78d041d9fb
|
|
||||||
30
wiki.md
30
wiki.md
@ -4,33 +4,7 @@
|
|||||||
|
|
||||||
### 1. Install `ChatDev`:
|
### 1. Install `ChatDev`:
|
||||||
|
|
||||||
- **Clone the GitHub Repository:** Begin by cloning the repository using the command:
|
- Visit the [quickstart section](README.md#%EF%B8%8F-quickstart) of readme for installation instructions.
|
||||||
```
|
|
||||||
git clone https://github.com/OpenBMB/ChatDev.git
|
|
||||||
```
|
|
||||||
- **Set Up Python Environment:** Ensure you have a Python environment of version 3.9 or higher. You can create and
|
|
||||||
activate this environment using the following commands, replacing `ChatDev_conda_env` with your preferred environment
|
|
||||||
name:
|
|
||||||
```
|
|
||||||
conda create -n ChatDev_conda_env python=3.9 -y
|
|
||||||
conda activate ChatDev_conda_env
|
|
||||||
```
|
|
||||||
- **Install Dependencies:** Move into the `ChatDev` directory and install the necessary dependencies by running:
|
|
||||||
```
|
|
||||||
cd ChatDev
|
|
||||||
pip3 install -r requirements.txt
|
|
||||||
```
|
|
||||||
- **Set OpenAI API Key:** Export your OpenAI API key as an environment variable. Replace `"your_OpenAI_API_key"` with
|
|
||||||
your actual API key. Remember that this environment variable is session-specific, so you'll need to set it again if
|
|
||||||
you open a new terminal session.
|
|
||||||
On Unix/Linux:
|
|
||||||
```
|
|
||||||
export OPENAI_API_KEY="your_OpenAI_API_key"
|
|
||||||
```
|
|
||||||
On Windows:
|
|
||||||
```
|
|
||||||
$env:OPENAI_API_KEY="your_OpenAI_API_key"
|
|
||||||
```
|
|
||||||
|
|
||||||
### 2. Start building software in one command:
|
### 2. Start building software in one command:
|
||||||
|
|
||||||
@ -88,7 +62,7 @@
|
|||||||
|
|
||||||
## Local Demo
|
## Local Demo
|
||||||
|
|
||||||
- you can start a flask app fist get a local demo, including enhanced visualized logs, replay demo, and a simple
|
- you can start a flask app first to get a local demo, including enhanced visualized logs, replay demo, and a simple
|
||||||
ChatChain Visualizer.
|
ChatChain Visualizer.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user