Skip to main content

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.
  • EscalatingExtractor – Run a cheap extractor on every chunk and a stronger one on weak results.
  • 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.