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.
- 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.
-
Setup:
- Clone the repository:
git clone https://github.com/yourusername/GeetaGPT.git
- Navigate to the project directory:
cd GeetaGPT
- Clone the repository:
-
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")
.
- Create a
-
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
- On Windows:
- Create a virtual environment:
-
Install Dependencies:
- Install required packages:
pip install -r requirements.txt
- Install required packages:
-
Run the Application:
- Start the Flask server:
python main.py
- Access the application in your browser: http://localhost:80/
- Start the Flask server:
Feel free to contribute! Follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
. - Commit your changes:
git commit -m "Add your feature"
. - Push to the branch:
git push origin feature/your-feature
. - Submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Special thanks to OpenAI 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!