ChatDev IDE is a tools for building your AI agent, Whether it's NPCs in games or powerful agent tools, you can design what you want for this platform.
It accelerates prompt engineering through JavaScript Support that allows implementing complex prompting techniques.
https://youtu.be/O0gC2Sxm0EQ?feature=shared
Feature | ChatDev IDE | ChatDev(OpenBMB) |
---|---|---|
Programming Approach | TypeScript | Python Code |
WorkFlow | promptflowx | ChatChainConfig.json |
Supported LLMs | Rich Variety | OpenAI-only |
PromptIDE | ✅ | ❌ |
RPG Game | ✅ | ❌ |
Scalable | ✅ | ❌ |
One-click Deployment | ✅ | ❌ |
Generative_agents_dev is the most exciting part, all the roles you can customize, you can design a mathematician, a psychological analysis expert to solve various problems for you, you just need to define a reasonable Prompt role definition, the richness of the map will be completely controlled by you, if you are satisfied with your design, you can also share it with us, we will recommend it to other users. In Game Window, you can choose your favorite large model on the left, on the map, control the NPC's actions through the direction keys or mouse, when you are close to the NPC or reach the marked position, the NPC will actively trigger the cold start response, or actively enter your chat content in the input box below. the game is based on a simulated AI town social environment, you can get close to the NPC or walk to a specific location, through the input and NPC to communicate or chat with yourself in a specific location.
Choose Chat Window, and click Switch to Chat Mode...
in the upper right corner, select your favorite large model on the left, Chat Window will be a regular LLM Chat UI,
and all your inputs will be through the normal LLM interface, output the reply of the large model.
Promptflowx is a suite of development tools designed to streamline the end-to-end development cycle of LLM-based AI applications, from ideation, prototyping, testing, evaluation. It makes prompt engineering much easier and enables you to build LLM apps with production quality.
Prompt Flow
and the prompt content and JavaScript script of the nodeCreate and iteratively develop flow with PromptFow Editor
left editor is the YAML file of PromptFlow, where path
and func
are highlighted, indicating that a custom Prompt is referenced. You can move the mouse and click on the node on path
or func
, and the right side will display the Prompt you customized on the node. The rightmost folded interface is the visual Prompt Flow. You can also edit the Prompt content of the node by double-clicking the node.
When you modify the YAML file on the left, the visual Prompt Flow on the right will be updated in real time.
While how LLMs work may be elusive to many developers, how LLM apps work is not - they essentially involve a series of calls to external services such as LLMs/databases/search engines, or intermediate data processing, all glued together. Thus LLM apps are merely Directed Acyclic Graphs (DAGs) of function calls. These DAGs are flows in prompt flow. By observing many internal use cases, we learned that deeper insight into the detail of the execution is critical. Establishing a systematic method for tracking interactions with external systems is one of design priority. Consequently, We adopted an unconventional approach - prompt flow has a YAML file describing how function calls (we call them Tools) are executed and connected into a Directed Acyclic Graph (DAG).
You can export your prompt flow to a json file and import it to another devices. it contains all the information about your prompt flow, including the prompt, the JavaScript functions, and the YAML file.
ChatGpt、Bing、Bard、Claude、LLama 2、Vicuna、Falcon、Qianwen、iFlytek Spark
chatdev1.5.0.zip
from the Releases page.chrome://extensions
or edge://extensions
).yarn install
to install dependencies.yarn build
to build the plugin.dist
folder into your browser.