mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-04-25 19:28:09 +00:00
Merge pull request #45 from OpenBMB/lijiahao2022-patch-3
Update README-Chinese.md
This commit is contained in:
commit
781527e410
@ -55,7 +55,8 @@ https://github.com/OpenBMB/ChatDev/assets/11889052/80d01d2f-677b-4399-ad8b-f7af9
|
||||
```
|
||||
|
||||
4. **设置OpenAI API密钥:** 将您的OpenAI API密钥导出为环境变量。将`"your_OpenAI_API_key"`
|
||||
替换为您的实际API密钥。请注意,此环境变量是特定于会话的,因此如果打开新的终端会话,您需要重新设置它。 在Unix/Linux系统上:
|
||||
替换为您的实际API密钥。请注意,此环境变量是特定于会话的,因此如果打开新的终端会话,您需要重新设置它。
|
||||
在Unix/Linux系统上:
|
||||
|
||||
```
|
||||
export OPENAI_API_KEY="your_OpenAI_API_key"
|
||||
@ -69,19 +70,33 @@ https://github.com/OpenBMB/ChatDev/assets/11889052/80d01d2f-677b-4399-ad8b-f7af9
|
||||
|
||||
5. **构建您的软件:** 使用以下命令启动生成您的软件,将`[description_of_your_idea]`替换为您的想法描述,将`[project_name]`
|
||||
替换为您想要的项目名称:
|
||||
|
||||
在Unix/Linux系统上:
|
||||
|
||||
```
|
||||
python3 run.py --task "[description_of_your_idea]" --name "[project_name]"
|
||||
```
|
||||
|
||||
|
||||
在Windows系统上:
|
||||
|
||||
```
|
||||
python run.py --task "[description_of_your_idea]" --name "[project_name]"
|
||||
```
|
||||
6. **运行您的软件:** 生成后,您可以在`WareHouse`
|
||||
目录下的特定项目文件夹中找到您的软件,例如`project_name_DefaultOrganization_timestamp`。在该目录中运行以下命令来运行您的软件:
|
||||
|
||||
在Unix/Linux系统上:
|
||||
|
||||
```
|
||||
cd WareHouse/project_name_DefaultOrganization_timestamp
|
||||
python3 main.py
|
||||
```
|
||||
|
||||
|
||||
在Windows系统上:
|
||||
|
||||
```
|
||||
cd WareHouse/project_name_DefaultOrganization_timestamp
|
||||
python main.py
|
||||
```
|
||||
|
||||
## ✨️ 进阶技能
|
||||
|
||||
有关更详细的信息,请参阅我们的[Wiki](wiki.md),您可以在其中找到:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user