Skip to content

Commit

Permalink
Merge branch 'main' of github.com:OpenBMB/ChatDev
Browse files Browse the repository at this point in the history
  • Loading branch information
钱忱 authored and 钱忱 committed Mar 1, 2024
2 parents 5ab0c8e + 45b339a commit 2666519
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 24 deletions.
3 changes: 2 additions & 1 deletion CompanyConfig/Art/ChatChainConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@
"self_improve": "False",
"web_spider": "False",
"incremental_develop": "False",
"with_memory": "False",
"background_prompt": "ChatDev is a software company powered by multiple intelligent agents, such as chief executive officer, chief human resources officer, chief product officer, chief technology officer, etc, with a multi-agent organizational structure and the mission of 'changing the digital world through programming'."
}
}
1 change: 1 addition & 0 deletions CompanyConfig/Human/ChatChainConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,6 @@
"self_improve": "False",
"web_spider": "False",
"incremental_develop": "False",
"with_memory": "False",
"background_prompt": "ChatDev is a software company powered by multiple intelligent agents, such as chief executive officer, chief human resources officer, chief product officer, chief technology officer, etc, with a multi-agent organizational structure and the mission of 'changing the digital world through programming'."
}
1 change: 1 addition & 0 deletions CompanyConfig/Incremental/ChatChainConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@
"self_improve": "False",
"web_spider": "False",
"incremental_develop": "True",
"with_memory": "False",
"background_prompt": "ChatDev is a software company powered by multiple intelligent agents, such as chief executive officer, chief human resources officer, chief product officer, chief technology officer, etc, with a multi-agent organizational structure and the mission of 'changing the digital world through programming'."
}
3 changes: 3 additions & 0 deletions SRDD/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ Welcome to SRDD (Software Requirement Description Dataset), a large prompted dat
<p align="center">
<img src='./SRDD_Category.png' width=800>
</p>

# License
The SRDD dataset is licensed under **CC BY-NC 4.0**. This license explicitly permits non-commercial use of the data. We would like to emphasize that any models trained using these datasets should strictly adhere to the non-commercial usage restriction and should be employed exclusively for research purposes.
67 changes: 49 additions & 18 deletions readme/README-Chinese.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,39 @@
## 📖 概述

- **ChatDev** 是一家**虚拟软件公司**,通过各种不同角色的**智能体**
运营,包括执行官技术官程序员、测试员等。这些智能体形成了一个多智能体组织结构,其使命是“通过编程改变数字世界”。ChatDev内的智能体通过参加专业的功能研讨会来
运营,包括执行官<img src='../visualizer/static/figures/ceo.png' height=20>,产品官<img src='../visualizer/static/figures/cpo.png' height=20>,技术官<img src='../visualizer/static/figures/cto.png' height=20>,程序员 <img src='../visualizer/static/figures/programmer.png' height=20>,审查员<img src='../visualizer/static/figures/reviewer.png' height=20>,测试员<img src='../visualizer/static/figures/tester.png' height=20>,设计师<img src='../visualizer/static/figures/designer.png' height=20> 等。这些智能体形成了一个多智能体组织结构,其使命是“通过编程改变数字世界”。ChatDev内的智能体通过参加专业的功能研讨会来
**协作**,包括设计、编码、测试和文档编写等任务。
- ChatDev的主要目标是提供一个基于大型语言模型(LLM)的**易于使用****高度可定制**并且**可扩展**的框架,它是研究群体智能的理想场景。

## 📰 新闻

