Building a Client-Focused Financial Services Platform with RAG and Foundation Models

mnp · Finance · 2024 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.4 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Financial services GenAI platform

MNP needed a client-focused GenAI platform that could provide contextualized insights while overcoming tight foundation-model/data-warehouse coupling, laggy time-to-first-token behavior, GPU-driven cost, and security requirements for diverse client datasets.

Constraints:

Architecture

MNP partnered with Databricks to build a lakehouse-based RAG platform. Databricks AI Search provides governed vector search, Mixtral 8x7B serves as the selected mixture-of-experts model, Foundation Model APIs connect lakehouse compute to the application, RAG keeps responses grounded in continually refreshed data, and Unity Catalog enforces Private AI standards and governance.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  databricks-lakehouse[Databricks lakehouse] --> ai-search-vector-database[AI Search vector database]
  databricks-lakehouse --> unity-catalog[Unity Catalog]
  ai-search-vector-database --> rag-retrieval-layer[RAG retrieval layer]
  rag-retrieval-layer --> mixtral-8x7b-model[Mixtral 8x7B model]
  mixtral-8x7b-model --> foundation-model-apis[Foundation Model APIs]
  foundation-model-apis --> client-facing-interface[Client-facing interface]
  unity-catalog --> client-facing-interface
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Databricks lakehouse Unified data foundation for client and firm datasets. AI Search vector database, Unity Catalog
AI Search vector database Serverless governed vector search repository for embeddings. Databricks lakehouse, RAG retrieval layer
RAG retrieval layer Refreshes embeddings and retrieves contextual data for generation. AI Search vector database, Mixtral 8x7B model
Mixtral 8x7B model Mixture-of-experts foundation model for contextual generation. RAG retrieval layer, Foundation Model APIs
Foundation Model APIs Operational layer for deploying, managing, and interacting with LLMs. Mixtral 8x7B model, Client-facing interface
Unity Catalog Governance layer for Private AI, data isolation, and security. Databricks lakehouse, Client-facing interface
Client-facing interface Language-based interface for client insights and decisions. Foundation Model APIs, Unity Catalog

Data flow

Client and firm data lands in the Databricks lakehouse. AI Search stores embeddings in a governed serverless vector database, retrieval brings relevant context into the generation flow, Mixtral 8x7B produces the response through Foundation Model APIs, and Unity Catalog maintains governance and data isolation.

3 supporting quotes
“AI Search provided seamless access to optimized data, crucial for deploying LLMs, specifically MNP’s eventual choice of Mixtral 8x7B.”article, stated
“After the firm completed their model evaluation and selection, their data team selected retrieval augmented generation (RAG) as their preferred refinement strategy.”article, stated
“Databricks Foundation Model APIs helped MNP monitor the essential components for deploying and managing LLMs.”article, stated

Why this architecture

The lakehouse plus RAG architecture decoupled foundation-model experimentation from the old warehouse, supported updated data through refreshed embeddings, and kept client data isolated under governance controls. Mixtral 8x7B's MoE design fit simultaneous workloads and context-specific sensitivity.

3 supporting quotes
“foundation model’s tight integration with their existing data warehouse hindered experimentation with other solutions.”article, stated
“The ability to continually integrate new data, refresh the embedding database and employ the information to provide contextual relevance was fundamental”article, stated
“With a stable data environment, the adoption of LLMs and RAG applications within the Databricks Data Intelligence Platform ensures that MNP’s data remains isolated and secure via “Private AI” standards.”article, stated

Models used: Mixtral 8x7B · DBRX · foundation models

Scale

Alternatives considered (roads not taken)

Keep tightly coupled foundation-model/data-warehouse integration

Rejected because: It hindered experimentation with other model and platform choices.

“the foundation model’s tight integration with their existing data warehouse hindered experimentation with other solutions.”article, stated

Use fine-tuning/retraining as the primary refinement strategy

Rejected because: RAG was selected because datasets required regular updates or additions.

“After the firm completed their model evaluation and selection, their data team selected retrieval augmented generation (RAG) as their preferred refinement strategy. This choice was influenced by the need to work with datasets that required regular updates or additions.”article, stated

Continue GPU-heavy serving over large data volumes

Rejected because: Total cost of ownership had become prohibitive.

“Finally, the total cost of ownership (TCO) became prohibitive due to significant GPU usage from the large data volume required for a reliable corpus and frequent retraining and serving of the model.”article, stated

Patterns

rag-retrieval (retrieval)

MNP uses RAG over refreshed embeddings to provide contextual relevance from changing datasets.

“selected retrieval augmented generation (RAG) as their preferred refinement strategy.”article, stated

privacy-preserving-processing (governance)

Unity Catalog and Private AI standards keep client data isolated and secure.

“MNP’s data remains isolated and secure via “Private AI” standards.”article, stated

retrieval-ranking (retrieval)

AI Search acts as a governed vector repository for pinpointing relevant information.

“a highly performant serverless vector database with built-in governance.”article, stated

Tradeoffs

Model refinement strategy

Chose RAG with refreshed embeddings over retraining/fine-tuning as the only path.

Rationale: The data needed regular updates and additions, making retrieval-based context more suitable.

“datasets that required regular updates or additions.”article, stated

Model choice

Chose Mixtral 8x7B over the prior tightly integrated foundation-model setup.

Rationale: The MoE model supported context-specific sensitivity, broader instructions, and parallel workloads.

“broaden the parameters to accommodate a wider range of instructions and enhance parallel processing to support simultaneous workloads.”article, stated

Gotchas (what bit them)

Model/data-warehouse coupling blocked experimentation.

Root cause: The initial deployment tied the foundation model too tightly to existing warehouse architecture.

Resolution: Move to a lakehouse architecture with Databricks AI Search and Foundation Model APIs.

“foundation model’s tight integration with their existing data warehouse hindered experimentation”article, stated

Latency and GPU costs made the initial GenAI path hard to scale.

Root cause: Time-to-first-token lag and large-data GPU usage hurt user experience and TCO.

Resolution: Adopt a more efficient lakehouse/RAG serving architecture.

“the “time-to-first-token” evaluation metric caused lag issues, negatively affecting user experience.”article, stated

Evaluation

MNP evaluated platform suitability through time-to-first-token, TCO/GPU usage, model selection, QA testing, data isolation, and production deployment readiness.

Metrics: time-to-first-token · TCO · GPU usage · four weeks to QA testing · data isolation and security

“time-to-first-token” evaluation metric caused lag issues”article, stated

Outcomes

The case covers a national Canadian accounting, consulting, tax, and digital services firm serving diverse clients and evaluating DBRX-scale models.

“offer an intuitive, language-based interface for clients to make insightful, data-driven decisions”article, stated