MentorGPT
MentorGPT is a web application that uses a chatbot to answer questions about the Python, Data Science, Machine Learning. The chatbot is connected to OpenAI's GPT-3 API. The application is built using Python, Flask and Vue.
Install / Use
/learn @Mahhheshh/MentorGPTREADME
Virtual-Mentor
Table of Contents
- About
- Setting up the environment
- Running the application
- application routes
- API Documentation
- To-Do
- Contributors
- License
About
MentorGPT is a web application that uses a chatbot to answer questions about the Python, Data Science, Machine Learning. The chatbot is connected to OpenAI's GPT-3 API. The application is built using Python, Flask and Vue.
Setting up the environment
You should have the following installed on your machine:
- python 3.10
- flask 2.2.3
- flask-cors 3.0.10
Running the application
- Clone the repository
git clone https://github.com/Mahhheshh/MenotGPT.git
- Create a virtual environment
pip install pipenv
pipenv shell
- Install the dependencies
pipenv install
- Run the application
python main.py
- Open the application in your browser
http://localhost:5000/
application routes
- GET /
http://localhost:5000/
- POST /ask
http://localhost:5000/ask
API Documentation
- POST /ask, request body
{
"question": "What is difference between lists and tuPle"
}
- POST /ask, response body
Returns a stream of data using Server-Sent Events.
setting up the environment(frontend)
- Install the dependencies
cd frontend
npm install
- Run the application
npm run dev -- --open
To-Do
- [ ] beautify the UI
Contributors
Contributions are welcome. Please open an issue or submit a pull request.
License
made with ❤️ by Mahesh
Related Skills
openhue
354.2kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
354.2kElevenLabs text-to-speech with mac-style say UX.
weather
354.2kGet current weather and forecasts via wttr.in or Open-Meteo
casdoor
13.3kAn open-source AI-first Identity and Access Management (IAM) /AI MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
