Welcome to Extrai’s documentation!¶ Getting Started Intro Worflow Overview Key Features Installation Getting Started: A Step-by-Step Tutorial The Problem: Extracting Product Information Prerequisites Step 1: Define Your Data Models Step 2: Set Up the LLM Client and Database Step 3: Initialize the Workflow Orchestrator Step 4: Run the Extraction Step 5: See the Results How-to Guides How to Generate SQL Models from Text When to Use This Feature Step 1: Set Up the Generator Step 2: Define the Context and Task Step 3: Generate and Load the Models Step 4: See the Results How to Generate an Example JSON When to Use This Feature Step 1: Define the Models Step 2: Initialize the Generator Step 3: Generate the Example Step 4: See the Results How to Customize Extraction Prompts Customizing the Extraction Prompts How to Handle Complex Data with Hierarchical Extraction When to Use This Feature Step 1: Define Your Nested Data Models Step 2: Initialize the Orchestrator in Hierarchical Mode Step 3: Run the Extraction Step 4: See the Results How to Use Multiple LLM Providers When to Use This Feature Step 1: Define Your Data Models Step 2: Initialize Multiple LLM Clients Step 3: Initialize the Orchestrator with a List of Clients Step 4: Run the Extraction Step 5: See the Results Core Concepts Architecture Overview Core Workflow Diagram Workflow Stages The Consensus Mechanism The Core Idea: Field-Level Agreement Step 1: Flattening Step 2: Aggregation and Voting Step 3: Un-flattening and Conflict Resolution Conflict Resolution Reference Workflow Orchestrator Core Workflow Initialization and Configuration Core Execution Methods Concise Usage Example SQLModel Generator Core Workflow Initialization and Configuration Core Execution Method Practical Example Example JSON Generator Core Workflow Integration with WorkflowOrchestrator Initialization and Configuration Core Execution Method Practical Example Analytics Collector Core Concepts Initialization Recording Metrics Accessing the Report Interpreting the Report Resetting the Collector LLM Providers Supported Providers Contributing a New Provider API Reference extrai llm_consensus_extraction package Index Community Contributing Coding Standards Documentation Contributions Indices and tables¶ Index Module Index Search Page