#109 · Primary category: LLM Application Frameworks

contextgem

ai autoprompting contract-analysis data-extraction document-intelligence generative-ai legaltech llm llm-extraction llm-framework llm-pipeline llms nlp prompt-engineering text-analysis unstructured-data

ContextGem: Effortless LLM extraction from documents

Project last updated:08/13/26

GitHub Stars

2.0K

Forks

184

Contributors

4

License

Apache-2.0

Why we included this project

Most extraction tools either return free-form summaries or force you to hand-write prompts and parsing code for every document type. ContextGem takes a different route: you define 'aspects' for the specific sections you want pulled out, such as clauses or terms in a contract, and 'concepts' for the concrete fields you want inferred, like dates, numbers, or labels. These pieces chain into reusable pipelines, so the same extraction logic runs consistently across a whole batch of files, which matters for legal and financial work where the format varies but the fields you need do not. It works with cloud LLM providers and local models, and the project offers practical guidance on tuning accuracy against cost and latency. For engineers who want dependable typed output without reinventing extraction logic for each new document type, it is a solid fit.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category