Intelligent Data Analytics & Insights Platform for Trust Bank
Intelligent Data Analytics & Insights Platform for Trust Bank
Use Case - AWS GenAI Implementation
Industry: Financial Services
Geography: Singapore
Employee Size: 50+
Solution: AWS
About Customer
Trust Bank is a Singapore-based digital bank backed by Standard Chartered and FairPrice Group, providing digitally driven financial services through a mobile-first banking platform. Its offerings include savings and current accounts, credit cards, personal loans, insurance, and rewards. The bank manages large volumes of structured and unstructured enterprise data across multiple business systems. While this data contains valuable business insights, accessing it often required SQL expertise, knowledge of database schemas, and support from technical teams.
Client Requirements
Our Approach
enreap designed and implemented an Intelligent Data Analytics & Insights Platform on AWS, combining Generative AI, Text-to-SQL, Retrieval-Augmented Generation, serverless analytics, and enterprise security controls. The solution enables business users to submit natural-language questions and retrieve insights from both structured enterprise datasets and unstructured knowledge repositories through a single conversational interface.
Our Solution
1. User Authentication & Application Access
Conversational Business Intelligence – Built a React and FastAPI-based conversational interface that enables business users to submit natural-language queries without SQL expertise.
2. AI-Powered Intent Classification
Used Amazon Bedrock with Claude 3 Haiku to classify requests into SQL analytics, knowledge base, schema, or out-of-scope queries and route them accordingly.
3. Schema-Aware Text-to-SQL
Integrated Amazon Bedrock with AWS Glue Data Catalog to generate optimized SQL based on enterprise schema and metadata, with automated correction and retry for failed queries.
4. Serverless Analytics & Data Retrieval
Used Amazon Athena to execute generated SQL against enterprise datasets stored in Amazon S3, providing scalable, serverless analytics without managing database infrastructure.
5. RAG-Based Knowledge Retrieval
Implemented Amazon Bedrock Knowledge Bases with Amazon OpenSearch Serverless to retrieve relevant enterprise documents from S3 and generate contextual, citation-backed responses.
6. Secure, Auditable & Scalable Architecture
Implemented IAM, KMS, Secrets Manager, Security Groups, VPC Endpoints, CloudWatch, CloudTrail, X-Ray, and DynamoDB to support access control, encryption, monitoring, auditability, and conversation history.
Business Outcome
1. Faster Business Query Turnaround - Reduced business query turnaround time from hours to less than 5 seconds.
2. Reduced BI & DBA Dependency - Decreased dependency on BI and database teams by approximately 80% through AI-driven Text-to-SQL automation.
3. Higher SQL Execution Success - Improved SQL execution success rate to over 95% through an automated three-attempt self-correction workflow.
4. Optimized Platform Performance - Reduced AWS Glue metadata API calls by approximately 95% through schema caching and lowered end-to-end response latency by around 200 ms through parallel service execution.
5. 24×7 Self-Service Analytics - Enabled business users to access analytics around the clock without requiring SQL expertise, while bringing structured and unstructured data together through one conversational interface.
6. Secure & Scalable AI Analytics - Delivered a cloud-native platform built on 10+ fully managed AWS services, with two-layer AI safety validation, enterprise security controls, monitoring, and audit logging.