How dhanishetty/azure-cloud-ai works
Azure-Cloud-AI is a deployed RAG PDF question-answering application: users upload a PDF, background ingestion indexes page-aware chunks, and users ask questions that receive cited answers. The graph follows the browser through the SPA and API, then separates asynchronous ingestion from retrieval. README documents Azure infrastructure, AKS networking, identity and observability; these are included at subsystem level where exact paths are supported. The additional sentiment and topic pages are explicitly coming-soon UI, not implemented processing pipelines. Source excerpts support runtime calls; deployment and platform relationships are taken from the README, not independently inspected manifests.
Main entry points: App.tsx App routes · aks.bicep AKS cluster · main.py FastAPI service · worker.py Ingestion worker
Components 21
Web application
- React SPA
Code/Frontend/src/main.tsx - App routes
Code/Frontend/src/app/App.tsx - Navigation layout
Code/Frontend/src/app/Layout.tsx - PDF chat UI
Code/Frontend/src/features/rag-chat/RagChatPage.tsx - API client
Code/Frontend/src/lib/api.ts - Architecture view
Code/Frontend/src/features/architecture/ArchitecturePage.tsx - Sentiment preview
Code/Frontend/src/features/youtube-sentiment/SentimentPage.tsx - Topics preview
Code/Frontend/src/features/topic-modeling/TopicsPage.tsx - Preview component
Code/Frontend/src/components/ComingSoon.tsx
RAG runtime
- FastAPI service
Code/Backend/RAG/backend-api/main.py - Ingestion worker
Code/Backend/RAG/ingestion-worker/worker.py
Azure services
- PDF blob store
- Ingestion queue
- AI Search index
- Azure OpenAI
Platform operations
- Traefik ingress
k8s/platform - AKS cluster
infra/aks.bicep - Workload identity
infra/identity.bicep - Telemetry services
infra/monitoring.bicep - Container registry
infra/acr.bicep
Other components
- Browser user
Connections 27
- Browser user → Traefik ingress: opens HTTPS
README.md - Traefik ingress → React SPA: routes web traffic
README.md - React SPA → App routes: renders
Code/Frontend/src/main.tsx - App routes → Navigation layout: wraps routes
Code/Frontend/src/app/App.tsx - App routes → PDF chat UI: routes to
Code/Frontend/src/app/App.tsx - App routes → Architecture view: routes to
Code/Frontend/src/app/App.tsx - App routes → Sentiment preview: routes to
Code/Frontend/src/app/App.tsx - App routes → Topics preview: routes to
Code/Frontend/src/app/App.tsx - Sentiment preview → Preview component: renders
Code/Frontend/src/features/youtube-sentiment/SentimentPage.tsx - Topics preview → Preview component: renders
Code/Frontend/src/features/topic-modeling/TopicsPage.tsx - PDF chat UI → API client: calls
Code/Frontend/src/features/rag-chat/RagChatPage.tsx - Architecture view → API client: calls
Code/Frontend/src/features/architecture/ArchitecturePage.tsx - API client → FastAPI service: HTTP requests
README.md - FastAPI service → PDF blob store: stores and reads PDFs
Code/Backend/RAG/backend-api/main.py - FastAPI service → Ingestion queue: enqueues jobs
Code/Backend/RAG/backend-api/main.py - Ingestion queue → Ingestion worker: dispatches jobs
README.md - Ingestion worker → PDF blob store: reads PDF; updates status
Code/Backend/RAG/ingestion-worker/worker.py - Ingestion worker → Azure OpenAI: creates embeddings
Code/Backend/RAG/ingestion-worker/worker.py - Ingestion worker → AI Search index: indexes chunks
Code/Backend/RAG/ingestion-worker/worker.py - FastAPI service → Azure OpenAI: embeds and answers
Code/Backend/RAG/backend-api/main.py - FastAPI service → AI Search index: retrieves and deletes chunks
Code/Backend/RAG/backend-api/main.py - AKS cluster → FastAPI service: runs service
README.md - AKS cluster → Ingestion worker: runs worker
README.md - AKS cluster → React SPA: runs frontend
README.md - AKS cluster → Workload identity: uses pod identities
README.md - AKS cluster → Telemetry services: sends telemetry
README.md - Container registry → AKS cluster: supplies images
README.md