How abhijitmohanty782/accessone-bank- works
AccessOne combines a React banking portal, a Flask banking API, and a FastAPI AI assistant. Users enter through the browser, authenticate, and use banking workflows such as account management and transfers; the copilot separately answers banking questions or maps navigation requests to destinations. The README also describes multilingual voice interaction, contextual conversations, and navigation. Source excerpts show route registration, chat-chain calls, and authentication requests; links between the frontend copilot and assistant API are documented at product level but not shown in sampled frontend calls.
Main entry points: App.jsx Banking App · app.py Banking API · retriever.py Product Retrieval · main.py Assistant API
Components 23
Banking Web App
- Banking App
frontend/src/App.jsx - Session and Auth
frontend/src/contexts/AuthContext.jsx - App Navigation
frontend/src/components/Header.jsx - Copilot Controls
frontend/src/components/FloatingButtons.jsx - Accounts and Dashboard
frontend/src/components/AccountOverview.jsx - Transaction History
frontend/src/components/AdvancedTransactionHistory.jsx - Money Transfers
frontend/src/components/TransferSystem.jsx - Banking Products
frontend/src/pages
Banking Services
- Banking API
backend/app.py - Banking Operations
backend/models.py - MongoDB
AI Copilot
- Assistant API
Assistants/app/main.py - Chat Endpoint
Assistants/app/api/chatbot_routes.py - Navigation Endpoint
Assistants/app/api/helper_routes.py - Answer Chain
Assistants/app/rag_engine/chatbot/chain.py - Intent Chain
Assistants/app/rag_engine/helper/chain.py - Route Lookup
Assistants/app/core/config.py
AI Knowledge
- Product Retrieval
Assistants/app/rag_engine/chatbot/retriever.py - Product Documents
Assistants/app/rag_engine/chatbot/loader.py - Navigation Documents
Assistants/app/rag_engine/helper/loader.py - Chroma Vector Store
Assistants/app/rag_engine/chatbot/retriever.py
Other components
- Bank Customer
- Gemini API
Connections 27
- Bank Customer → Banking App: uses
- Banking App → Session and Auth: provides auth
frontend/src/App.jsx - Banking App → App Navigation: renders
frontend/src/App.jsx - Banking App → Accounts and Dashboard: routes to
frontend/src/App.jsx - Banking App → Transaction History: routes to
frontend/src/App.jsx - Banking App → Money Transfers: routes to
frontend/src/App.jsx - Banking App → Banking Products: routes to
frontend/src/App.jsx - Banking App → Copilot Controls: renders
frontend/src/App.jsx - Session and Auth → Banking API: requests auth
frontend/src/contexts/AuthContext.jsx - Accounts and Dashboard → Banking API: loads account data
- Transaction History → Banking API: loads transactions
- Money Transfers → Banking API: submits transfers
- Banking API → Banking Operations: calls operations
backend/app.py - Banking Operations → MongoDB: reads and writes
backend/models.py - Assistant API → Chat Endpoint: registers routes
Assistants/app/main.py - Assistant API → Navigation Endpoint: registers routes
Assistants/app/main.py - Chat Endpoint → Answer Chain: calls answer chain
Assistants/app/api/chatbot_routes.py - Navigation Endpoint → Intent Chain: calls intent chain
Assistants/app/api/helper_routes.py - Navigation Endpoint → Route Lookup: looks up destinations
- Answer Chain → Product Retrieval: retrieves context
Assistants/app/rag_engine/chatbot/chain.py - Product Retrieval → Product Documents: builds index from
Assistants/app/rag_engine/chatbot/retriever.py - Product Retrieval → Chroma Vector Store: searches
Assistants/app/rag_engine/chatbot/retriever.py - Answer Chain → Gemini API: generates answers
- Product Retrieval → Gemini API: embeds and queries
- Intent Chain → Navigation Documents: uses navigation knowledge
Assistants/app/rag_engine/helper/chain.py - Copilot Controls → Assistant API: sends copilot requests
- Assistant API → Bank Customer: returns guidance