~/talk

Building Knowledge Graph-Based Agents with Structured Text Generation

Talkat PyData Global 2024 · 2024-12-03..12-05· [large-language-models]
links:none on file
slides:none on file

Builds a knowledge graph from plain text by forcing LLM outputs into a pydantic JSON schema and masking token probabilities with outlines then stores nodes and edges in kutsu and runs Cypher queries; uses Lama CPP for inference and L chain only to extract the DB schema; defines tools query_generator, query_checker and conversational_response and runs a thought/action/observation loop as agent logic; demo extracts person/location/discovery triples (Marie Curie → polonium radium), expert-curation step refines types, and the notebook demo works within seconds.

AI-written summary · about

  1. 0:00Welcome
  2. 1:05Presenter and problem
  3. 3:53Structured output vs generation
  4. 6:45Structured generation with regex
  5. 9:18Forcing correct JSON outlines
  6. 12:50Building knowledge graphs
  7. 19:13Designing reasoning agents
  8. 24:29Agent execution demo
  9. 24:51Summary
  10. 25:55Q&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.