AI Assistant for Financial Data Discovery and Business Intelligence

amazon_finance · Finance · 2025 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.2 (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 data discovery

Amazon Finance analysts spent too much time finding financial data, reconciling systems, and recovering institutional knowledge across documents and legacy systems.

Constraints:

Architecture

Amazon Finance built a RAG assistant around a Streamlit chat UI, Amazon Kendra Enterprise Edition, and Claude 3 Sonnet in Amazon Bedrock. Analysts ask natural-language finance questions; Kendra retrieves relevant paragraphs and document references from indexed financial knowledge; Bedrock combines that context with a prompt template for Claude; the UI returns the answer, source context, feedback controls, and session history. Kendra was chosen over a simpler company-search option because the finance domain needed relevance tuning, metadata customization, synonyms, and pre-generation monitoring.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  streamlit-chat-ui["Streamlit chat UI"]
  amazon-kendra-retriever["Amazon Kendra retriever"]
  kendra-index["Kendra index"]
  amazon-bedrock-rag-solution["Amazon Bedrock RAG solution"]
  claude-3-sonnet["Claude 3 Sonnet"]
  s3-document-buckets["S3 document buckets"]
  feedback-store["feedback store"]
  streamlit-chat-ui --> amazon-kendra-retriever
  amazon-kendra-retriever --> kendra-index
  kendra-index --> s3-document-buckets
  amazon-kendra-retriever --> amazon-bedrock-rag-solution
  amazon-bedrock-rag-solution --> claude-3-sonnet
  amazon-bedrock-rag-solution --> streamlit-chat-ui
  streamlit-chat-ui --> feedback-store
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Streamlit chat UI Authenticated analyst-facing interface that submits natural-language finance questions and displays answers, feedback controls, and session history. Amazon Kendra retriever, Amazon Bedrock RAG solution
Amazon Kendra retriever Enterprise semantic-search layer over indexed financial documents and metadata. Streamlit chat UI, Kendra index, Amazon Bedrock RAG solution
Kendra index Indexed knowledge source built from S3-hosted documents for financial data discovery and business knowledge search. Amazon Kendra retriever, S3 document buckets
Amazon Bedrock RAG solution Prompt/template and orchestration layer that combines retrieved paragraphs with Claude for answer generation. Amazon Kendra retriever, Claude 3 Sonnet, Streamlit chat UI
Claude 3 Sonnet LLM used through Amazon Bedrock to generate grounded financial-analysis answers. Amazon Bedrock RAG solution
S3 document buckets Storage for documents indexed by Amazon Kendra. Kendra index
feedback store Separate storage for user feedback on generated responses. Streamlit chat UI

Data flow

An authenticated analyst asks a question in the Streamlit UI. The app sends the query to Amazon Kendra, which retrieves relevant paragraphs and document references from its index. The Bedrock RAG layer sends that retrieved context and prompt template to Claude 3 Sonnet, returns the generated answer to Streamlit, and records user feedback separately while Kendra continues indexing S3 documents.

4 supporting quotes
“The user asks the question in a chat box after authentication. 2. The Streamlit application sends the query to an Amazon Kendra retriever for relevant document retrieval.”article, stated
“Amazon Kendra sends the relevant paragraph and document references to the RAG solution. 4. The RAG solution uses Anthropic’s Claude in Amazon Bedrock along with the prompt template and relevant paragraph as context.”article, stated
“The LLM response is sent back to the Streamlit UI. 6. The response is shown to the user along with the feedback feature and session history.”article, stated
“Amazon Kendra indexes relevant documents stored in S3 buckets for document search and retrieval.”article, stated

Why this architecture

The architecture targets finance search problems that keyword tools handled poorly: analysts needed natural-language exploration, contextual relationships, preserved institutional knowledge, and controlled retrieval before generation. Kendra supplied semantic retrieval plus tuning and metadata control, while Bedrock/Claude supplied answer synthesis grounded in verified organizational knowledge.

4 supporting quotes
“Keyword-based searches often miss contextual relationships in financial data, and rigid query structures limit analysts’ ability to explore data dynamically.”article, stated
“Amazon Kendra offers superior retrieval accuracy and greater control over search parameters. With Amazon Kendra, you can fine-tune relevance tuning, customize document attributes, and implement custom synonyms”article, stated
“This level of customization helped us tailor the search experience to our specific needs in the Amazon Finance domain and monitor the search results prior to the augmented generation step within user conversations.”article, stated
“The process follows three steps: retrieving relevant information from knowledge sources using semantic search, conditioning the language model with this context, and generating refined responses that incorporate the retrieved information.”article, stated

Models used: Anthropic Claude 3 Sonnet · Amazon Kendra Enterprise Edition

Scale

Alternatives considered (roads not taken)

Traditional keyword search and rigid query tooling

Rejected because: Those tools missed contextual finance relationships and limited dynamic exploration.

“Traditional tools and processes fall short in addressing these challenges. Keyword-based searches often miss contextual relationships in financial data, and rigid query structures limit analysts’ ability to explore data dynamically.”article, stated

Amazon Q Business as the retrieval layer

Rejected because: Kendra gave the team stronger retrieval accuracy, search-parameter control, custom document attributes, and custom synonyms for the finance domain.

“Although both tools aim to streamline access to company information, Amazon Kendra offers superior retrieval accuracy and greater control over search parameters.”article, stated

Patterns

rag-retrieval (business-intelligence)

The assistant retrieves financial documents and context before generating answers.

“We implemented this Retrieval Augmented Generation (RAG) system through a combination of large language models (LLMs) on Amazon Bedrock and intelligent search using Amazon Kendra.”article, stated

hybrid-search (retrieval)

Amazon Kendra combines keyword, semantic, and vector search without manual implementation.

“The service combines keyword, semantic, and vector search approaches automatically, whereas OpenSearch Service requires manual implementation of these features.”article, stated

Tradeoffs

Search backend choice.

Chose Amazon Kendra Enterprise Edition over custom OpenSearch implementation.

Rationale: Kendra reduced manual search-configuration work through built-in enterprise connectors and NLU.

“Whereas OpenSearch Service requires extensive customization and technical expertise, Amazon Kendra provides out-of-the-box natural language understanding, automatic document processing for over 40 file formats, pre-built enterprise connec”article, stated

Gotchas (what bit them)

Traditional keyword search missed contextual relationships in financial data.

Root cause: Financial knowledge lived in disparate sources with rigid query structures and siloed historical decisions.

Resolution: Use enterprise search plus RAG to preserve institutional knowledge and support natural language discovery.

“Keyword-based searches often miss contextual relationships in financial data, and rigid query structures limit analysts’ ability to explore data dynamically.”article, stated

Evaluation

Amazon Finance measured search-time reduction, accuracy, precision, and faithfulness.

Metrics: 30% search-time reduction · 80% search accuracy improvement · 83% precision · 88% faithfulness

“The implementation achieved a 30% reduction in search time, 80% improvement in search result accuracy, and demonstrated 83% precision and 88% faithfulness in knowledge search tasks, while reducing information discovery time from 45-60 minutes to 5-10 minutes.”summary, stated

Outcomes

RAG assistant rather than clearly autonomous agent; marked non-agentic.

“accuracy, and demonstrated 83% precision and 88% faithfulness in knowledge search tasks, while reducing information discovery time from 45-60 minutes to 5-10 minutes.”summary, stated