ChefPal is a Streamlit-based multi-agent web application leveraging OpenAI's GPT-4o-mini model to provide personalized, nutritional recipe recommendations, step-by-step cooking guidance, and nutritional insights.
- Intelligent Ingredient Parsing: Extract detailed nutritional data and tags from raw ingredients.
- Allergy and Diet Filtering: Automatically filters recipes according to allergies and dietary restrictions.
- Customized Recipe Recommendations: Unique recipes tailored to individual taste preferences.
- Interactive Cooking Assistant: Step-by-step cooking instructions and real-time voice assistance.
- Nutritional Visualization: Clear nutritional breakdown presented through intuitive charts.
- Multi-Agent System: Seamlessly integrates multiple AI agents to optimize recipe recommendation, filtering, and cooking assistance.
- Streamlit: Interactive UI framework.
- React: Used for building the real-time voice-based cooking assistant.
- OpenAI GPT-4o: AI for natural language processing.
- LangChain: Integration with language models.
- Matplotlib: Nutritional data visualization.
-
Step 1: Clone the Repository
git clone <repository_url> cd <repository_directory>
-
Step 2: Install Dependencies
pip install streamlit langchain_openai openai matplotlib
-
Step 3: Configure API Key Create a
.envfile:OPENAI_API_KEY=your_api_key_here
-
Step 4: Run the Application
streamlit run your_script_name.py
The application opens automatically in your default browser.
- Enter ingredients in the sidebar.
- Specify allergies, dietary, and taste preferences.
- Click Recommend Recipes.
- Select recipes for detailed cooking instructions and nutritional insights.
- Use the Live Cooking Assistant for hands-free cooking guidance.
- Real-time voice interface.
- Run your local voice-assistant server at:
http://localhost:3000
- OpenAI GPT models
- Streamlit and LangChain communities
- Arti Panchal: https://github.com/artipanchal
- Krish Ranawat: https://github.com/krishhhr
- Manan Shah: https://github.com/MananShah25