Skip to content

KetoDietChatBot is an AI-powered food guru 🍳, dishing out nutritional info and keto-friendliness ratings πŸ₯‘, so you can keep your keto game strong πŸ’ͺ and tasty πŸ˜‹!

Notifications You must be signed in to change notification settings

Smailya/KetoBotAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Keton - AI Keto Diet Assistant Welcome to Keton, your AI-powered assistant for the ketogenic diet! Keton is designed to help users make informed dietary choices by providing detailed nutritional information and advice on keto-friendly foods. Features Food Information: Get detailed information about calories, protein, carbs, and more. Keto-Friendly Guidance: Keton will inform you if a food is keto-friendly or suggest alternatives if it's not. Real-Time Interaction: Engage with Keton in real-time to get instant feedback on your dietary queries. Error Handling: The assistant is equipped to handle rate limit errors and ensures a smooth user experience. How It Works Keton uses the OpenAI GPT-3.5-turbo model to understand and respond to user queries. When you ask Keton about a specific food, it will provide you with the following information: Caloric content Protein and carbohydrate levels Keto-friendliness assessment Suggestions for keto-friendly alternatives if applicable Getting Started Prerequisites Python 3.x An OpenAI API key

Install the required packages: pip install openai

Usage Set your OpenAI API key in the openai.api_key variable. Run the main.py file: python main.py Interact with Keton by typing your questions about food and keto diet. Example You: Is avocado keto-friendly? Chatbot: Avocado is very keto-friendly! It is high in healthy fats, moderate in protein, and low in carbs, making it an excellent choice for a ketogenic diet.

Error Handling If you encounter a rate limit error, Keton will pause for 60 seconds before retrying to ensure a smooth experience. Contributing Contributions are welcome! Feel free to open an issue or submit a pull request with improvements. Contact For any inquiries or suggestions, please reach out to me on linkedin.

About

KetoDietChatBot is an AI-powered food guru 🍳, dishing out nutritional info and keto-friendliness ratings πŸ₯‘, so you can keep your keto game strong πŸ’ͺ and tasty πŸ˜‹!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages