~/talk

Graph Database and Retrieval Augmented Generation

Talkat PyData London 2024 Β· 2024-06-14..06-16Β· [large-language-models, databases]
links:none on file
slides:none on file

Builds a RAG pipeline that actually stores PyData submissions in Neo4j, indexes a document node into a vector store, then runs both vector retrieval and Cypher-based queries via LangChain graph Transformer and OpenAI embeddings. Demo returns concrete counts β€” 65 submissions, 16 tutorials, 49 talks β€” and shows an agent that switches between Cypher QA and vector retriever using a custom retrieval query. Prototype runs end to end but hits token and rate‑limit pain points when retrieval returns too much context.

AI-written summary Β· about

  1. 0:00Graph databases and RAG intro
  2. 3:21Traditional RAG limitations
  3. 5:28Why RAG is needed
  4. 6:53Graph databases enhance RAG
  5. 8:01Graph RAG demo setup
  6. 11:57Graph database basics
  7. 19:17Structuring knowledge graph data
  8. 23:26Loading data into graph
  9. 31:36Building graph RAG system
  10. 34:12Creating document embeddings
  11. 35:39Cypher QA chain queries
  12. 38:09Combining retrieval and Cypher
  13. 43:08Scraping conference data
  14. 46:00Generating knowledge graph
  15. 50:19Querying enhanced knowledge graph
  16. 52:10Evaluating RAG performance
  17. 55:33Updating knowledge graphs
  18. 58:46Retrieval queries add context
  19. 1:03:27Visualizing knowledge graph
  20. 1:09:19Graph RAG challenges
  21. 1:12:11Optimizing graph RAG cost
  22. 1:15:22Pruning knowledge graph
  23. 1:16:07Closing remarks
~/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.