generate_architecture_diagram¶
Return a Mermaid diagram for a named architecture pattern.
Signature¶
Discover patterns¶
Returns the available keys and their canonical titles.
Patterns¶
| Key | Title |
|---|---|
web-app |
Three-tier web app |
rag |
RAG with Bedrock + OpenSearch |
event-driven |
Event-driven processing |
batch-etl |
Batch ETL pipeline |
agent |
Agentic system with Bedrock Agents |
streaming |
Streaming ingestion + analytics |
Example¶
Request: generate_architecture_diagram("rag")
flowchart LR
User((User)) --> APIG[API Gateway]
APIG --> Orchestrator[AWS Lambda - orchestrator]
Orchestrator --> KB[Bedrock Knowledge Base]
KB --> OS[(OpenSearch Serverless - vectors)]
KB --> S3[(S3 - source documents)]
Orchestrator --> LLM[Amazon Bedrock - Claude]
LLM --> Orchestrator
Orchestrator --> User
Unknown patterns return a structured error with the list of valid keys: