Generative AI · RAG and knowledge assistants
Assistants that answer from your documents, not from guesswork.
Retrieval-augmented generation (RAG) on Amazon Bedrock: the assistant finds the passages that apply, checks live records where it needs to, and writes the answer in the user’s language.
- of player questions resolved without an agent · DreamCasino
- ~70%
- p95 response time, at any hour · DreamCasino
- < 10 s
- for new terms to reach answers, down from 2 to 3 days · DreamCasino
- < 1 hr
Is it a fit?
Good fit if two or more of these sound familiar.
- Support or service teams answering the same questions from policies, terms or product documents
- Customers writing in several languages or across time zones
- Answers that depend on the customer’s own account or records
- Content that changes every week, such as offers or pricing rules
What is included
RAG and knowledge assistants: what Cypik builds and runs.
- Grounded answers
- Amazon Bedrock Knowledge Bases index your documents and return only the passages that apply to each question.
- Per-tenant filtering
- Every retrieval is filtered to the right customer, operator or institution, so one tenant never sees another’s content.
- Live account context
- Read-only API calls add the user’s own records, such as wagering progress or withdrawal status, before the model answers.
- Multilingual search
- Multilingual embeddings find an English passage for a question asked in Portuguese or Norwegian.
- Guardrails on every reply
- Amazon Bedrock Guardrails block denied topics and mask personal data before anything reaches the user.
- Handover to a person
- When the assistant should not decide, it passes the conversation on with a short summary of what it checked and said.
Built on AWS
The AWS services we use.
In your AWS account, in private subnets, with model calls through VPC endpoints.
- Amazon Bedrock
- Runs the answering model and the summary model, on demand, in the Region you choose.
- Amazon Bedrock Knowledge Bases
- Indexes documents from Amazon S3 and retrieves passages per question and per tenant.
- Amazon Bedrock Guardrails
- Checks every reply for denied topics and masks personal data.
- Amazon S3
- Holds source documents and conversation transcripts.
- Amazon ElastiCache
- Keeps the conversation so far, so users never repeat themselves.
- Amazon EKS or Amazon ECS
- Runs the assistant service beside your existing applications, scaling with demand.
Architecture
A production build on AWS.
How it runs
From first use case to 24/7 operation.
- 01Collect real questionsPull a set of questions your users actually ask, with the answers your team would give.
- 02Index and testIndex the documents and run candidate models against those questions until answers pass your quality gates.
- 03Connect live dataAdd read-only lookups for user-specific answers, and guardrails for what must never be said.
- 04Launch and runStream answers, watch p95 response time and escalation rates, and re-sync documents as they change.
Proof
RAG and knowledge assistants in production.
Questions
RAG and knowledge assistants: common questions.
What is retrieval-augmented generation (RAG)?
A pattern where the assistant first retrieves the passages that apply from your own documents, then has the model write an answer from them. Answers reflect your content instead of only what the model learned in training.
Should we use RAG or fine-tuning?
Start with RAG when the knowledge changes often or must be cited, such as policies, terms or product documents. Fine-tuning changes how a model behaves, not what it knows today, so it rarely replaces retrieval.
How do you stop the assistant making things up?
The answer is built from retrieved passages and, where needed, the user’s live records. Guardrails check every reply, and questions the assistant should not settle go to a person with a summary.
How do you keep one customer’s documents from another?
Each query is filtered to the tenant the user belongs to, taken from their signed session. At DreamCasino every answer comes only from the documents of the operator the player belongs to.
How quickly do new documents reach the answers?
As soon as the knowledge base syncs. DreamCasino’s new bonus terms reach the assistant’s answers within an hour of publication, where briefing agents used to take 2 to 3 days.
Is our data used to train the model?
No. Amazon Bedrock does not use prompts or responses to train models, and the documents stay in your AWS account.
Who runs the assistant after launch?
Cypik does, 24/7: response-time and escalation alarms, document re-syncs, guardrail tuning and model updates.
Related services
Other AI services on AWS.
AI agents
Agents that choose and call your APIs to get work done, under the user’s identity and within the permissions you set.
Document intelligence
Scanned forms, transcripts and files read, summarised and searchable by meaning, with a person approving the result.
Machine learning on Amazon SageMaker
Predictive models for fraud, risk and detection, trained on your history and on outcomes your team confirms.
Managed AI operations
Generative AI and ML systems run 24/7: monitoring, guardrails, cost control and model updates, by the team that runs your AWS.
Talk to us about rag and knowledge assistants.
Bring the workflow and the number you want to move. You talk to the engineer who would build it.