Welcome to ContextGem Documentation!

ContextGem logo

Welcome to ContextGem Documentation!#

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


πŸ“š Project Description

Learn about the motivation, comparisons with other frameworks, and how ContextGem works.

Why ContextGem?
πŸš€ Getting Started

Instructions to install ContextGem and quickly start using it.

Installation
πŸ” Advanced Usage

Explore advanced features and techniques for extracting data from documents.

Advanced usage examples
πŸ”„ Document Converters

Learn how to use ContextGem’s built-in document converters for files such as DOCX.

DOCX Converter
πŸ€– Large Language Models

Learn about supported cloud LLM providers and local models, and how to configure them.

Supported LLMs
βš™οΈ Optimization Guide

Learn how to optimize your extraction pipeline for accuracy, cost, and performance.

Choosing the Right LLM(s)
πŸ’Ύ Serialization

Learn how to serialize and deserialize ContextGem objects for storage and transfer.

Serializing objects and results
πŸ“– API Reference

Complete API documentation for all ContextGem modules and classes.

Documents

Indices and tables#