RAG System for Investment Policy Search and Advisory at RBC

arcane · Finance · year n/a · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (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 investment policy search and advisor support

RBC needed investment advisors to pinpoint policy answers from proprietary semi-structured financial documentation without creating bottlenecks for specialized experts or exposing clients to misleading RAG outputs.

Constraints:

Architecture

RBC built Arcane, an internal RAG system for direct-investment policy search. The system provides a chat interface with frequent advisor questions and chat-memory management, parses semi-structured internal policy sources, chunks and indexes them for retrieval, and evaluates outputs with both traditional retrieval metrics and RAGAS-style faithfulness and answer-relevance metrics. The pilot was tested in production, with Borealis AI positioned to scale it to enterprise users.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  A["Semi-structured policy sources"] --> B["Parser and chunker"]
  B --> C["Vector retrieval index"]
  C --> D["Arcane chat interface"]
  D --> E["Generation model"]
  E --> D
  C --> F["RAG evaluation layer"]
  E --> F
  F --> G["Security and education controls"]
  D --> H["Advisor user"]
  G --> H
  I["Borealis AI"] --> D
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Semi-structured policy sources Internal and external financial policy information in HTML, PDFs, websites, and similar formats. Parser and chunker
Parser and chunker Converts irregular semi-structured documents into meaningful retrievable chunks. Semi-structured policy sources, Vector retrieval index
Vector retrieval index Retrieves policy chunks for advisor questions. Parser and chunker, Arcane chat interface, RAG evaluation layer
Arcane chat interface Advisor-facing interface with frequent questions and chat memory/management. Vector retrieval index, Generation model, Advisor user
Generation model Generates answers from retrieved policy context. Arcane chat interface, RAG evaluation layer
RAG evaluation layer Combines retrieval precision/recall with faithfulness and answer-relevance evaluation. Vector retrieval index, Generation model, Security and education controls
Security and education controls Operational controls for hallucination, privacy, model security, and user behavior. RAG evaluation layer, Advisor user
Advisor user Investment advisor searching policy guidance for client questions. Arcane chat interface, Security and education controls
Borealis AI RBC enterprise AI branch expected to take the pilot toward broader scaling. Arcane chat interface

Data flow

Semi-structured financial policy sources such as HTML, PDFs, internal websites, and other documents are parsed into meaningful chunks and indexed for retrieval. Advisors ask policy questions in the Arcane chat interface, retrieval returns relevant parsed chunks, generation uses those chunks to answer, and evaluation checks retrieval precision/recall plus faithfulness and answer relevance. Human education and security controls are treated as part of the operating system around the RAG application.

4 supporting quotes
“Arcane uh it's an internal rack system to pinpoint uh investment policies”transcript, stated
“what you notice to the left um is you know that that chat memory or chat management right”transcript, stated
“the solution to that is um to have a really good parser um and and um make sure all your sources of data properly and can be properly parsed”transcript, stated
“with faithfulness uh we get how factually um accurate is the generated answer”transcript, stated

Why this architecture

RBC chose RAG because policy answers were not in a structured database and advisors needed specific proprietary information, but the design emphasis is that parsing, chunking, evaluation, security, and user education matter as much as the model. The speaker repeatedly frames semi-structured parsing as the bottleneck and RAG evaluation as necessary because retrieval and generation can both fail.

3 supporting quotes
“information about programs like the Home Buyers' Plan (HBP) and other investment policies was scattered across multiple semi-structured sources”summary, stated
“really finding the piece of information to index them um is not easy and that's why search is so time consuming”transcript, stated
“the biggest issue that we faced was um the fact that we're dealing with semi-structured data”transcript, stated

Models used: RAGAS · Vector databases · GPT-3.5 · GPT-4 · GPT-4 Turbo

Scale

Alternatives considered (roads not taken)

Treat financial policy sources like structured database records

Rejected because: The information was not structured enough for exact queries and responses.

“investment policies was scattered across multiple semi-structured sources that were difficult to search efficiently.”summary, stated

Throw RAG at every problem because it is available

Rejected because: The speaker explicitly warns against technology bias and urges matching RAG to useful cases.

“just just comment sense don't throw rag at things um you get it for technologically technologically biased individuals”transcript, stated

Rely only on larger generation models to fix retrieval quality

Rejected because: Without proper parsing and chunking, even the best LLMs struggle to find specialized internal information.

“without proper parsing and and chunking of the data it's very hard even with uh you know the best llms out there to get to the right piece of information”transcript, stated

Patterns

rag-retrieval (retrieval)

Arcane retrieves investment-policy context from parsed internal documentation before answering advisor questions.

“Arcane uh it's an internal rack system to pinpoint uh investment policies”transcript, stated

eval-driven-development (quality)

RBC used RAGAS-style faithfulness and answer relevance alongside retrieval metrics such as precision and recall.

“sagus is the one um that we use actually”transcript, stated
“Precision is you know from the ones that from from the claims that you're making about um the data how many of them are correct”transcript, stated

context-engineering (context)

The system's success depended on parsing and chunking financial policy content into meaningful context that retrieval and generation could use.

“the chunks have to really be meaningful uh you know pieces of information”transcript, stated

safety-policy-enforcement (risk)

The operating guidance combines evaluation, education, and systemic security to manage hallucination, privacy, and model-security risks.

“make sure you evaluate properly um make sure you educate and make sure you have systemic security”transcript, stated

Tradeoffs

Prioritize parsing and chunking over treating vector databases as the bottleneck.

Chose High-quality parsing/chunking of semi-structured sources over Assuming vector database choice alone solves retrieval.

Rationale: The speaker says vector databases were not the bottleneck; how they were used depended on parsing and chunking.

“Vector databases were not the bottleneck um how how to however how to use them was important”transcript, stated

Use multiple evaluation methods.

Chose Retrieval precision/recall plus RAGAS faithfulness and answer relevancy over Only inspecting retrieved chunks or only judging generated answer fluency.

Rationale: Retrieval and generation fail differently, so evaluation needs both context and answer metrics.

“there is no perfect solution but a combination of methods will get you to a very safe safe space”transcript, stated
“all it adds um to the left is you know your faithfulness and answer relevancy”transcript, stated

Keep humans educated about RAG risk.

Chose User education plus guardrails over Trying to eliminate all RAG risk purely systematically.

Rationale: The speaker says the system cannot absorb all risk automatically, especially in multi-turn financial advice.

“there is no way you can um you can take on all that um risk um systematically or and systemically”transcript, stated

Gotchas (what bit them)

Semi-structured document parsing was the main bottleneck.

Root cause: HTML, PDFs, internal sites, and other semi-structured sources had irregular structure and inconsistent tagging.

Resolution: Invest in parsing and chunking before relying on vector retrieval or generation.

“the biggest issue that we faced was um the fact that we're dealing with semi-structured data”transcript, stated
“if you cut them um in the wrong place they're not going to be helpful”transcript, stated

Multi-turn RAG can compound errors into convincing false answers.

Root cause: The model has to rely on retrieved context for unseen internal knowledge while also tracking conversational memory.

Resolution: Use careful prompt engineering, user education, and guardrails instead of assuming memory is safe.

“if you ask five questions back to back chances that the fifth question is absolutely false is very high”transcript, stated
“educating the user is very important there is no way you can um you can take on all that um risk”transcript, stated

False answers are worse than irrelevant answers in financial advice.

Root cause: A relevant-looking hallucination can misadvise the advisor or client.

Resolution: Evaluate faithfulness and answer relevance and maintain security/education controls.

“if it looks relevant you may uh be misadvice right and just go ahead and and follow that advice”transcript, stated
“how factually um accurate is the generated answer”transcript, stated

Proprietary internal knowledge changes what models can know.

Root cause: The materials are internal and specialized, so public or broadly trained models have never seen them.

Resolution: Use RAG over proprietary parsed sources rather than expecting the base model to contain the knowledge.

“these are highly highly specialized materials a lot of them are internal so these models would have never had a chance to have seen them”transcript, stated

Evaluation

RBC used a combination of information-retrieval metrics and RAGAS-style generation metrics: precision, recall, F-score, faithfulness, and answer relevance. The speaker also emphasizes production testing, user education, and security controls as part of the evaluation and risk envelope.

Metrics: Precision · Recall · F-score · Faithfulness · Answer relevancy · Production pilot testing

4 supporting quotes
“precision and and recall your head and misses right um and all it adds um to the left is you know your faithfulness and answer relevancy”transcript, stated
“Precision is you know from the ones that from from the claims that you're making about um the data how many of them are correct”transcript, stated
“recall is from uh the correct answers out there in the world how many of them you're retrieving”transcript, stated
“we tested everything in production”transcript, stated

Outcomes

The transcript reports a production-tested pilot, anticipated scaling to millions of users through Borealis AI, highly trained advisors with 5-10 years of post-secondary study, and potential millions of dollars in bottom-line impact from service bottlenecks.

3 supporting quotes
“we worked on the pilot um side of it um so we tested everything in production”transcript, stated
“scaling it up and use it uh you know to millions and millions of um users”transcript, stated
“the biggest issue that we faced was um the fact that we're dealing with semi-structured data”transcript, stated