Giter Club home page Giter Club logo

liuyih5098 / chatdev Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 10cl/chatdev

0.0 0.0 0.0 22.45 MB

ChatDev is an integrated multiple large language model Browser extension, that supports chat mode and game mode. you can personalize these AI agents, and use Visualized prompt flow to let Multi-Persona Self-Collaboration. AI town demo: https://chat-agent.github.io

Home Page: http://chatdev.toscl.com/

License: GNU General Public License v3.0

JavaScript 0.62% TypeScript 98.05% CSS 0.40% HTML 0.26% SCSS 0.67%

chatdev's Introduction

ChatDev: Visualize Your AI Agent

author license release last commit

English   |   Indonesia   |   简体中文   |   繁體中文   |   日本語

⚡️ Install

Get ChatDev for Chromium Get ChatDev for Microsoft Edge

Screenshot   |   Features   |   Bots   |   Installation   |   Changelog

ChatDev is an integrated multiple large language model Chrome extension, that supports chat mode and game mode. you can personalize these AI agents, and use Visualized prompt flow to let Multi-Persona Self-Collaboration.

📷 Screenshot

game-prompt-flow.png chat-prompt-flow.gif

✨ Features

  • Use different chatbots in one application, which currently supports ChatGPT, the new Bing Chat, Google Bard, Claude, and more than 10 open source models.
  • Invoking large model interfaces in the browser in the form of Webapis requires no code capability
  • Interact with NPCs in the form of games and discuss real needs
  • customize prompts(NPCs & location), and custom prompt flows(brain of their actions)
  • Once Prompt Flow is enabled, express your needs in one sentence, and NPCs will be automatically selected to form teams, perform quests, and present them in an interactive gameplay style.

🤖 Bots

Supported ChatGPT & iFlytek Spark & Bing & Bard & Claude & ChatGLM & Alpaca & Vicuna & Koala & Dolly & LLaMA & StableLM & OpenAssistant & ChatRWKV...

🔨 Installation

1. Install from Web Store

  1. Search for ChatDev in the Chrome Web Store and click "Install."
  2. Search for ChatDev in the Microsoft-Edge-Extensions and click "Get."

2. Manual Installation

  1. Download chatdev1.1.3.zip from the Releases page.
  2. Extract the files.
  3. In Chrome/Edge, open the extensions page (chrome://extensions or edge://extensions).
  4. Enable developer mode.
  5. Drag and drop the extracted folder onto the page to import it (do not delete the folder after importing).

3. Build from Source Code

  • Clone the source code.
  • Run yarn install to install dependencies.
  • Run yarn build to build the plugin.
  • Follow the steps in "Manual Installation" to load the dist folder into your browser.

📜 Changelog

  • v1.1.3

    • Flow_Dag_Yaml prompt type Add config prompt type, that is, do not send this node to the large model, and directly return the path content for parsing (Add Planning_Task_Team_Org configuration of NPC participating in the meeting)
    • Mouse over the markers (NPCs, furniture, etc.) to display prompt description and edit button
    • Default speed increased from 0.5 to 1, and reduced to 0.5 when chatting with NPCs
    • When starting a round table, automatically select the appropriate meeting address, draw the area of the meeting, and temporarily stop the player action.
    • The round table automatically ends when the player leaves the round table area
    • When you get close to an NPC, draw the area of the chat
    • When the NPC is less than 400 away from the player, the current activity record is not output, the distance is less than 100 and the chat is automatically requested, and the chat is automatically ended when the NPC is out of the chat area (> 200)
    • The icon in the upper left corner only keeps the button to control the volume, and cancelling the switch and one-click home function of the control prompt
    • Reduce the location change of the mark point, and support the mark address can be customized prompt, the location is defined as "Position_base64(xxx)"
    • Chat record storage is changed from localStorage to indexDb to prevent temporary over limit problems
    • Fixed an issue where the time loop would return home
    • Issue with modified air cannon messages
  • v1.1.1

    • prompt flow double-click the editable node
    • Import or export all configurations
    • prompt library sharing
  • v1.1.0

    • Support for multiple large language models
    • Customization of user roles
    • Support for custom prompts (actions, plans, etc.)
    • New visual editing for custom Prompt Flow
    • Support for switching between chat view and game view
    • Predefined Prompt Flows, enabling one-sentence requests to automatically select NPCs, form teams, execute tasks, and gamify presentations
    • Settings button for customizing APIs and selecting preferred models
    • Fixed API issues with iFlytek Spark model
  • v1.0.1

    • Added support for iFlytek Spark cognitive large language model
  • v1.0.0

    • Initial release of the AI town plugin based on ChatGPT

🤝 Acknowledgments

We sincerely thank the following projects for providing inspiration and reference: generative_agentschathub

Whether you want to explore the wonders of different large language models or create your own virtual town life, ChatDev will be your reliable assistant. Install it now and start exploring!

chatdev's People

Contributors

10cl avatar wong2 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.