Retrieval-augmented generation (RAG) application

c4v1

/01 Architecture overview

An assistant that answers from your own documents: ingestion and embeddings into a vector index, retrieval at question time, a language model and guardrails.

Curated · enterprise · CC-BY-4.0 · Published by Lattix · 11 elements · 11 relationships · 1 views

Read full architecture description

Documents are split, embedded and indexed ahead of time. At question time the assistant retrieves the most relevant passages and gives them to a language model with the question, so answers are grounded in your content and can cite it. When to use: question answering over policies, documentation, tickets or contracts; internal assistants; support deflection; any case where answers must come from known sources. Trade-offs: current, citable answers without training a model; quality depends on document preparation, retrieval tuning and evaluation. Enforce the user's access rights at retrieval, filter inputs and outputs, and log what was retrieved for review.

/02 Architecture views

View 1 of 1
Assistantc4
100%

Semantic inspector

Select a diagram block or edge, or use the accessible lists below. Inspection does not modify the architecture.

Package-wide semantic coverage

Diagram presence is not evidence of architectural correctness or compliance. Counts describe only the loaded, authorized package snapshot.

Depicted elements
11 / 11
Depicted relationships
11 / 11
Relationships with missing endpoints
0
Unresolved view references
0
Architecture reference evidence

Four independent observations from this authorized package snapshot. This is not a quality score, engineering validation, security assessment, or compliance determination. Missing information cannot be assumed correct.

  • Structural consistency

    Criterion observed

    0 observed defects

    Integrity findings: 0; duplicate viewpoint keys: 0

    Detected duplicate identities, missing relationship endpoints, unresolved diagram bindings, and duplicate viewpoint keys. No findings does not prove the model is correct.

  • Diagram coverage

    Criterion observed

    22/22 depicted records

    Elements: 11/11; relationships: 11/11

    Recorded semantic elements and relationships appearing in at least one diagram. Presence alone is not validation.

  • Recorded relationship traceability

    Criterion observed

    11/11 documented connections

    Relationships with missing endpoints: 0

    Relationships with both endpoints recorded and all three identities depicted somewhere in the package. Diagram locations need not be the same viewpoint; paths are not inferred.

  • Description evidence

    Observed gaps

    11/22 described records

    Elements: 11/11; relationships: 0/11

    Records containing a nonempty descriptive summary or description attribute. Labels and IDs are not sufficient; presence does not verify technical accuracy.

Evidence rule set: hub-reference-evidence.v1. Counts are per recorded item, including duplicate records; absence of detected findings does not attest correctness.

Model integrity and coverage findings (0 integrity, 0 coverage)

Integrity findings identify inconsistent recorded references or identities. Coverage findings identify valid recorded items absent from diagrams. Neither category measures security posture, correctness of intent, or regulatory compliance.

Showing 0 of 0 findings

No findings in this category.

Diagram elements (11)
Diagram relationships (11)

Select an element or relationship to inspect its attributes, connections, and diagram appearances.

Read diagram as structured elements and relationships

Elements (11)

  • UserBusiness Actor

    Asks questions in natural language.

  • Assistant interfaceApplication Component

    Chat or search experience in an application.

  • Assistant orchestratorAgent

    Plans the answer: retrieves context, calls the model, checks the result.

  • Retrieval serviceApplication Component

    Finds the passages most relevant to a question, within the user's access rights.

  • Vector indexData Store

    Embeddings of document passages with their metadata.

  • Source documentsData Store

    The content answers must come from.

  • Ingestion pipelineApplication Component

    Splits documents into passages, embeds them and keeps the index current.

  • Embedding modelApplication Service

    Turns text into vectors for similarity search.

  • Language modelApplication Service

    Generates the answer from the question and retrieved passages.

  • GuardrailsApplication Component

    Filters prompts and answers for safety, data leakage and policy.

  • Evaluation and feedbackApplication Component

    Measures answer quality and collects user feedback.

Relationships (11)

  • Useruses →Assistant interface
  • Assistant interfaceuses →Assistant orchestrator
  • Assistant orchestratoruses →Guardrails
  • Assistant orchestratoruses →Retrieval service
  • Assistant orchestratoruses →Language model
  • Retrieval serviceaccesses →Vector index
  • Retrieval serviceuses →Embedding model
  • Ingestion pipelineaccesses →Source documents
  • Ingestion pipelineuses →Embedding model
  • Ingestion pipelineaccesses →Vector index
  • Evaluation and feedbackuses →Assistant orchestrator

/03 Complete model inventory

Explore every element by type. Diagram navigation above shows one viewpoint at a time.

Business Actor (1)
  • User
Application Component (5)
  • Assistant interface
  • Retrieval service
  • Ingestion pipeline
  • Guardrails
  • Evaluation and feedback
Agent (1)
  • Assistant orchestrator
Data Store (2)
  • Vector index
  • Source documents
Application Service (2)
  • Embedding model
  • Language model