Version: 0.0.5 (stable)
agrag.ingestion.extract
The Extractor interface: reads one Chunk and produces an ExtractionResult.
Classes:
- BAMLExtractor – Extract entities and relations with an LLM through a typed BAML function.
- ExtractionLLMSettings – Env-backed LLM client configuration for the extraction role.
- Extractor – Reads one chunk and returns the entities and relations it contains.
- ExtractorMissingExtraError – An Extractor needs a package extra that is not installed.
- GlinerExtractor – Extracts entities and relations with a local GLiNER2.5 model.
- LLMExtractor – LLM role that may receive entities found by an earlier extractor.
- UnparsableExtractionError – The LLM replied, but the reply holds no JSON answer.
Functions:
- validate_extraction – Drop entities and relations that the schema does not declare.
Attributes:
- logger –