Skip to content

devAI is a Python chatbot for developers. Ask it coding questions or for project help, and it will provide relevant responses. Built with LangChain, it uses natural language processing to understand your queries. In beta, but constantly improving.

License

PascualFort/devAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devAI

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.

Features

  • 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

Getting Started

Prerequisites

  • 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

Installation and Running

  1. Clone the devAI repository to your local machine.
  2. Navigate to the project directory.
  3. Create a process.env file and set the required environment variables.
  4. Build the Docker image by running docker-compose build.
  5. Start the Docker container using docker-compose up -d.
  6. Access the running container with docker exec -it python_app /bin/bash.
  7. Run the devAI application by executing python devAI.py.
  8. Interact with the AI assistant by providing questions or prompts.
  9. To exit the application, type 'exit' and press Enter. To stop and remove the container, run docker-compose down.

Contributions

Contributions to the devAI project are welcome! Feel free to submit a pull request or open an issue on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

devAI is a Python chatbot for developers. Ask it coding questions or for project help, and it will provide relevant responses. Built with LangChain, it uses natural language processing to understand your queries. In beta, but constantly improving.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published