mirror of
https://github.com/katanemo/plano.git
synced 2026-06-20 15:28:07 +02:00
84 lines
9.4 KiB
TypeScript
84 lines
9.4 KiB
TypeScript
export const diagrams = {
|
|
intentDetection: ` ╔═ Intent Detection ═════════════════════════════╗
|
|
╔═══════════╗ ║ ║░
|
|
║ ║░ ║ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ║░
|
|
║ agent ║░─────────║─▶┃ Cognition ┃ ║░
|
|
║ ║░ ║ ┃ ┃ ║░
|
|
╚═══════════╝░ ║ ┃ Action ┃ ║░
|
|
░░░░░░░░░░░░░ ║ ┗━━━━━━━━━━━━━━━┬━━━━━━━━━━━━━━━━━━━━━━━┛ ║░
|
|
║ │ ║░
|
|
║ ▼ ║░
|
|
║ ┌───────────────────────┐ ║░
|
|
║ │ Confirm action? │ ║░
|
|
║ └───────────┬───────────┘ ║░
|
|
║ │ ║░
|
|
║ ▼ ║░
|
|
║ ┌───────────────────────┐ ║░
|
|
║ │ Execute Action │ ║░
|
|
║ └───────────────────────┘ ║░
|
|
║ ║░
|
|
╚════════════════════════════════════════════════╝░
|
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░`,
|
|
|
|
dataFlow: ` ╔═ Data Pipeline ═════════════════════════════╗
|
|
╔═══════════╗ ║ ║░
|
|
║ ║░ ║ ┏━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━━━━━┓ ║░
|
|
║ Input ║░────────────║─▶┃ Process ┃────▶┃ Transform ┃ ║░
|
|
║ ║░ ║ ┗━━━━━━━━━━━┛ ┗━━━━━━━┬━━━━━━━━━┛ ║░
|
|
╚═══════════╝░ ║ │ ║░
|
|
░░░░░░░░░░░░░ ║ ▼ ║░
|
|
║ ┌──────────────────┐ ║░
|
|
║ │ Store (DB) │ ║░
|
|
║ └──────────────────┘ ║░
|
|
║ ║░
|
|
╚═════════════════════════════════════════════╝░
|
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░`,
|
|
|
|
microservices: ` ╔═ Microservices Architecture ════════════════════╗
|
|
╔═══════════╗ ║ ║░
|
|
║ ║░ ║ ┌─────────────────────────────────────┐ ║░
|
|
║ Client ║░────API─────║─▶│ API Gateway │ ║░
|
|
║ ║░ ║ └──────────┬──────────────┬───────────┘ ║░
|
|
╚═══════════╝░ ║ │ │ ║░
|
|
░░░░░░░░░░░░░ ║ ▼ ▼ ║░
|
|
║ ┏━━━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━┓ ║░
|
|
║ ┃ Service A ┃ ┃ Service B ┃ ║░
|
|
║ ┗━━━━━━┬━━━━━━┛ ┗━━━━━━┬━━━━━━┛ ║░
|
|
║ │ │ ║░
|
|
║ └────────┬────────┘ ║░
|
|
║ ▼ ║░
|
|
║ ┌─────────────────┐ ║░
|
|
║ │ Database │ ║░
|
|
║ └─────────────────┘ ║░
|
|
╚══════════════════════════════════════════════╝░
|
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░`,
|
|
|
|
simpleFlow: `╔════════════╗ ╔════════════╗ ╔════════════╗
|
|
║ ║░ ║ ║░ ║ ║░
|
|
║ Step 1 ║░───▶║ Step 2 ║░───▶║ Step 3 ║░
|
|
║ ║░ ║ ║░ ║ ║░
|
|
╚════════════╝░ ╚════════════╝░ ╚════════════╝░
|
|
░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░`,
|
|
|
|
infrastructureLayer: ` ╔═ plano ════════════════════════════════════════╗
|
|
╔═══════════╗ ║ ║░
|
|
║ ║░ ║ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ║░
|
|
║ client ║░─────────║─▶┃ Safety Guardrails ┃ ║░
|
|
║ ║░ ║ ┃ ┃ ║░
|
|
╚═══════════╝░ ║ ┗━━━━━━━━━━━━━━━┬━━━━━━━━━━━━━━━━━━━━━━━┛ ║░
|
|
░░░░░░░░░░░░░ ║ │ ║░
|
|
║ ▼ ║░
|
|
║ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ║░
|
|
║ ┃ Multi-Agent Workflows ┃ ║░
|
|
║ ┗━━━━━━━━━━━━━━━┬━━━━━━━━━━━━━━━━━━━━━━━┛ ║░
|
|
║ │ ║░
|
|
║ ▼ ║░
|
|
║ ┌───────────────────────────────┐ ║░
|
|
║ │ Unified LLM Access │ ║░
|
|
║ └───────────────────────────────┘ ║░
|
|
║ ║░
|
|
╚════════════════════════════════════════════════╝░
|
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░`,
|
|
};
|
|
|
|
export type DiagramKey = keyof typeof diagrams;
|