~/talk

Just Add an LLM: Creating a New Food Recommendation Engine From an Old Cypher Based One

Talkat NODES 2024 · on Thursday, 2024-11-07· [large-language-models, ai-assisted-development]
links:none on file
slides:none on file

Upgrades a Cypher-only food recommender into three concrete variants: baseline hard-coded Cypher, LLM-generated Cypher, and retrieval-augmented generation with Neo4j Graph RAG. Uses Llama 3 (8B), Python and LangChain to embed food and meal nodes; embeddings produce some surprising neighbors (raw apple linking to turnip). Finds RAG plus constrained Cypher yields accurate, auditable takeout lunches with calorie estimates, while pure LLM outputs hallucinate, don’t match the database, and require careful schema names and example prompts.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Graph data modeling
  3. 3:01Graph analysis approach
  4. 4:31Traditional recommendation
  5. 5:45Integrating LLMs
  6. 8:47Modernizing requirements
  7. 10:32LLM knowledge exploration
  8. 12:36Vector-based retrieval
  9. 14:13Constrained vector search
  10. 16:03Text-to-Cypher generation
  11. 19:33Lessons and conclusions
  12. 21:45Future work and wrap-up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.