Version: latest
agrag.common.data_models.evidence
Models for evidence references, discovery results, fetch outcomes and citations.
Evidence is passage text from a Document, named by an evidence id. The models here are the values that the evidence operations exchange with callers.
Classes:
- CitationCheck – The verdict for one cited evidence id.
- CitationResult – The verdicts of one citation check call.
- CitationVerdict – Whether a citation traces to evidence the caller fetched.
- DiscoveryHit – One visible passage found by discovery.
- DiscoveryLeg – One search leg that can find a passage.
- DiscoveryMode – Which search legs discovery runs.
- DiscoveryResult – The result of one discovery call.
- DiscoveryStatus – The overall outcome of a discovery call.
- EvidenceKind – The two forms of evidence reference.
- EvidenceLocation – Where a passage sits in its source.
- EvidenceReference – A stable pointer to passage text of one version of a document.
- FetchOutcome – The result of fetching one evidence id.
- FetchResult – The outcomes of one fetch call.
- FetchStatus – The outcome of fetching one evidence id.
- IndexState – Whether the search indexes a mode needs are ready.
- LegFailure – A search leg that failed during discovery.
- SourceIndexStatus – The state and population progress of one search index.
- SourceState – The lifecycle state of one document source.
- SourceStatus – The committed version, active job and index state for one source.
- VersionStatus – Whether the fetched text is the current version of its document.
Attributes: