How sinchanacsajjanashettar/dishcovery works
DishCovery turns ingredient and dietary inputs into structured Indian recipe guidance. The main workflow runs through a FastAPI/LangGraph agent with safety screening, recipe retrieval, substitution/critique, generation and repair; the browser UI is the user-facing entry point. Separately, a CSV ingestion pipeline cleans and translates recipes, embeds them and indexes them for retrieval. The README documents these capabilities, but sampled code is partial, so internal workflow ordering and unsampled API details are not asserted.
Main entry points: dishcovery.py LangGraph workflow · create_vector.py Ingestion pipeline · index.html Browser interface · chroma.sqlite3 ChromaDB
Components 18
Recipe Ingestion
- Ingestion pipeline
create_vector.py - Clean and translate
create_vector.py - Recipe embeddings
create_vector.py - Recipe indexing
create_vector.py
Recipe Agent
- FastAPI service
dishcovery.py - LangGraph workflow
dishcovery.py - Safety gate
dishcovery.py - Recipe retrieval
dishcovery.py - Critique and substitute
dishcovery.py - Recipe generation
dishcovery.py - Recipe fixer
dishcovery.py
Stores and Models
- ChromaDB
chroma_db/chroma.sqlite3 - Gemma 3
- Llama 3.3
- Spoonacular
User Interface
- Browser interface
index.html
Other components
- Recipe seeker
- Indian recipe data
IndianFoodDatasetXLS (1).csv
Connections 17
- Recipe seeker → Browser interface: provides request
README.md - Browser interface → FastAPI service: calls API
README.md - FastAPI service → LangGraph workflow: serves workflow
README.md - Indian recipe data → Ingestion pipeline: reads recipes
README.md - Ingestion pipeline → Clean and translate: cleans and translates
README.md - Clean and translate → Recipe embeddings: prepares for embedding
README.md - Recipe embeddings → Recipe indexing: indexes vectors
README.md - Recipe indexing → ChromaDB: writes collection
README.md - LangGraph workflow → Safety gate: includes gate
README.md - LangGraph workflow → Recipe retrieval: includes retrieval
README.md - LangGraph workflow → Critique and substitute: includes critique
README.md - LangGraph workflow → Recipe generation: includes generation
README.md - LangGraph workflow → Recipe fixer: includes repair
README.md - Recipe retrieval → ChromaDB: searches recipes
README.md - Recipe generation → Gemma 3: generates with
dishcovery.py - Recipe fixer → Llama 3.3: repairs with
dishcovery.py - Critique and substitute → Spoonacular: requests substitutes
dishcovery.py