Overview
Sarah Bennett wanted to make digital banking interactions accessible through natural speech, with identity verification and data protection built into the experience.
The project needed to connect several capabilities: understanding spoken requests, generating relevant responses, verifying users, and communicating with banking services. Speed mattered, but so did the controls surrounding sensitive requests.
Red Star Technologies developed an AI voice assistant using Next.js, Python FastAPI, WebRTC, Google Cloud Speech-to-Text, and OpenAI GPT. The supplied project results report 97% authentication accuracy, response times below two seconds, and a 35% reduction in call center volume.
Initial Challenge
Protecting Sensitive Financial Information
The assistant needed to handle financial queries while protecting information transmitted through the voice workflow.
Identity verification and access authorization were important requirements alongside speech recognition and response generation.
Verifying Users Through Voice
Recognizing what someone said and verifying who was speaking were separate challenges.
The project required voice-based verification, with a fallback method for sensitive actions. That verification process also needed to fit within a usable customer experience.
Understanding Banking Queries
The assistant needed to interpret domain-specific requests and return clearly structured responses.
General conversational capability alone did not define how the system should handle banking scenarios. The prompts and response formats needed to reflect the intended use.
Maintaining Responsiveness and Availability
The voice interface needed prompt responses while supporting concurrent sessions.
Reliability was another requirement. The supporting infrastructure needed load balancing, failover, and monitoring for the banking workflow.
Background
The project was developed for Sarah Bennett in the FinTech and digital banking sector. The client profile identifies London, UK, as the project location and a team of 4–6 employees.
The implementation combined a Next.js frontend with a Python FastAPI backend. WebRTC supported voice communication, Google Cloud Speech-to-Text handled transcription, and OpenAI GPT generated responses.
OAuth 2.0 provided an authorization framework, while voice biometrics and an OTP fallback supported user verification. Banking APIs connected the assistant with the relevant services.
Solution Design and Implementation
Built an Encrypted Voice Pipeline
The frontend provided a browser-based interface for spoken input, with WebRTC carrying the audio through encrypted transmission.
Google Cloud Speech-to-Text converted the audio into text for processing. OpenAI GPT then handled response generation using prompts tailored to banking scenarios.
The FastAPI backend coordinated the application’s processing and integrations.
Added Voice Verification and an OTP Fallback
We integrated voice fingerprinting as part of the user-verification process.
An OTP fallback was included for sensitive actions. This provided an additional verification route within the workflow.
OAuth 2.0 supported application access authorization alongside these identity-verification controls.
Tailored Prompts and Response Formats for Banking
We adapted prompts for the financial queries the assistant was intended to support.
Responses were structured for clarity, helping organize the information returned to the user. The implementation also integrated real-time banking APIs into the workflow.
This work involved prompt design and API integration; the supplied scope does not identify custom model training.
Deployed Infrastructure Across AWS Regions
The infrastructure used a multi-region AWS deployment with load balancing and failover systems.
Real-time monitoring supported visibility into service operation. These components addressed the project’s availability requirements without relying on a single deployment location.
The Results
The project reports the following outcomes.
97%
Authentication accuracy
Identity verification
< 2.0 s
Response time
Responsiveness
100+
Concurrent-session handling
Concurrent use
35%
Reduction in call center volume
Demand on the call center
| Measure | Reported Result |
|---|---|
| Authentication accuracy | 97% |
| Response time | Under 2.0 seconds |
| Concurrent-session handling | 100+ sessions |
| Call center volume | 35% reduction |
Customer trust and usability were also reported as qualitative improvements.
The results cover different aspects of the implementation: identity verification, responsiveness, concurrent use, and changes in demand on the call center. The call-volume figure does not establish an equivalent reduction in support costs or staffing.
In Their Own Words
“This voice assistant has elevated our digital banking experience. It’s secure, fast, and incredibly intuitive for our users.”
— Sarah Bennett
Lessons Learned
- Treat verification and access authorization as distinct requirements: Understanding a request, verifying the speaker, and authorizing access serve different purposes.
- Include a fallback for voice verification: The project paired voice biometrics with an OTP option for sensitive actions.
- Adapt prompts to the intended domain: Banking-specific instructions and structured responses helped define how the assistant should handle its supported requests.
- Address availability beyond the interface: Multi-region deployment, load balancing, failover, and monitoring formed part of the supporting infrastructure.
Developing a Voice Interface for Financial Services?
A banking voice assistant needs clear boundaries around the requests it supports, the information it accesses, and the verification steps surrounding sensitive actions.
Red Star Technologies can help assess those requirements and develop an AI assistant around your application, APIs, and operational needs.
Talk to Our TeamTech Stack Summary
| Component | Technology |
|---|---|
| Frontend | Next.js |
| Backend | Python, FastAPI |
| Voice communication | WebRTC |
| Speech-to-text | Google Cloud Speech-to-Text |
| Response generation | OpenAI GPT |
| Access authorization | OAuth 2.0 |
| Voice-based verification | Voice biometrics |
| Verification fallback | One-time passwords |
| Cloud infrastructure | AWS, multi-region deployment |
Conclusion
The project connected spoken banking queries with response generation, user verification, and banking API integration. Its supporting infrastructure addressed concurrent access and service availability, providing a foundation for the digital banking voice experience Sarah Bennett sought to introduce.