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

# Cookbooks and tutorials

> Step-by-step tutorials for building AI applications with Orq.ai. Covers RAG chatbots, text-to-SQL, PDF extraction, and multi-agent systems.

## <Icon icon="diagram-project" iconType="duotone" size={24} />   Common Architectures

Proven implementation patterns for building AI applications, from simple LLM integrations to complex multi-agent systems.

<CardGroup cols={2}>
  <Card title="Simple Deployment" href="/docs/common-architecture/simple-deployment" icon="rocket" iconType="duotone" horizontal arrow>
    The most straightforward way to integrate LLM calls through **Orq.ai** as an AI Gateway.
  </Card>

  <Card title="Chatbot Architecture" href="/docs/common-architecture/chatbot" icon="comments" iconType="duotone" horizontal arrow>
    Build conversational AI with memory, context awareness, and intelligent escalation.
  </Card>

  <Card title="Simple RAG" href="/docs/common-architecture/simple-rag" icon="book" iconType="duotone" horizontal arrow>
    Ground LLM responses in your knowledge base for accurate, context-aware answers.
  </Card>

  <Card title="Advanced RAG" href="/docs/common-architecture/advanced-rag" icon="magnifying-glass" iconType="duotone" horizontal arrow>
    Add reranking, hybrid search, and query optimization to your RAG system.
  </Card>

  <Card title="AI Agent" href="/docs/common-architecture/ai-agent" icon="robot" iconType="duotone" horizontal arrow>
    Build autonomous agents with tool calling, memory, and multi-agent coordination.
  </Card>

  <Card title="Agents Framework Guide" href="/docs/common-architecture/agents-framework-guide" icon="diagram-project" iconType="duotone" horizontal arrow>
    Integrate **Orq.ai** with LangGraph, CrewAI, and AutoGen for observability and control.
  </Card>

  <Card title="AI Gateway vs Config Management" href="/docs/common-architecture/gateway-vs-config" icon="scale-balanced" iconType="duotone" horizontal arrow>
    Understand the differences between the two core integration patterns.
  </Card>
</CardGroup>

## <Icon icon="message" iconType="duotone" size={24} />   Chatbots & AI Apps

End-to-end guides for building production chatbots, conversational AI, and multi-agent applications.

<CardGroup cols={2}>
  <Card title="Customer Support Chat" href="/docs/tutorials/buildingcustomersupportchatwithaigateway" icon="headset" iconType="duotone" horizontal arrow>
    Build a production-ready chatbot with streaming, fallbacks, caching, and RAG.
  </Card>

  <Card title="Chat History" href="/docs/tutorials/maintaining-history-with-a-model" icon="clock-rotate-left" iconType="duotone" horizontal arrow>
    Maintain conversation history across messages for stateful LLM interactions.
  </Card>

  <Card title="Multilingual FAQ Bot" href="/docs/tutorials/multilingual-faq-bot" icon="earth-europe" iconType="duotone" horizontal arrow>
    Build a multilingual FAQ chatbot with RAG and dynamic language routing.
  </Card>

  <Card title="Intent Classification" href="/docs/tutorials/intent-classification" icon="tags" iconType="duotone" horizontal arrow>
    Categorize user queries for chatbots, support, and task automation.
  </Card>

  <Card title="Lovable Integration" href="/docs/tutorials/lovable-integration" icon="wand-magic-sparkles" iconType="duotone" horizontal arrow>
    Build RAG-powered FAQ bots using prompt-based development without a backend.
  </Card>

  <Card title="Multi-Agent HR System" href="/docs/tutorials/agents-API" icon="people-group" iconType="duotone" horizontal arrow>
    Build a multi-agent system with specialized agents, memory, and knowledge bases.
  </Card>

  <Card title="Insurance Claims via MCP" href="/docs/tutorials/insurance-claims-mcp-cookbook" icon="car-burst" iconType="duotone" horizontal arrow>
    Build and compare a single-agent vs multi-agent claims system from your coding assistant via MCP.
  </Card>
</CardGroup>

## <Icon icon="table" iconType="duotone" size={24} />   Data & Extraction

Use AI to extract structured data from unstructured documents, images, and natural language inputs.

