# sumanth077/hands-on-ai-engineering architecture

> Architecture diagram of the GitHub repository sumanth077/hands-on-ai-engineering, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sumanth077/hands-on-ai-engineering
- Repository: https://github.com/sumanth077/hands-on-ai-engineering

## Overview

#### 1. Repository Shape and Purpose
This is a curated monorepo of independent, runnable AI engineering examples rather than one deployable product. Projects are organized by modality: agents, OCR, audio, multimodal, RAG, and fine-tuning. Each project owns its runtime, dependencies, credentials, UI, and persistence; there is no shared application package or root orchestration layer.
- `README.md`
- `ai_agents/`
- `rag_apps/`

#### 2. Entry Points and Execution Boundary
Most examples expose a project-local Python UI/application entry point, typically `app.py`; some use `main.py` for CLI/service startup. Dependency boundaries are project-local through `requirements.txt` or `pyproject.toml`, so environments should be provisioned and run per project, not at repository root.
- `ai_agents/research_assistant_with_memory/app.py`
- `OCR/receipt_expense_tracker/app.py`
- `fine_tuning/text_to_sql_inventory/app.py`

#### 3. Agent Systems
The `ai_agents` collection implements task-specific LLM agents, including single-agent tool callers and multi-agent workflows. Common control flow is: UI/request → agent or orchestration graph → provider/tool calls → synthesized response. More structured examples separate agent roles, tools, state, and pipelines.
- Multi-agent research with state, retrieval, evaluation, and memory: `ai_agents/research_assistant_with_memory/research_assistant/graph.py`, `ai_agents/research_assistant_with_memory/research_assistant/agents.py`, `ai_agents/research_assistant_with_memory/research_assistant/memory.py`
- Support routing pipeline: `ai_agents/customer_query_routing_agent/customer_query_routing_agent/orchestrator.py`, `ai_agents/customer_query_routing_agent/customer_query_routing_agent/router.py`, `ai_agents/customer_query_routing_agent/customer_query_routing_agent/resolver.py`
- Sequential marketing-agent pipeline: `ai_agents/marketing_strategy_agent/marketing_strategy_agent/pipeline.py`, `ai_agents/marketing_strategy_agent/marketing_strategy_agent/agents.py`

#### 4. Retrieval and Knowledge Pipelines
RAG projects isolate ingestion/index construction from retrieval and response generation. Documents or external sources are processed into vector and/or graph stores; a query path retrieves context, optionally routes or fuses sources, then calls an LLM to answer. This is the principal data boundary between raw content, persisted indexes, and model prompts.
- Graph-backed ingestion/search: `rag_apps/graphrag_knowledge_system/src/document_processor.py`, `rag_apps/graphrag_knowledge_system/src/graph_store.py`, `rag_apps/graphrag_knowledge_system/src/search_engine.py`
- Parallel graph/vector hybrid retrieval and fusion: `rag_apps/hybrid_rag_system/src/graph_indexer.py`, `rag_apps/hybrid_rag_system/src/vector_indexer.py`, `rag_apps/hybrid_rag_system/src/context_fusion.py`
- Database-routed retrieval with fallback: `rag_apps/rag_agent_with_database_routing/rag_agent/router.py`, `rag_apps/rag_agent_with_database_routing/rag_agent/retriever.py`, `rag_apps/rag_agent_with_database_routing/rag_agent/fallback.py`

#### 5. Document, Vision, and Audio Processing
OCR and multimodal projects follow staged extraction pipelines: user media → preprocessing/rendering or parsing → vision/OCR/LLM extraction → schema validation, merging, or presentation. Audio translation similarly separates transcription, language translation, and synthesis.
- Structured image extraction: `OCR/image_to_structured_data/processor.py`, `OCR/image_to_structured_data/schemas.py`
- Prescription extraction plus drug validation: `OCR/medical_prescription_digitizer/extractor.py`, `OCR/medical_prescription_digitizer/validator.py`, `OCR/medical_prescription_digitizer/schemas.py`
- Medical-document merge pipeline: `multimodal/medical_document_parser/document_processor.py`, `multimodal/medical_document_parser/llm_extractor.py`, `multimodal/medical_document_parser/merger.py`
- Audio stages: `audio/multilingual_audio_translator/transcriber.py`, `audio/multilingual_audio_translator/translator.py`, `audio/multilingual_audio_translator/synthesizer.py`

