Version: latest
agrag.evidence
Evidence discovery, exact fetch, navigation, entity search and citation checks.
The functions take a graph store and enforce the caller's document scope inside their queries. Evidence ids name passage text of one version of a document.
Modules:
- citation – Check that cited evidence ids trace to evidence the caller fetched.
- discover – Find visible passages by full-text search, vector search, or both.
- entities – Find entities by name or meaning, and explore typed relations around one entity.
- fetch – Fetch the exact text behind evidence ids, limited to the caller's scope.
- ids – Encode and decode evidence ids.
- navigate – Navigate from one evidence passage to its neighbors, within scope and bounds.
- source_status – Read the committed lifecycle and index state of a document source.
Functions:
- check_citations – Return one verdict for each cited evidence id, in the order given.
- explore – Explore the entity relations around one entity, within bounds.
- find_entities – Find up to
limitentities that match a query by name or by meaning.