Sign inSign up

chipprbots/chippr-agi

By chipprbots

Updated over 3 years ago

Chippr-AGI is an open-source ECS framework that uses AI models to automate tasks.

Image
1

672

chipprbots/chippr-agi repository overview

Chippr-AGI Docker Image

This repository contains the Docker image for Chippr-AGI, an open-source framework that uses AI models to automate task creation and prioritization. It combines the power of GPT-4 with actor-critic reinforcement learning to optimize the order and allocation of tasks for a given objective.

Getting Started

To use the Chippr-AGI Docker image, you'll first need to have Docker installed on your machine. If you haven't already, you can download it from the official Docker website.

Pull the Image

First, pull the Chippr-AGI Docker image from Docker Hub:

docker pull chipprbots/chippr-agi:latest
Run the Container

To run the Chippr-AGI container, you'll need to set up environment variables for your OpenAI API key and Redis credentials. Create a .env file with the following variables:

#redis setup
AGENT_ID="SOMETHING_CLEVER"
INDEX_NAME='vectorDB'
REDIS_URL="redis://REDISIP:6379"

# Language model setup
OPENAI_API_KEY="YOURKEY"
MODEL="text-davinci-003"
DEFAULT_TEMP=0.5
MAX_TOKEN_LENGTH=100
MATCH_LENGTH=3

# update this if needed....
OBJECTIVE="Write a best selling novel about a robot detective."

Replace your_api_key, your_redis_host, your_redis_port, and your_redis_password with your actual values.

Now, run the container with the following command:

docker run -d --name chippr-agi --env-file .env  chipprbots/chippr-agi:latest

This will start the Chippr-AGI container in detached mode, map port 3000 of the container to port 3000 of the host, and load the environment variables from the .env file.

Customizing Prompts

You can customize the prompts used by Chippr-AGI by editing the prompts.yaml file. To do this, you'll need to create a custom Docker image based on the Chippr-AGI image.

  1. Create a new directory for your custom Chippr-AGI image:
mkdir custom-chippr-agi
cd custom-chippr-agi
  1. Create a new Dockerfile with the following content:
FROM chipprbots/chippr-agi:latest

COPY prompts.yaml /app/prompts.yaml
  1. Create a prompts.yaml file in the same directory and customize it according to your needs.

  2. Build your custom image:

docker build -t yourusername/custom-chippr-agi:latest .
  1. Push your custom image to Docker Hub (optional):
docker push yourusername/custom-chippr-agi:latest
  1. To use your custom image, follow the same steps as before, but replace the image name with your custom image:
docker run -d --name custom-chippr-agi --env-file .env yourusername/custom-chippr-agi:latest

Contributing

We welcome contributions from the community. If you'd like to contribute to Chippr-AGI, please fork the repository on GitHub and submit a pull request. We recommend discussing your ideas with the community in the issues section before starting any major work.

License

This project is licensed under the APACHE-2.0 License. See the LICENSE file for more details.

Support and Community If you have any questions, need help, or want to contribute, join the Chippr-AGI community:

GitHub Issues: Report bugs, ask questions, and request features. GitHub Discussions: Participate in general discussions and get support from the community. We hope you enjoy using Chippr-AGI and find it useful for your projects! If you have any feedback or suggestions, don't hesitate to reach out to us.

Tag summary

Content type

Image

Digest

sha256:5178c0120

Size

398.9 MB

Last updated

over 3 years ago

docker pull chipprbots/chippr-agi