Problem
TP ICAP had tens of thousands of vendor meeting notes in Salesforce. They held product, integration and strategy details, but users spent hours searching by hand. Questions came in two kinds: qualitative ("what do clients think about our solution?") and analytical ("meeting count per region for the last 4 weeks"). Answers had to be accurate, traceable to a record and limited to what each user may see.
Example from the article: "find notes from executive meetings with AnyCompany in Chicago" can mean meetings held in Chicago or meetings with the division headquartered there.
Solution in brief
ClientIQ is a chat assistant that first classifies each question with an LLM and sends it to either a RAG path over meeting notes or a text-to-SQL path over the structured fields. Retrieval filters by metadata before the semantic search, and the user's identity-provider groups are turned into the same filters on both paths. A 100-pair test set evaluates every release.
Questions this case answers
- How to serve both qualitative questions over free-text records and analytical questions over the same records' structured fields from one natural-language interface
- How to keep retrieval precise over many similar documents when queries are ambiguous about which attribute a phrase refers to
- How to enforce an existing user-permission model inside an LLM assistant that retrieves documents and generates queries
- How to answer both free-text questions and counting questions over CRM data with one chat assistant?
Tools and methods
- LLM query router — picks the RAG or SQL path per question
- Amazon Bedrock Knowledge Bases, Titan v1 embeddings, OpenSearch Serverless — RAG with metadata filters
- Amazon Athena with AWS Glue Data Catalog — SQL over the exported records
- Claude 3.5 Sonnet, Amazon Nova Pro — classification and tagging, SQL generation
- Okta group claims — permission filters on both paths
- Amazon Bedrock Evaluations — RAG evaluation in development and CI/CD
Google or a one-time email code. No password.