#### 6. Models, Services, and Persistence
Projects intentionally span hosted and local model infrastructure: OpenAI, Anthropic, Google/Gemini, Mistral, DeepSeek, MiniMax, NVIDIA NIM, Ollama, llama.cpp, and open-source embedding/vision models. External integrations include Firecrawl, DuckDuckGo, GitHub MCP, Cal.com, Gmail/IMAP/SMTP, Telegram, Telnyx, web scraping services, and market-data APIs. Credentials are isolated in per-project `.env.example` files. Persistence varies by example: SQLite for transactional/local data, Qdrant or Actian VectorAI for retrieval memory, ChromaDB/vector stores for RAG, and local files for source corpora.
- `ai_agents/offline_medical_agent/qdrant_data/`
- `ai_agents/personal_finance_agent/finance.db`
- `OCR/receipt_expense_tracker/receipt_expense_tracker/database.py`

Main entry points: [`ai_agents/research_assistant_with_memory/research_assistant/graph.py`](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/research_assistant_with_memory/research_assistant/graph.py) (Research Workflow), [`rag_apps/hybrid_rag_system/src/context_fusion.py`](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/hybrid_rag_system/src/context_fusion.py) (Context Fusion), [`rag_apps/rag_agent_with_database_routing/rag_agent/router.py`](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/rag_agent_with_database_routing/rag_agent/router.py) (Database Router), [`OCR/image_to_structured_data/processor.py`](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/image_to_structured_data/processor.py) (Image Extraction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_agents["AI Agents"]
  node_agent_ui["Research Assistant UI<br/>Python app<br/>[app.py]"]
  node_research_graph{{"Research Workflow<br/>agent graph<br/>[graph.py]"}}
  node_research_agents["Research Agents<br/>agent roles<br/>[agents.py]"]
  node_agent_memory[("Agent Memory<br/>memory layer<br/>[memory.py]")]
  node_support_orchestrator{{"Support Orchestrator<br/>agent pipeline<br/>[orchestrator.py]"}}
  node_support_router["Query Router<br/>routing agent<br/>[router.py]"]
  node_support_resolver["Query Resolver<br/>resolution agent<br/>[resolver.py]"]
  node_marketing_pipeline{{"Marketing Pipeline<br/>sequential agents<br/>[pipeline.py]"}}
end

subgraph group_rag["RAG Systems"]
  node_graph_ingestion["GraphRAG Ingestion<br/>document processing"]
  node_graph_store[("Graph Store<br/>knowledge index<br/>[graph_store.py]")]
  node_graph_search["Graph Search<br/>retrieval engine<br/>[search_engine.py]"]
  node_graph_indexer["Graph Indexer<br/>hybrid indexing<br/>[graph_indexer.py]"]
  node_vector_indexer["Vector Indexer<br/>hybrid indexing<br/>[vector_indexer.py]"]
  node_context_fusion{{"Context Fusion<br/>retrieval fusion<br/>[context_fusion.py]"}}
  node_db_router["Database Router<br/>RAG routing<br/>[router.py]"]
  node_db_retriever["Database Retriever<br/>RAG retrieval<br/>[retriever.py]"]
  node_db_fallback["Retrieval Fallback<br/>RAG fallback<br/>[fallback.py]"]
end

subgraph group_media["Document &amp; Media"]
  node_image_processor["Image Extraction<br/>OCR processor<br/>[processor.py]"]
  node_image_schemas["Extraction Schemas<br/>validation schema<br/>[schemas.py]"]
  node_prescription_extractor["Prescription Extractor<br/>medical OCR<br/>[extractor.py]"]
  node_drug_validator["Drug Validator<br/>medical validation<br/>[validator.py]"]
  node_document_processor["Medical Document Processor<br/>multimodal pipeline"]
  node_llm_extractor["LLM Extractor<br/>document extraction<br/>[llm_extractor.py]"]
  node_document_merger["Document Merger<br/>result merge<br/>[merger.py]"]
  node_transcriber["Audio Transcriber<br/>speech-to-text<br/>[transcriber.py]"]
  node_translator["Audio Translator<br/>translation<br/>[translator.py]"]
  node_synthesizer["Speech Synthesizer<br/>text-to-speech<br/>[synthesizer.py]"]
end

subgraph group_storage["Persistence"]
  node_qdrant_data[("Qdrant Data<br/>vector persistence")]
  node_finance_db[("Finance SQLite<br/>local database<br/>[finance.db]")]
  node_receipt_database[("Receipt Database<br/>expense persistence<br/>[database.py]")]
end

node_repo["Curated AI Examples<br/>monorepo<br/>[README.md]"]
node_model_services(("Model &amp; Tool Providers<br/>external services"))

node_repo -.->|"contains"| node_agent_ui
node_repo -.->|"contains"| node_graph_ingestion
node_agent_ui -->|"runs"| node_research_graph
node_research_graph -->|"coordinates"| node_research_agents
node_research_graph -->|"reads/writes"| node_agent_memory
node_research_agents -->|"calls"| node_model_services
node_support_orchestrator -->|"routes through"| node_support_router
node_support_router -->|"dispatches"| node_support_resolver
node_marketing_pipeline -->|"runs agents on"| node_model_services
node_graph_ingestion -->|"builds"| node_graph_store
node_graph_store -->|"queries"| node_graph_search
node_graph_indexer -->|"graph context"| node_context_fusion
node_vector_indexer -->|"vector context"| node_context_fusion
node_context_fusion -->|"prompts"| node_model_services
node_db_router -->|"selects"| node_db_retriever
node_db_router -.->|"on miss"| node_db_fallback
node_image_processor -->|"validates against"| node_image_schemas
node_prescription_extractor -->|"validates drugs"| node_drug_validator
node_document_processor -->|"extracts with"| node_llm_extractor
node_llm_extractor -->|"produces sections"| node_document_merger
node_transcriber -->|"transcript"| node_translator
node_translator -->|"translated text"| node_synthesizer
node_image_processor -->|"uses vision models"| node_model_services
node_qdrant_data -.->|"supports examples"| node_agent_memory

click node_repo "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/README.md"
click node_agent_ui "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/research_assistant_with_memory/app.py"
click node_research_graph "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/research_assistant_with_memory/research_assistant/graph.py"
click node_research_agents "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/research_assistant_with_memory/research_assistant/agents.py"
click node_agent_memory "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/research_assistant_with_memory/research_assistant/memory.py"
click node_support_orchestrator "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/customer_query_routing_agent/customer_query_routing_agent/orchestrator.py"
click node_support_router "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/customer_query_routing_agent/customer_query_routing_agent/router.py"
click node_support_resolver "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/customer_query_routing_agent/customer_query_routing_agent/resolver.py"
click node_marketing_pipeline "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/marketing_strategy_agent/marketing_strategy_agent/pipeline.py"
click node_graph_ingestion "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/graphrag_knowledge_system/src/document_processor.py"
click node_graph_store "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/graphrag_knowledge_system/src/graph_store.py"
click node_graph_search "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/graphrag_knowledge_system/src/search_engine.py"
click node_graph_indexer "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/hybrid_rag_system/src/graph_indexer.py"
click node_vector_indexer "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/hybrid_rag_system/src/vector_indexer.py"
click node_context_fusion "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/hybrid_rag_system/src/context_fusion.py"
click node_db_router "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/rag_agent_with_database_routing/rag_agent/router.py"
click node_db_retriever "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/rag_agent_with_database_routing/rag_agent/retriever.py"
click node_db_fallback "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/rag_agent_with_database_routing/rag_agent/fallback.py"
click node_image_processor "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/image_to_structured_data/processor.py"
click node_image_schemas "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/image_to_structured_data/schemas.py"
click node_prescription_extractor "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/medical_prescription_digitizer/extractor.py"
click node_drug_validator "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/medical_prescription_digitizer/validator.py"
click node_document_processor "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/multimodal/medical_document_parser/document_processor.py"
click node_llm_extractor "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/multimodal/medical_document_parser/llm_extractor.py"
click node_document_merger "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/multimodal/medical_document_parser/merger.py"
click node_transcriber "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/audio/multilingual_audio_translator/transcriber.py"
click node_translator "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/audio/multilingual_audio_translator/translator.py"
click node_synthesizer "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/audio/multilingual_audio_translator/synthesizer.py"
click node_finance_db "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/personal_finance_agent/finance.db"
click node_receipt_database "https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/receipt_expense_tracker/receipt_expense_tracker/database.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_agent_ui,node_research_graph,node_research_agents,node_agent_memory,node_support_orchestrator,node_support_router,node_support_resolver,node_marketing_pipeline toneBlue
class node_graph_ingestion,node_graph_store,node_graph_search,node_graph_indexer,node_vector_indexer,node_context_fusion,node_db_router,node_db_retriever,node_db_fallback toneAmber
class node_image_processor,node_image_schemas,node_prescription_extractor,node_drug_validator,node_document_processor,node_llm_extractor,node_document_merger,node_transcriber,node_translator,node_synthesizer toneMint
class node_qdrant_data,node_finance_db,node_receipt_database toneRose
class node_repo,node_model_services toneNeutral
```

## Components

### AI Agents

Independent agent examples.

- [Research Assistant UI](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/research_assistant_with_memory/app.py): Python app · `ai_agents/research_assistant_with_memory/app.py`
- [Research Workflow](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/research_assistant_with_memory/research_assistant/graph.py): agent graph · `ai_agents/research_assistant_with_memory/research_assistant/graph.py`
- [Research Agents](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/research_assistant_with_memory/research_assistant/agents.py): agent roles · `ai_agents/research_assistant_with_memory/research_assistant/agents.py`
- [Agent Memory](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/research_assistant_with_memory/research_assistant/memory.py): memory layer · `ai_agents/research_assistant_with_memory/research_assistant/memory.py`
- [Support Orchestrator](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/customer_query_routing_agent/customer_query_routing_agent/orchestrator.py): agent pipeline · `ai_agents/customer_query_routing_agent/customer_query_routing_agent/orchestrator.py`
- [Query Router](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/customer_query_routing_agent/customer_query_routing_agent/router.py): routing agent · `ai_agents/customer_query_routing_agent/customer_query_routing_agent/router.py`
- [Query Resolver](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/customer_query_routing_agent/customer_query_routing_agent/resolver.py): resolution agent · `ai_agents/customer_query_routing_agent/customer_query_routing_agent/resolver.py`
- [Marketing Pipeline](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/marketing_strategy_agent/marketing_strategy_agent/pipeline.py): sequential agents · `ai_agents/marketing_strategy_agent/marketing_strategy_agent/pipeline.py`

### RAG Systems

Ingestion and retrieval examples.

- [GraphRAG Ingestion](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/graphrag_knowledge_system/src/document_processor.py): document processing · `rag_apps/graphrag_knowledge_system/src/document_processor.py`
- [Graph Store](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/graphrag_knowledge_system/src/graph_store.py): knowledge index · `rag_apps/graphrag_knowledge_system/src/graph_store.py`
- [Graph Search](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/graphrag_knowledge_system/src/search_engine.py): retrieval engine · `rag_apps/graphrag_knowledge_system/src/search_engine.py`
- [Graph Indexer](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/hybrid_rag_system/src/graph_indexer.py): hybrid indexing · `rag_apps/hybrid_rag_system/src/graph_indexer.py`
- [Vector Indexer](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/hybrid_rag_system/src/vector_indexer.py): hybrid indexing · `rag_apps/hybrid_rag_system/src/vector_indexer.py`
- [Context Fusion](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/hybrid_rag_system/src/context_fusion.py): retrieval fusion · `rag_apps/hybrid_rag_system/src/context_fusion.py`
- [Database Router](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/rag_agent_with_database_routing/rag_agent/router.py): RAG routing · `rag_apps/rag_agent_with_database_routing/rag_agent/router.py`
- [Database Retriever](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/rag_agent_with_database_routing/rag_agent/retriever.py): RAG retrieval · `rag_apps/rag_agent_with_database_routing/rag_agent/retriever.py`
- [Retrieval Fallback](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/rag_apps/rag_agent_with_database_routing/rag_agent/fallback.py): RAG fallback · `rag_apps/rag_agent_with_database_routing/rag_agent/fallback.py`

### Document & Media

OCR, multimodal, and audio pipelines.

- [Image Extraction](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/image_to_structured_data/processor.py): OCR processor · `OCR/image_to_structured_data/processor.py`
- [Extraction Schemas](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/image_to_structured_data/schemas.py): validation schema · `OCR/image_to_structured_data/schemas.py`
- [Prescription Extractor](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/medical_prescription_digitizer/extractor.py): medical OCR · `OCR/medical_prescription_digitizer/extractor.py`
- [Drug Validator](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/medical_prescription_digitizer/validator.py): medical validation · `OCR/medical_prescription_digitizer/validator.py`
- [Medical Document Processor](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/multimodal/medical_document_parser/document_processor.py): multimodal pipeline · `multimodal/medical_document_parser/document_processor.py`
- [LLM Extractor](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/multimodal/medical_document_parser/llm_extractor.py): document extraction · `multimodal/medical_document_parser/llm_extractor.py`
- [Document Merger](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/multimodal/medical_document_parser/merger.py): result merge · `multimodal/medical_document_parser/merger.py`
- [Audio Transcriber](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/audio/multilingual_audio_translator/transcriber.py): speech-to-text · `audio/multilingual_audio_translator/transcriber.py`
- [Audio Translator](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/audio/multilingual_audio_translator/translator.py): translation · `audio/multilingual_audio_translator/translator.py`
- [Speech Synthesizer](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/audio/multilingual_audio_translator/synthesizer.py): text-to-speech · `audio/multilingual_audio_translator/synthesizer.py`

### Persistence

Example-local data stores.

- **Qdrant Data**: vector persistence
- [Finance SQLite](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/ai_agents/personal_finance_agent/finance.db): local database · `ai_agents/personal_finance_agent/finance.db`
- [Receipt Database](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/OCR/receipt_expense_tracker/receipt_expense_tracker/database.py): expense persistence · `OCR/receipt_expense_tracker/receipt_expense_tracker/database.py`

### Other components

- [Curated AI Examples](https://github.com/sumanth077/hands-on-ai-engineering/blob/main/README.md): monorepo · Independent runnable projects with no shared runtime. · `README.md`
- **Model & Tool Providers**: external services · Hosted/local LLMs, embeddings, and integrations.

## Connections

- Curated AI Examples → Research Assistant UI: contains
- Curated AI Examples → GraphRAG Ingestion: contains
- Research Assistant UI → Research Workflow: runs
- Research Workflow → Research Agents: coordinates
- Research Workflow → Agent Memory: reads/writes
- Research Agents → Model & Tool Providers: calls
- Support Orchestrator → Query Router: routes through
- Query Router → Query Resolver: dispatches
- Marketing Pipeline → Model & Tool Providers: runs agents on
- GraphRAG Ingestion → Graph Store: builds
- Graph Store → Graph Search: queries
- Graph Indexer → Context Fusion: graph context
- Vector Indexer → Context Fusion: vector context
- Context Fusion → Model & Tool Providers: prompts
- Database Router → Database Retriever: selects
- Database Router → Retrieval Fallback: on miss
- Image Extraction → Extraction Schemas: validates against
- Prescription Extractor → Drug Validator: validates drugs
- Medical Document Processor → LLM Extractor: extracts with
- LLM Extractor → Document Merger: produces sections
- Audio Transcriber → Audio Translator: transcript
- Audio Translator → Speech Synthesizer: translated text
- Image Extraction → Model & Tool Providers: uses vision models
- Qdrant Data → Agent Memory: supports examples
