hackquest logo

RecipeAI

Discover delicious recipes with the ingredients you have!

Videos

Description

RecipeAI is an innovative web application that revolutionizes the way people approach cooking by leveraging the power of artificial intelligence and GaiaNet's cutting-edge technology. Our project addresses a common household dilemma: standing in front of an open refrigerator, wondering what to cook with the available ingredients.

At its core, RecipeAI utilizes GaiaNet's public nodes to access a state-of-the-art language model, specifically their Gemma model. This integration allows us to tap into a vast knowledge base of culinary expertise, enabling our application to generate creative, personalized recipes based on the ingredients users have on hand.

Here's how RecipeAI works:

  1. User Input: Through a sleek, user-friendly interface, users input the ingredients they have available in their kitchen. They can also specify any dietary restrictions or preferences.
  2. AI-Powered Recipe Generation: This is where GaiaNet's technology shines. We send a carefully crafted prompt to GaiaNet's public node, which hosts the Gemma language model. The prompt includes the user's ingredients and any special instructions.
  3. Culinary Creativity: The Gemma model, accessed through GaiaNet's infrastructure, processes this information and generates a complete recipe. This isn't just a list of ingredients and steps; it's a thoughtfully crafted culinary creation that considers flavor combinations, cooking techniques, and even presentation suggestions.
  4. Instant Results: Within seconds, users receive a fully detailed recipe, including a title, ingredient list, step-by-step instructions, and often, helpful cooking tips.

5. What sets RecipeAI apart is its ability to create recipes that are not only feasible with the given ingredients but also tailored to individual preferences. By leveraging GaiaNet's public nodes, we're able to provide this service without the need for extensive backend infrastructure or a massive database of pre-existing recipes.

The use of GaiaNet's technology allows us to:

  • Access a sophisticated AI model without the need for costly computational resources
  • Ensure low-latency responses, providing a smooth user experience
  • Scale our application efficiently, as GaiaNet's infrastructure can handle multiple requests simultaneously
  • Continually improve our recipe suggestions as the underlying model is updated and refined

RecipeAI demonstrates the practical application of AI in everyday life, making cooking more accessible, reducing food waste, and inspiring culinary creativity. By harnessing the power of GaiaNet's public nodes, we've created a tool that turns the challenge of "what's for dinner?" into an exciting culinary adventure.

Progress During Hackathon

In one intense day, I transformed RecipeAI from a concept to reality. Concept (1 hour): Defined the idea, planned structure, researched GaiaNet’s nodes, and Gemma model. Backend (3 hours): Developed FastAPI environment, recipe generation endpoint, integrated nodes, and implemented CORS and error handling. Frontend (4 hours): Created React/Next.js components (header, form, recipe display), ensured responsive design, and managed state. Testing (3 hours): Linked frontend and backend, refined UI, tested features. RecipeAI is a fast, functional project showcasing rapid development across stacks.

Team LeaderDDhrupad Sah
Sector
AIOther