DevMate is a chatbot that assists developers in finding the code they need. Built using Python, Pathway, OpenAI, and Streamlit, DevMate utilizes advanced language models and real-time data to generate accurate and relevant code snippets. With its user-friendly interface, developers can easily enter their queries and receive customized code solutions. Whether you're a beginner or an experienced developer, DevMate is here to streamline your coding process.
https://devmate.streamlit.app/
- Code snippet generation: DevMate can generate code snippets based on user queries, making it easier for developers to find the code they need.
- Python integration: DevMate seamlessly integrates with Python projects, allowing for easy code integration.
- Pathway library: DevMate leverages the Pathway library to enhance code generation capabilities with live data and real-time pipelines.
- OpenAI integration: By utilizing OpenAI's powerful language models, DevMate provides accurate and relevant code snippets.
- Streamlit interface: DevMate's user-friendly interface is built using Streamlit, making it effortless to interact with the chatbot.
To get started with DevMate, follow these steps:
-
Clone the repository:
git clone https://github.com/alvin-dennis/DevMate.git
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Rename
.env.example
file to.env
and insert the required credentials -
Run Pathway Engine :
python3 app.py
-
Run the Streamlit app:
streamlit run main.py
-
Access the app in your browser at
http://localhost:8501
DevMate utilizes the following libraries:
- Python
- Pathway
- Requests
- OpenAI
- Streamlit
- Enter your query in the input field.
- Click the "Send" button to generate a code snippet based on your query.
- Copy the generated code snippet and use it in your project.
This project is licensed under the MIT License. See the LICENSE file for more information.