Case Studies | SaaS B2B

A RAG knowledge assistant, built on AWS

RAG-Based Knowledge Chat Function

About

A SaaS B2B business working with Cloud Combinator on AWS. The client is anonymised at their request.

Challenge

The challenge had three focus areas, each concerned with giving the client accurate answers from its own material without blurring the line between audiences.

Separating customer and admin knowledge

Customer-facing and admin-facing content cannot be allowed to mix. The system needed two isolated bodies of knowledge so that an end-user query could never surface internal admin material, while both still ran on one coherent platform that was simple to operate.

Keeping answers grounded and current

Responses had to be drawn from the client's actual documents, not invented, and newly uploaded documents needed to become usable almost

Staying secure, scalable, and fault-tolerant

As a real-time service, the assistant needed to handle bursts of queries without pre-provisioned servers, communicate securely between components, and recover gracefully from transient failures rather than dropping requests.

Solution

Retrieval-Augmented Generation means the assistant does not answer from the language model alone. When a question arrives, the system first retrieves the most relevant passages from the client's own documents and then asks the model to compose an answer grounded in that retrieved material. This keeps responses accurate to the client's content and reduces the risk of the model inventing an answer. The generative reasoning is provided by Claude models running on Amazon Bedrock, so no model infrastructure has to be managed directly.

3

RESTful API endpoints for customer queries, admin queries, and document ingestion

2

Isolated Bedrock Knowledge Bases and Agents separating customer and admin content

Near real-

Document availability for query resolution after upload

By the numbers:

  • 3 - RESTful API endpoints for customer queries, admin queries, and document ingestion
  • 2 - Isolated Bedrock Knowledge Bases and Agents separating customer and admin content
  • Near real- - Document availability for query resolution after upload
Changes

The engagement delivered a working, serverless RAG knowledge assistant that answers customer and admin questions from the client's own documents, with the two audiences kept fully separated and new content available for retrieval shortly after upload.

  • Grounded, audience-aware answersCustomer and admin queries are each routed to a dedicated Bedrock Agent and Knowledge Base, so responses are drawn from the right body of content and the two audiences never overlap.
  • A direct ingestion pipelineUploaded documents are tagged with metadata, stored in a single secured S3 bucket, and ingested straight into the correct Knowledge Base, making them usable for query resolution almost immediately.
  • Serverless and fault-tolerantStateless Lambda handlers scale with demand and carry retry logic to absorb transient failures, so the assistant stays responsive under bursty, real-time load.
  • Secure by designServices communicate inside an Amazon VPC, documents are logically segregated by metadata and access controls in one secured bucket, and DynamoDB provides fast, serverless session and activity tracking.
  • HandoverThe client received the deployed RAG workflow spanning ingestion, retrieval, and query routing, ready to grow its document corpus behind a stable set of APIs.

With a grounded, audience-aware assistant in place, the client has a foundation that scales with its knowledge base: as more documents are added, the same three endpoints keep serving accurate, separated answers, and the serverless architecture grows with demand rather than ahead of it.

AWS Stack

Amazon Bedrock

For the Retrieval-Augmented Generation engine, with Knowledge Bases, Agents, and Claude models generating grounded answers.

Amazon API Gateway

For the three RESTful endpoints handling customer queries, admin queries, and document ingestion.

AWS Lambda

For stateless, scalable ingestion, query routing, and orchestration with built-in retry logic.

Amazon OpenSearch Service

For the vector store, with two indexes providing semantic search over separated content.

Amazon S3

For the central, secured repository of source documents and system logs.

Amazon DynamoDB

For fast, serverless tracking of session data, user identifiers, and operational logs.

Amazon VPC

For secure, isolated communication between services and protection of backend infrastructure.

YOU MIGHT LIKE

Related success stories

View all case studies

Case Studies | Insights

Utilising Language Recognition, Speed, and Enhanced Security to Make Social Media a Force for Good

  • Here, we take a detailed look at how the Cloud Combinator team collaborated with another cutting-edge AI service provider that provides intelligent systems to “make social media more social” for brands and users alike.
  • Arwen AI is a UK-based startup specialising in AI solutions to manage and enhance brands’ social media interactions. Founded in 2020 by Matt McGrory, Dr. David Cole, and Joel Bailey, Arwen. AI focuses on using AI to automatically detect and remove spam, toxic comments, and other unwanted content from social media platforms.
  • The team at Arwen have three core products. ‘Moderate’ is focused on identifying and removing toxic content from social media channels. ‘Engage’ helps brands identify and engage with meaningful conversations on social media, and ‘Customize’ allows brands to apply bespoke algorithms to their channels - creating an even more effective moderation and engagement.
Read more
CONTACT US

Ready to turn AI into impact?

We'll help you spot the highest-value opportunities, reduce risk around your first AI initiative, and define a clear path to results from day one.

Why talk to us:

Outcome-driven recommendations

AWS-recognised delivery expertise

Risk-aware AI adoption

Clear next step, not a sales pitch

Start with a focused 20-minute conversation about your goals — no pressure, no commitment.

This website uses cookies to enhance user experience and to analyze performance and traffic on our website.

See our Privacy Policy for details.