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:
📝 StringConcept: For extracting text values
✅ BooleanConcept: For extracting boolean (True/False) values
🔢 NumericalConcept: For extracting numerical values (integers or floats)
📅 DateConcept: For extracting date objects
⭐ RatingConcept: For extracting numerical ratings within a defined scale
📊 JsonObjectConcept: For extracting structured data with multiple fields
This section provides detailed documentation for each concept type, including usage examples and best practices.