{"repo":"myselfshravan/AI-Meal-Planner","free":true,"listed":false,"github":"https://github.com/myselfshravan/AI-Meal-Planner","clone":"git clone https://github.com/myselfshravan/AI-Meal-Planner.git","description":"This project is a meal planning app that generates personalized meal plans based on a user's caloric needs and Personal Information. It utilizes natural language processing to generate creative meal ideas using ingredients selected by the greedy algorithm.","language":"Python","stars":56,"topics":["ai","anthropic","python","streamlit"],"license":null,"category":"mcp-servers","readme_excerpt":"AI Meal Planner App This project is a meal planning app that generates personalized meal plans based on a user's caloric needs and food preferences. It uses Llama-3 70B through Groq API to generate creative meal ideas using ingredients selected by the algorithm. Try the app here Demo Features - Calculates daily calorie needs based on user inputs (age, height, weight, gender) - Supports both metric (kg, cm) and imperial (lb, ft + in) units - Allows selection of food preferences and allergies/restrictions - Generates personalized meal plans (breakfast, lunch, dinner) using knapsack algorithm to optimize calorie targets - Creates creative meal names and descriptions using Llama-3 70B AI model - Displays detailed nutritional information for each meal Technology - Python - Streamlit for web interface - Pandas for data manipulation - Llama-3 70B via Groq API for AI text generation - Knapsack algorithm for optimal meal planning Add your API key to .streamlit/secrets.toml : Meal Planning Algorithm The app uses the Knapsack algorithm to optimize meal planning: 1. Calculates target calories for breakfast (50%), lunch (33%), and dinner (17%) based on BMR 2. For each meal: - Considers all available food items as potential choices - Optimizes selection to maximize calories while staying under target - Uses dynamic programming to find the optimal combination of items - Returns selected food items and total calories The Knapsack algorithm ensures optimal food selection to meet calorie targe","default_branch":null,"files":null,"tree":[],"storefront":"/r/myselfshravan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/myselfshravan/AI-Meal-Planner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}