Sign inSign up

sheepgreen/chatdev-frontend

By sheepgreen

Updated 15 days ago

(v2 series)https://github.com/OpenBMB/ChatDev

Image
Machine learning & AI
0

248

sheepgreen/chatdev-frontend repository overview

Use it with backend

ChatDevDIY

Upstream Repository: https://github.com/OpenBMB/ChatDev

ChatDev 2.0 has evolved from a single-use CLI container into a decoupled, persistent Web service with separated frontend and backend components. This repository provides pre-built production images. You can directly pull and run them without configuring a local development environment.

docker-compose.yml Example

Please create a docker-compose.yml file and paste the following content into it. Remember to change the BASE_URL as you wish and replace the API_KEY with your actual key:

services:
  backend:
    image: sheepgreen/chatdev-backend   # or ghcr.io/slippersheepig/chatdev-backend
    container_name: chatdev_backend
    environment:
      - BASE_URL=https://api.openai.com/v1
      - API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    volumes:
      - ./WareHouse:/app/WareHouse
    restart: unless-stopped
  frontend:
    image: sheepgreen/chatdev-frontend   # or ghcr.io/slippersheepig/chatdev-frontend
    container_name: chatdev_frontend
    environment:
      - BACKEND_URL=http://backend:6400
    ports:
      - "8080:80"
    depends_on:
      - backend
    restart: unless-stopped

Run and Usage

  • Start Services: Execute the docker compose up -d command to start both the frontend and backend containers in the background.
  • Access the Web Console: Once the services are running, open http://localhost:8080 in your browser to use the Web console for creating and running workflows.
  • Retrieve Generated Artifacts: The artifacts generated by the workflows are saved in the WareHouse directory.

Tag summary

Content type

Image

Digest

sha256:a95fdcc01

Size

89.1 MB

Last updated

15 days ago

docker pull sheepgreen/chatdev-frontend