How azure-samples/miyagi works
Main Components
a. Frontend Layer:
• React/TypeScript UI application (ui/typescript)
• VSCode extension for GitHub Copilot Agent
• Components for chat, personalization, and financial insights
b. Backend Services:
• User Service (Java)
• Order Service
• Expense Service (Python)
• Recommendation Service (.NET)
• SK Copilot Chat API (.NET)
• ChatGPT Plugin Service
c. AI/ML Components:
• Azure OpenAI integration
• Semantic Kernel orchestration
• Vector stores (Azure AI Search, Cosmos DB Postgres pgvector)
• LangChain and LlamaIndex implementations
• AutoGen and TaskWeaver components
d. Infrastructure:
• Azure Kubernetes Service (AKS)
• Azure Container Apps (ACA)
• Event-driven architecture components (Service Bus, Event Grid)
• Storage solutions (Cosmos DB, PostgreSQL, Redis Cache)
Relationship Flows
• User interactions flowing from UI to backend services
• Event flows between microservices
• Data flows to/from AI services
• Memory and context management paths
• Authentication and authorization flows
Architectural Patterns to Highlight
a. Event-Driven Architecture:
• Event bus connections between services
• Asynchronous communication patterns
b. AI Integration Patterns:
• Demonstrate RAG (Retrieval-Augmented Generation) flow
• Prompt engineering pipeline
• Vector store integration
c. Microservices Architecture:
• Service boundaries and communication
• API gateway pattern
• Service mesh if applicable
[Azure Infrastructure]
• AKS/ACA Cluster
• Network Security
• Monitoring & Logging
[Storage Solutions]
• Cosmos DB
• PostgreSQL
• Redis Cache
• Vector Stores
[Microservices]
• User Service
• Order Service
• Expense Service
• Recommendation Service
[AI Components]
• Azure OpenAI
• Semantic Kernel
• Vector Embeddings
• Custom Models
Implementation Notes
• Maintain consistent sizing and spacing
• Version/environment indicators
• Deployment pipeline indicators
• Integration with DevOps tools
Remember to include a separate view for the AI orchestration flow, showing how Semantic Kernel, LangChain, and other AI components interact within the system.