> ## Documentation Index
> Fetch the complete documentation index at: https://docs.narrative.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cookbooks

> Complete, working examples for real-world use cases

Cookbooks provide complete, tested solutions for common scenarios. Each recipe includes all the code and configuration you need, along with explanations of what it accomplishes and when to use it.

## NQL Patterns

Reusable query patterns for common data tasks.

<CardGroup cols={2}>
  <Card title="Common Queries" icon="star" href="/cookbooks/nql/common-queries">
    Frequently used query patterns and templates
  </Card>

  <Card title="Performance Patterns" icon="gauge-high" href="/cookbooks/nql/performance-patterns">
    Optimized patterns for large-scale data processing
  </Card>

  <Card title="Complex Joins" icon="code-merge" href="/cookbooks/nql/complex-joins">
    Multi-way joins and advanced data combination techniques
  </Card>

  <Card title="AI Data Enrichment" icon="wand-magic-sparkles" href="/cookbooks/nql/ai-enrichment">
    Enrich records with AI-generated attributes using AI\_COMPLETE
  </Card>
</CardGroup>

## Model Inference

AI-powered data processing patterns.

<CardGroup cols={2}>
  <Card title="Data Enrichment" icon="wand-magic-sparkles" href="/cookbooks/sdk/model-inference-automation">
    Build a pipeline that enriches records using AI inference
  </Card>

  <Card title="Batch Processing" icon="layer-group" href="/cookbooks/sdk/batch-inference-patterns">
    Process large volumes of data efficiently
  </Card>

  <Card title="Auto-generate Descriptions" icon="file-lines" href="/cookbooks/use-cases/ai-dataset-descriptions">
    Generate dataset documentation with AI
  </Card>

  <Card title="Natural Language to CRON" icon="clock" href="/cookbooks/use-cases/natural-language-to-cron">
    Convert schedules to CRON expressions
  </Card>
</CardGroup>

## Use Cases

End-to-end solutions for specific industries and scenarios.

<CardGroup cols={2}>
  <Card title="Retail Collaboration" icon="store" href="/cookbooks/use-cases/retail-collaboration">
    Share and analyze retail data across partners
  </Card>

  <Card title="Demographic Enrichment" icon="users" href="/cookbooks/use-cases/demographic-enrichment">
    Enrich customer lists with age and gender data
  </Card>

  <Card title="Evaluating Identity Providers" icon="scale-balanced" href="/cookbooks/use-cases/identity-provider-evaluation">
    A structured framework for choosing and measuring identity data providers
  </Card>
</CardGroup>

## Contributing recipes

Have a useful pattern or integration to share? Cookbooks are meant to grow with real-world usage. Contact us to contribute your own recipes.
