triple
A three-part structured data format (subject-predicate-object, or subject-verb-object) used to represent facts; e.g., 'Patient-has-allergy-to-Penicillin'
As defined in Citation Needed: Provenance for LLM-Built Knowledge Graphs — Daniel Chalef, Zep AI
Where it comes up · 1
Most important claims · 3 of 3Search all claims for “triple” →
- In Graffiti and Zep, structured extraction works by extracting entities, relationships between them, and candidate facts as materialized triples (subject-verb-object structured as 'fact').Citation Needed: Provenance for LLM-Built Knowledge Graphs — Daniel Chalef, Zep AI
- Provenance in a context store containing facts can be modeled on a graph as relationships: source data nodes become episodes, extracted entities become nodes, and edges between entities represent facts that can be hydrated (made readable) as statements (e.g., 'Patient has a penicillin allergy').Citation Needed: Provenance for LLM-Built Knowledge Graphs — Daniel Chalef, Zep AI
- The add_episode method in Graffiti runs a complicated pipeline on episode ingestion with multiple high-level steps: structured extraction (entities and facts), deduplication and deconfliction of entities and facts, and mutation tracking (invalidating facts when contradicted by new data).Citation Needed: Provenance for LLM-Built Knowledge Graphs — Daniel Chalef, Zep AI