https://github.com/subh05sus/geetagpt
A GPT based Chatbot made with Flask which possesses knowledge about Shrimadvagwat Geeta and act like Lord Krishna
https://github.com/subh05sus/geetagpt
flask flask-application geeta gpt gpt-3 gpt3 python
Last synced: 9 months ago
JSON representation
A GPT based Chatbot made with Flask which possesses knowledge about Shrimadvagwat Geeta and act like Lord Krishna
- Host: GitHub
- URL: https://github.com/subh05sus/geetagpt
- Owner: subh05sus
- Created: 2023-04-01T07:10:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T15:07:19.000Z (over 2 years ago)
- Last Synced: 2025-04-03T20:04:52.337Z (about 1 year ago)
- Topics: flask, flask-application, geeta, gpt, gpt-3, gpt3, python
- Language: Python
- Homepage: https://geetagpt.subhadip.me
- Size: 40.6 MB
- Stars: 20
- Watchers: 2
- Forks: 15
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GeetaGPT
GeetaGPT is a chatbot built with Flask that embodies the persona of Lord Krishna, possessing extensive knowledge from Shrimadvagwat Geeta. The bot is powered by the OpenAI GPT-3.5 model, capable of answering life problems, providing advice, and offering motivation.
## Features
- **Divine Wisdom:** Acts as a replica of Lord Krishna, answering questions and offering advice based on the teachings of Shrimadvagwat Geeta.
- **Life Guidance:** Provides insightful responses to life problems and challenges.
- **Motivational Chat:** Offers motivation and uplifting messages for users feeling low.
## Usage Instructions
1. **Setup:**
- Clone the repository: `git clone https://github.com/yourusername/GeetaGPT.git`
- Navigate to the project directory: `cd GeetaGPT`
2. **Configuration:**
- Create a `.env` file in the root of the project.
- Add your OpenAI API key to the `.env` file: `API_KEY=your_openai_api_key`.
- Update `main.py` to load the API key from the environment: `OpenAIAPI = os.getenv("API_KEY")`.
3. **Environment Setup:**
- Create a virtual environment: `python -m venv venv`
- Activate the virtual environment:
- On Windows: `venv\Scripts\activate`
- On Unix or MacOS: `source venv/bin/activate`
4. **Install Dependencies:**
- Install required packages: `pip install -r requirements.txt`
5. **Run the Application:**
- Start the Flask server: `python main.py`
- Access the application in your browser: [http://localhost:80/](http://localhost:80/)
## Screenshots


## Contribution Guidelines
Feel free to contribute! Follow these steps:
1. Fork the repository.
2. Create a new branch: `git checkout -b feature/your-feature`.
3. Commit your changes: `git commit -m "Add your feature"`.
4. Push to the branch: `git push origin feature/your-feature`.
5. Submit a pull request.
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
## Acknowledgments
Special thanks to [OpenAI](https://platform.openai.com/) for providing the powerful GPT-3.5 model.
---
This project is maintained by [Your Name]. Feel free to reach out with any questions or suggestions!