How namburivivek/voice-enabled-banking-assistant works
VoxaBank is a voice-first banking application with a React client and FastAPI backend. The main user journey runs from typed or spoken input through the voice API and dialog/AI handling to banking actions or RBI-grounded guidance, then returns a response; the client also supports account authentication and dashboard banking. The README documents broader capabilities such as transfers, cards, bill payments, analytics, and speech input/output. Some internal AI and dashboard connections are documented but their source was not sampled, so those links cite the README rather than implying inspected implementation details.
Main entry points: voice.py Voice chat API · App.jsx Application shell · main.py FastAPI application · assistant.py Dialog assistant
Components 23
Client experience
- Application shell
frontend/src/App.jsx - Authentication screen
frontend/src/Auth.jsx - Session state
frontend/src/AuthContext.jsx - Banking dashboard
frontend/src/Dashboard.jsx - HTTP client
frontend/src/api.js - Voxa logo
frontend/src/components/VoxaLogo.jsx - Split-flap display
frontend/src/components/SplitFlapText.jsx - Logo loop
frontend/src/components/LogoLoop.jsx
API and identity
- FastAPI application
backend/main.py - Authentication routes
backend/routers/auth.py - Token and password security
backend/security.py
Voice intelligence
- Voice chat API
backend/routers/voice.py - Dialog assistant
backend/ai/assistant.py - Intent and slot parsing
backend/ai/nlu.py - RBI guidance retrieval
backend/ai/rag.py - Voice biometrics
backend/ai/voice_biometrics.py
Banking services
- Banking routes
backend/routers/banking.py - Dialog and banking engine
backend/ai/banking.py - Banking shared logic
backend/ai/common.py - Database client
backend/database.py
Other components
- Customer
- Supabase database
- Browser speech services
Connections 28
- Customer → Application shell: uses
- Application shell → Authentication screen: renders
frontend/src/App.jsx - Application shell → Banking dashboard: renders
frontend/src/App.jsx - Application shell → Voxa logo: renders
frontend/src/App.jsx - Application shell → Split-flap display: renders
frontend/src/App.jsx - Application shell → Logo loop: renders
frontend/src/App.jsx - Authentication screen → Session state: uses
frontend/src/Auth.jsx - Session state → HTTP client: calls
frontend/src/AuthContext.jsx - HTTP client → FastAPI application: sends requests
- FastAPI application → Authentication routes: mounts
backend/main.py - FastAPI application → Banking routes: mounts
backend/main.py - FastAPI application → Voice chat API: mounts
backend/main.py - Authentication routes → Token and password security: uses
backend/routers/auth.py - Authentication routes → Database client: queries
backend/routers/auth.py - Database client → Supabase database: connects
- Banking dashboard → Banking routes: requests banking actions
- Customer → Browser speech services: speaks or listens
- Browser speech services → Voice chat API: submits query
- Voice chat API → Dialog assistant: invokes
backend/routers/voice.py - Voice chat API → Dialog and banking engine: builds banking context
backend/routers/voice.py - Voice chat API → Voice biometrics: verifies speaker
backend/routers/voice.py - Voice chat API → Database client: reads account state
backend/routers/voice.py - Dialog assistant → Intent and slot parsing: classifies utterance
- Dialog assistant → Dialog and banking engine: dispatches banking intent
- Dialog assistant → RBI guidance retrieval: retrieves regulations
- Dialog and banking engine → Banking shared logic: uses shared logic
backend/ai/banking.py - Dialog and banking engine → Database client: accesses ledger
backend/ai/banking.py - Voice chat API → Customer: returns response