Supported Concepts

Supported Concepts#

In ContextGem, Concepts are building blocks for defining the structured data you want to extract from documents. Each concept type is designed for different kinds of information, allowing you to build complex extraction schemas.

Available Concept Types#

ContextGem provides several types of concepts, each tailored for specific extraction needs:

This section provides detailed documentation for each concept type, including usage examples and best practices.

Note

All concept types are extracted with LLMs. BooleanConcept, LabelConcept and RatingConcept can also be extracted with a decision model, which returns the probabilities of the possible values instead of generating text. See Decision Models.