About

ContextGem is a free, open-source LLM framework that makes it radically easier to extract structured data and insights from documents — with minimal code.

💡Why ContextGem?

Most LLM frameworks require repetitive boilerplate to extract even basic fields. ContextGem eliminates that with powerful abstractions that handle prompt generation, validation, and reference tracking — so you can focus on what matters.

✨ Key Features

  • Dynamic prompt generation

  • Automatic data modeling & validation

  • Granular reference mapping (paragraph/sentence level)

  • Justification for every extraction

  • Neural segmentation (SaT)

  • Supports multiple LLM providers

👉 Explore all features in the README

🎥 See it in action: