Culinary Graph

Knowledge Graph-Powered Recipe Discovery

Knowledge Graphs Gemini AI RAG Architecture Graph Visualization Recipe Intelligence
🥗 Ingredients 0
🔗 Connections 0
🔄 Substitutions 0
🌍 Cuisines 0

Ask the Culinary Assistant

Your AI-powered culinary companion with a built-in knowledge graph of 236+ ingredients. Get complete recipes, find ingredient substitutions with exact ratios, discover flavor pairings, and filter by dietary needs. Just ask - I'll cook up an answer.

🤖 AI: Gemini (Active)
🚫

💡 Added restrictions will be excluded from all recommendations and recipes

Hello! I'm your culinary knowledge assistant. I can help you search ingredients, find substitutions, discover flavor pairings, and suggest recipe combinations. Our database includes 236+ ingredients across 13 categories. What would you like to explore?

Try asking:

⌨️ Shortcuts: Enter to send • Esc to clear • Ctrl/Cmd+K to start over

🥗 KNOWLEDGE GRAPH

Loading knowledge graph...

Dairy
Protein
Grains
Vegetables
Herbs
Spices
Oils
Sauces

📋 INGREDIENT DETAILS

👆 Click any ingredient to explore its substitutions, pairings, and dietary info

Overview

Culinary Graph pairs a structured knowledge graph with conversational AI to create a cooking assistant that actually understands food. The graph maps relationships between hundreds of ingredients - what substitutes for what, which flavors pair well, and how dietary restrictions connect to ingredient choices. Explore the interactive visualization with category filtering, hover tooltips, and real-time statistics, or ask the AI for precise, context-aware answers grounded in the knowledge graph.

Key Features

RAG-Enhanced Responses

Queries extract focused context from the knowledge graph before hitting the AI, ensuring responses are grounded in real ingredient data rather than hallucinated.

Smart Substitutions

Get ingredient substitutions with exact ratios and confidence scores - not just "use this instead" but "use 3/4 cup applesauce per egg."

Complete Recipes

Ask for any recipe and get full ingredients, measurements, and step-by-step instructions - the AI generates complete, cookable recipes on demand.

Dietary Filtering

Set your dietary restrictions once and every response respects them - no more manually checking if recipes work for you.

Interactive Graph Explorer

Browse ingredients visually with category filtering, hover tooltips showing dietary info, and a sidebar displaying most-connected ingredients and quick stats.

Technology Stack

  • AI Model: Gemini 2.5 Flash with RAG (Retrieval-Augmented Generation)
  • Knowledge Graph: Custom ontology with 236+ ingredients, substitution rules, and flavor pairings
  • Architecture: Focused context extraction - queries retrieve only relevant graph data
  • Features: Dietary filtering, cuisine exploration, substitution ratios with confidence scores
  • Frontend: Cytoscape.js with hover tooltips, category filtering, real-time stats, vanilla JavaScript, localStorage for preferences

Ready to Cook Up Some Intelligence?

Your data relationships deserve more than flat tables. Let's discuss how knowledge graphs and intelligent systems can unlock hidden insights in your domain.