How sadika-dotcom/finpilot-ai works
RemitWise is a remittance assistant API. A user sends a chat message; the chat handler can ask for a transaction ID, return a rate-alert action, or calculate transfer options and use Gemini to explain them. The calculator fetches a live USD-to-BDT rate, falling back to a stale rate if needed, then ranks provider estimates. The API returns text plus optional structured data or an action. The shown code does not implement transaction lookup or alert delivery; those branches only return prompts or action payloads.
Main entry points: main.py Chat Handler · calculator.py Transfer Comparison
Components 10
Chat API
- Chat Endpoint
main.py - Chat Handler
main.py - Delay Triage
main.py - Alert Action
main.py - Chat Response
main.py
Transfer Calculations
- Transfer Comparison
calculator.py - Live Rate Lookup
calculator.py
External Services
- Gemini AI
- Exchange Rate API
Other components
- User
Connections 12
- User → Chat Endpoint: sends message
main.py - Chat Endpoint → Chat Handler: dispatches
main.py - Chat Handler → Delay Triage: handles delay queries
main.py - Chat Handler → Alert Action: returns alert action
main.py - Chat Handler → Transfer Comparison: calculates transfers
main.py - Transfer Comparison → Live Rate Lookup: gets rate
calculator.py - Live Rate Lookup → Exchange Rate API: requests rates
calculator.py - Chat Handler → Gemini AI: requests explanation
main.py - Chat Handler → Chat Response: returns result
main.py - Delay Triage → Chat Response: returns prompt
main.py - Alert Action → Chat Response: returns action
main.py - User → Chat Response: receives reply
main.py