Skip to main content
Version: 0.0.4

agrag.ingestion.extract

The Extractor interface: reads one Chunk and produces an ExtractionResult.

Classes:

  • BAMLExtractor – Extracts with an LLM, via a BAML function and a runtime ClientRegistry.
  • EscalatingExtractor – Runs a cheap primary extractor first, escalating per chunk when it's weak.
  • ExtractionLLMSettings – Env-backed LLM client config for the extraction role.
  • Extractor – Reads one Chunk and produces the entities and relations it contains.
  • ExtractorMissingExtraError – An Extractor needs a package extra that is not installed.
  • GlinerExtractor – Extracts locally with a GLiNER2.5 model. No network call.