- **2023年9月1日:Art模式现已可用!您可以使用智能体生成软件中使用的图像,尝试 `python3 run.py --config "Art"`**
* **2024年1月25日: 已在 ChatDev 中更新了 "Experiential Co-Learning" 模块。尽请查阅 [Experiential Co-Learning 指南](../wiki.md#co-tracking)**
* 2023年12月28日: 我们发布了新范式"**Experiential Co-Learning**"。在这个方法中,instructor和assistant两个智能体通过积累以捷径为导向的经验来有效解决新任务,减少重复性错误并提高效率。 如有兴趣可查看我们的[预印本论文](https://arxiv.org/abs/2312.17025), 相关技术我们也会尽快合并到ChatDev的开源版本,敬请期待。
<p align="center">
<img src='../misc/ecl.png' width=860>
</p>
* 2023年11月15日: 我们基于ChatDev发布了SaaS零代码平台,使软件开发工作者和创新型企业家能以极低的成本和门槛,高效地制作软件。可在网页端注册体验: https://chatdev.modelbest.cn/
<p align="center">
<img src='../misc/saas.png' width=560>
</p>
- 2023年11月2号: 现已推出 **Incremental development**模式,允许ChatDev在已有代码的基础上进行增量开发。 可尝试 `--config "incremental" --path "[source_code_directory_path]"` 来驱动。
<p align="center">
<img src='../misc/increment.png' width=700>
</p>

- 2023年10月26日: ChatDev现在支持使用Docker来安全地执行程序 (感谢贡献者 [ManindraDeMel](https://github.com/ManindraDeMel))。 请参照 [Docker使用指南](../wiki.md#docker-start).
<p align="center">
<img src='../misc/docker.png' width=400>
</p>
- 2023年9月25日: **Git** 模式现在已可用:使程序员<img src='../visualizer/static/figures/programmer.png' height=20> 去使用Git进行版本控制。 想要尝试这个功能, 可简便地在``ChatChainConfig.json``中,将 ``"git_management"`` 的开关改为 ``"True"`` 。 具体可见 [指引](../wiki.md#git-mode).
<p align="center">
<img src='../misc/github.png' width=600>
</p>
- 2023年9月20日:**Human-Agent-Interaction** 模式现在已可用! 您可以扮演审查员<img src='../visualizer/static/figures/reviewer.png' height=20> 的角色,参与到ChatDev智能体团队的工作流程中,给予程序员<img src='../visualizer/static/figures/programmer.png' height=20> 建议;
尝试 ``python3 run.py --task [description_of_your_idea] --config "Human"``. 具体见 [指引](../wiki.md#human-agent-interaction)[示例](../WareHouse/Gomoku_HumanAgentInteraction_20230920135038)
<p align="center">
<img src='../misc/Human_intro.png' width=600>
</p>
- 2023年9月1日:**Art**模式现已可用!您可以驱动设计师<img src='../visualizer/static/figures/designer.png' height=20> 生成软件中所需的图像。可通过 `python3 run.py --config "Art"`尝试。**
请参见此处的[示例](../WareHouse/gomokugameArtExample_THUNLP_20230831122822)
- 2023年8月28日:系统已公开提供使用。
- 2023年8月17日:V1.0.0版本已准备好发布。
Expand Down Expand Up @@ -98,6 +124,11 @@ https://github.com/OpenBMB/ChatDev/assets/11889052/80d01d2f-677b-4399-ad8b-f7af9
cd WareHouse/project_name_DefaultOrganization_timestamp
python main.py
```

## 🐳 通过Docker执行ChatDev

- 我们感谢 [ManindraDeMel](https://github.com/ManindraDeMel) 提供Docker的支持。具体请参照 [Docker指南](wiki.md#docker-start) 使用。


## ✨️ 进阶技能

Expand Down Expand Up @@ -131,21 +162,14 @@ request一样简单。这是一个示例:执行命令`python3 run.py --task "d

**参观社区制造分享的[软件](../Contribution.md)!**

### 软件分享者

<a href="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/qianc62"><img src="https://avatars.githubusercontent.com/u/48988402?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/thinkwee"><img src="https://avatars.githubusercontent.com/u/11889052?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/NA-Wen"><img src="https://avatars.githubusercontent.com/u/92134380?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/JiahaoLi2003"><img src="https://avatars.githubusercontent.com/u/111221887?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/Alphamasterliu"><img src="https://avatars.githubusercontent.com/u/110011045?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/GeekyWizKid"><img src="https://avatars.githubusercontent.com/u/133981481?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/Munsif-Raza-T"><img src="https://avatars.githubusercontent.com/u/76085202?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/djbritt"><img src="https://avatars.githubusercontent.com/u/28036018?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/Classified3939"><img src="https://avatars.githubusercontent.com/u/102702965?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/chenilim"><img src="https://avatars.githubusercontent.com/u/46905241?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/delconis"><img src="https://avatars.githubusercontent.com/u/5824478?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/eMcQuill"><img src="https://avatars.githubusercontent.com/u/139025701?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
<a href="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/Aizhouym"><img src="https://avatars.githubusercontent.com/u/105852026?v=4" alt="Contributor" style="width:5%; border-radius: 50%;"/></a>
## 👨‍💻‍ 软件贡献者

<a href="https://github.com/OpenBMB/ChatDev/graphs/contributors">
<img src="https://contrib.rocks/image?repo=OpenBMB/ChatDev" />
</a>

[contrib.rocks](https://contrib.rocks) 自动生成。


## 📑 引用

Expand Down Expand Up @@ -174,6 +198,13 @@ request一样简单。这是一个示例:执行命令`python3 run.py --task "d
- 源代码采用Apache 2.0许可证授权。
- 数据集采用CC BY NC 4.0许可证授权,仅允许非商业用途。请注意,使用这些数据集训练的任何模型不应用于研究以外的其他目的。

## 🤝 致谢

<a href="http:https://nlp.csai.tsinghua.edu.cn/"><img src="../misc/thunlp.png" height=50pt></a>&nbsp;&nbsp;
<a href="https://modelbest.cn/"><img src="../misc/modelbest.png" height=50pt></a>&nbsp;&nbsp;
<a href="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/OpenBMB/AgentVerse/"><img src="../misc/agentverse.png" height=50pt></a>&nbsp;&nbsp;
<a href="https://aibrb.com/introducing-herbie-your-super-employee-for-streamlined-productivity/"><img src="https://aibrb.com/wp-content/uploads/2023/09/Featured-on-AIBRB.com-white-1.png" height=50pt></a>


## 联系方式

Expand Down
3 changes: 2 additions & 1 deletion readme/README-Japanese.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
</p>

## 🎉 ニュース
* **2023年12月28日: 私達は、インストラクターとアシスタントエージェントが、新しいタスクを効果的に解決するためのショートカット指向の経験を蓄積することで、反復ミスを減らし、効率を高める革新的なアプローチである経験的共学習を紹介します。https://arxiv.org/abs/2312.17025 にてプレプリント論文をチェックしてください。この技術は間もなく ChatDev に統合されます。**
* **2024年1月25日: ChatDev に体験型共学習モジュールを統合しました。[体験型共学習ガイド](../wiki.md#co-tracking)をご覧ください。**
* 2023年12月28日: 私達は、インストラクターとアシスタントエージェントが、新しいタスクを効果的に解決するためのショートカット指向の経験を蓄積することで、反復ミスを減らし、効率を高める革新的なアプローチである経験的共学習を紹介します。https://arxiv.org/abs/2312.17025 にてプレプリント論文をチェックしてください。この技術は間もなく ChatDev に統合されます。
<p align="center">
<img src='../misc/ecl.png' width=860>
</p>
Expand Down
4 changes: 2 additions & 2 deletions readme/README-Spanish.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## 📖 Overview

- **ChatDev** es una **empresa de software virtual** que opera a través de varios **agentes inteligentes** que desempeñan diferentes roles, incluyendo al Director Ejecutivo <img src='../visualizer/static/figures/ceo.png' height=20>, Director de Producto <img src='../visualizer/static/figures/cpo.png' height=20>, Director Tecnológico <img src='../visualizer/static/figures/cto.png' height=20>, programador <img src='../visualizer/static/figures/programmer.png' height=20>, revisor <img src='../visualizer/static/figures/reviewer.png' height=20>, tester <img src='../visualizer/static/figures/tester.png' height=20>, diseñador de arte <img src='../visualizer/static/figures/designer.png' height=20>. Estos agentes forman una estructura organizacional multi-agente y están unidos por una misión de "revolucionar el mundo digital a través de la programación." Los agentes dentro de ChatDev **colaboran** participando en seminarios funcionales especializados, incluyendo tareas como diseñar, codificar, probar y documentar.
- El objetivo principal de ChatDev es ofrecer un marco de trabajo **fácil de usar**, **altamente personalizable** y **extensible**, que se basa en modelos de grandems modelos de lenguaje (LLMs, por sus siglas en inglés) y sirve como un escenario ideal para estudiar la inteligencia colectiva.
- El objetivo principal de ChatDev es ofrecer un marco de trabajo **fácil de usar**, **altamente personalizable** y **extensible**, que se basa en modelos de grandes modelos de lenguaje (LLMs, por sus siglas en inglés) y sirve como un escenario ideal para estudiar la inteligencia colectiva.
<p align="center">
<img src='../misc/company.png' width=600>
</p>
Expand All @@ -36,7 +36,7 @@
* 16 de julio de 2023: Se publicó el [artículo preprint](https://arxiv.org/abs/2307.07924) asociado con este proyecto.
* 30 de junio de 2023: Se lanzó la versión inicial del repositorio de ChatDev.

## ❓ ¿Que puede hcaer ChatDev?
## ❓ ¿Que puede hacer ChatDev?

![intro](../misc/intro.png)

Expand Down
7 changes: 5 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ tiktoken==0.4.0
virtualenv==20.23.0
Werkzeug==2.3.6
Markdown==3.4.4
Pillow==10.1.0
Pillow==10.2.0
Wikipedia-API==0.6.0
beautifulsoup4==4.12.2
beautifulsoup4==4.12.2
faiss-cpu==1.7.4
pyyaml==6.0
easydict==1.10

0 comments on commit 2666519

Please sign in to comment.