devAI is a cooperative and friendly AI assistant built using the GPT-3.5 architecture and the Langchain framework. This assistant is designed to be resourceful and helpful, providing answers and solutions to a wide range of questions and tasks. The devAI project consists of multiple tools, a custom prompt template, output parser, and language models to provide the best possible assistance to users.
- Friendly and cooperative AI assistant
- Based on the advanced GPT-4 architecture and the Langchain framework
- Customizable prompt templates and output parsers
- Multiple tools for different tasks, such as web search, terminal commands, and user input
- Integration with various language models, such as ChatOpenAI, HuggingFaceHub, and GPT4All
- Docker and Docker Compose installed on your system
- Required environment variables in a
process.env
file:- OPENAI_API_KEY
- GOOGLE_API_KEY
- GOOGLE_CSE_ID
- HUGGINGFACEHUB_API_TOKEN
- Clone the devAI repository to your local machine.
- Navigate to the project directory.
- Create a
process.env
file and set the required environment variables. - Build the Docker image by running
docker-compose build
. - Start the Docker container using
docker-compose up -d
. - Access the running container with
docker exec -it python_app /bin/bash
. - Run the devAI application by executing
python devAI.py
. - Interact with the AI assistant by providing questions or prompts.
- To exit the application, type 'exit' and press Enter. To stop and remove the container, run
docker-compose down
.
Contributions to the devAI project are welcome! Feel free to submit a pull request or open an issue on GitHub.
This project is licensed under the MIT License - see the LICENSE file for details.