<CardGroup cols={2}>
  <Card title="PDF Extraction" href="/docs/tutorials/pdf-extraction" icon="file-pdf" iconType="duotone" horizontal arrow>
    Extract structured data from PDF invoices using vision models.
  </Card>

  <Card title="Receipt Extraction" href="/docs/tutorials/receipt-extraction" icon="receipt" iconType="duotone" horizontal arrow>
    Process receipt images into structured JSON with vendor names, amounts, and dates.
  </Card>

  <Card title="Text-to-SQL" href="/docs/tutorials/text-to-sql" icon="database" iconType="duotone" horizontal arrow>
    Transform natural language into SQL queries for non-technical database access.
  </Card>
</CardGroup>

## <Icon icon="shield-check" iconType="duotone" size={24} />   Evaluation & Safety

Test, evaluate, and red-team your LLM deployments to ensure quality, reliability, and security.

<CardGroup cols={2}>
  <Card title="Parallel Evaluations" href="/docs/tutorials/evaluator-q" icon="flask" iconType="duotone" horizontal arrow>
    Run evaluations in parallel at scale using evaluatorq.
  </Card>

  <Card title="Red Teaming" href="/docs/tutorials/red-teaming" icon="shield-halved" iconType="duotone" horizontal arrow>
    Probe LLM deployments and agents for security vulnerabilities with evaluatorq.
  </Card>

  <Card title="Automate Evals with Claude Code" href="/docs/tutorials/automate-evals-and-observability-with-claude-code" icon="terminal" iconType="duotone" horizontal arrow>
    Drive the full evaluator optimization loop from the terminal using Claude Code + **orq.ai** MCP.
  </Card>
</CardGroup>

## <Icon icon="plug" iconType="duotone" size={24} />   Integrations & Tooling

Connect **Orq.ai** with your existing tools, workflows, and third-party infrastructure.

<CardGroup cols={2}>
  <Card title="Chaining Deployments" href="/docs/tutorials/chaining-deployments" icon="link" iconType="duotone" horizontal arrow>
    Chain multiple LLM deployments and run evaluators across multi-step workflows.
  </Card>

  <Card title="n8n Integration" href="/docs/tutorials/how-to-use-orqai-nodes-in-n8n-worklfows" icon="diagram-project" iconType="duotone" horizontal arrow>
    Use **Orq.ai** deployments and routing inside n8n workflow automation pipelines.
  </Card>

  <Card title="Prompt Manager" href="/docs/tutorials/prompt-manager" icon="sliders" iconType="duotone" horizontal arrow>
    Fetch deployment configurations at runtime while keeping control over your infrastructure.
  </Card>

  <Card title="Capturing Feedback" href="/docs/tutorials/capturing-feedback-with-orq" icon="thumbs-up" iconType="duotone" horizontal arrow>
    Implement structured user feedback to improve LLM responses over time.
  </Card>

  <Card title="Third-Party Vector DBs" href="/docs/tutorials/using-thirdparty-vectordbs-with-orq" icon="server" iconType="duotone" horizontal arrow>
    Connect Pinecone or other vector databases to **Orq.ai** for custom RAG pipelines.
  </Card>
</CardGroup>

## <Icon icon="graduation-cap" iconType="duotone" size={24} />   Learn

Reference guides and conceptual explainers for LLM concepts, prompt engineering, and platform features.

<CardGroup cols={2}>
  <Card title="LLM Glossary" href="/docs/tutorials/llm-glossary" icon="book-open" iconType="duotone" horizontal arrow>
    Definitions for 200+ LLM, LLMOps, and prompt engineering terms.
  </Card>

  <Card title="Prompt Engineering Guide" href="/docs/prompts/engineering-guide" icon="pen-to-square" iconType="duotone" horizontal arrow>
    Best practices for LLM optimization, structured prompts, and consistent outputs.
  </Card>

  <Card title="Prompt Templating" href="/docs/prompts/templating" icon="code" iconType="duotone" horizontal arrow>
    Complete reference for Jinja and Mustache templates in deployments and experiments.
  </Card>

  <Card title="Understanding Control Tower" href="/docs/tutorials/understanding-controltower" icon="tower-control" iconType="duotone" horizontal arrow>
    Non-technical guide to monitoring AI agents, tracking costs, and staying in control.
  </Card>
</CardGroup>
