~/talk

Enhancing RAG-based apps by constructing and leveraging knowledge graphs with open-source LLMs

Talkat PyData Paris 2024 · 2024-09-25..09-26· [large-language-models, web-platform]
name:Silva
links:none on file
slides:none on file

Demo builds a Metallica dataset, stores combined text embeddings in LanceDB with gte‑tiny embeddings and shows vector RAG returns correct song answers sometimes but ranks targets second or third. A Kùzu graph stores artist album song nodes and LangChain / Llama 3.1 (405B) prompts generate Cypher queries; one prompt omission produces a wrong query. Combining a local llama‑cpp pipeline, Outlines for structured graph extraction from text, and a simple yes/no classifier yields a hybrid GraphRAG that works reasonably well but still makes occasional errors.

AI-written summary · about

  1. 0:00Enhancing RAG with knowledge graphs
  2. 1:31Vector-only retrieval limits
  3. 5:21Augmented generation with LLMs
  4. 8:00Vector-only limits for structured queries
  5. 9:14Graph-only retrieval with Kùzu
  6. 12:37Generating Cypher queries with LLMs
  7. 17:28Combining vector and graph retrieval
  8. 20:29Building knowledge graphs from text
  9. 23:00Conclusion and key takeaways
  10. 24:36Q&A
~/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.