RAG · AI ASSISTANTS
Your company knowledge. Answers with sources.
Do your team and customers keep asking the same questions? An AI assistant finds answers in your approved documents and shows the supporting source. Try it and see when a person should take over.
Your team lead. The supporting passage is linked directly.
Example · Expense policy, §3EXPLORE IT YOURSELF
An answer. Its evidence. The next step.
Choose a situation and read the supporting passage. The examples also show clarification, missing knowledge and different access permissions.
- AccessCompleted
- RetrieveCompleted
- AnswerCompleted
Answer supported by one example source
Example document
Expense policy · §3
Relevant passage
This fictional policy describes the example company’s expense process.
Submit the receipt and business purpose in the expense portal. Your team lead checks and approves the claim. Finance then reviews it for reimbursement.
Questions about an unclear receipt go to Finance before the claim is submitted.
Back to the answerPrepared conversations with fictional documents. No live language model, no real company data and no transmission of your input to an AI provider.
THE MECHANISM
How an AI assistant helps you
You choose the documents.
Together we agree which information is current and who may use it.
Your team asks a question.
The assistant finds relevant passages in the documents the person is allowed to use.
The answer shows its sources.
You can check the supporting text. If information is missing, the assistant should ask for clarification or refer to a responsible person. Answers are checked; mistakes remain possible.
RAG stands for Retrieval-Augmented Generation. A language model receives relevant information from connected sources alongside the question. This does not automatically retrain the model. Answer quality also depends on the sources, retrieval and evaluation.
Before the first question
- Select sources
Define owners, current versions and permitted use.
- Prepare the knowledge
Make text readable, split it into useful sections and attach metadata.
- Maintain the index
Synchronise content and permissions, including updates and deletions.
For each question
- Check access
Identity and permissions limit which information can be retrieved.
- Retrieve passages
Find relevant content and rerank the results where useful.
- Compose the answer
Give the model suitable context and clear answer instructions.
- Check support
Show references, identify gaps and use the agreed handover path.
The technical terms, explained briefly
- Chunking
- Split documents into meaningful sections while preserving headings, tables and context.
- Embeddings
- Numerical representations used to search for semantic similarity. They do not prove that a statement is true.
- Hybrid Search
- Combines approaches such as keyword and semantic search. Useful for specialist terms, product codes and natural-language questions.
- Reranking
- Re-evaluates retrieved passages against the specific question before selected content reaches the model.
- Grounding
- Ground answers in supplied information. A citation alone does not substantiate every claim.
- Agent
- A system that can also choose tools or direct work steps. Actions need their own permissions and, where appropriate, human approval.
YOUR USE CASE
Three uses. A clearly defined job.
Chat can be the interface. RAG supplies the knowledge. Any actions an assistant may take are defined separately.
| Use | Typical task | What it needs |
|---|---|---|
| Customer chat | Answer questions about services, products or processes and route relevant enquiries. | Approved public content, defined topic boundaries and a customer-service handover. |
| Internal knowledge assistant | Find policies, working instructions and project knowledge with source references. | Authentication, roles, maintained internal sources and a subject-matter owner. |
| Assistant with actions | For example, prepare a ticket or run an approved query in a connected system. | Additional integrations, restricted tool permissions, logging and approvals. |
THE KNOWLEDGE FOUNDATION
Good answers start in your documents.
We establish which sources are actually needed. A connection is useful only when content, permissions and updates work together.
Documents & manuals
PDFs, text, policies and product documents. Scans need text recognition and quality checks.
Intranet & knowledge pages
Approved pages with owners, versions and appropriate access permissions.
CRM, ERP & tickets
Interfaces and live queries are assessed for the use case. Naming a system does not promise a ready-made integration.
RESPONSIBILITY & ACCESS
Share knowledge. Preserve boundaries.
The assistant may only use information the person asking is allowed to access. We build this into the system and its daily operation. Simply telling the AI to respect permissions is not enough.
Before information is read
The system checks who is asking and which documents they may read. Restricted content must be kept out before an answer is generated.
During processing
An instruction inside a document must not override the assistant’s rules. We test these attempts to manipulate the system, known as prompt injections.
In operation
Define access management, logging, retention, deletion and handovers to responsible people.
Where is the data processed?
We establish where your documents are stored, searched and processed by AI, and which logs are kept. A Swiss web server alone does not mean every part of the service processes data in Switzerland.
| Operating model | What we establish |
|---|---|
| Managed services | Providers, processing locations, agreements, retention and access for every service involved. |
| Private infrastructure | Network boundaries, model operation, available resources, maintenance and team responsibilities. |
| Combined deployment | Which content may leave your environment and which interfaces are needed. |
EVALUATE QUALITY
A convincing answer must stand up to scrutiny.
Before launch we test typical questions together: does the assistant find the right documents, do the sources support its answer, and does it recognise missing information and refer to a person when needed?
| Check | How we assess it |
|---|---|
| Relevant sources | Are the expected, accessible passages retrieved? |
| Supported claims | Do the linked passages support the actual claims in the answer? |
| Boundaries & access | What happens with missing knowledge, contradictions, manipulated sources and restricted documents? |
| Usability & effort | Response time, usage cost, human review effort and useful handovers within the agreed test. |
This table describes evaluation criteria. It contains no measured customer results or guaranteed success rates.
How much time does finding answers take?
Compare your own assumptions. Time with an assistant must include reading, verification and any necessary follow-up work.
64Less effort in the modelhours / month
Please check the marked values. People and working days need whole numbers; questions and minutes can include decimals.
Example assumptions, not a forecast. Formula: people × questions × minutes × working days ÷ 60. Setup, source maintenance, training and operating costs are not included. The pilot determines whether the system is worthwhile.
FROM IDEA TO OPERATION
Start with a defined scope. Decide on evidence.
Define the use case
Discuss questions, users, sources, access and protection requirements.
Deliverable: defined scope and an individual proposal.
Build the pilot
Connect a bounded knowledge base and implement the agreed workflow.
Deliverable: an inspectable pilot with source references.
Review together
Review reference questions, roles and failure cases with your subject-matter expert.
Deliverable: test report, open issues and a release decision.
Hand over operations
Agree who keeps documents up to date, regularly checks the service and provides support.
Deliverable: documented operation within the commissioned scope.
KNOWLEDGE & ANSWERS
What to know before you start.
Fundamentals
What is RAG?
Retrieval-Augmented Generation combines retrieval from connected sources with a language model. Relevant information is added to the question as context for the answer. RAG is an architecture, not a separate language model or a guarantee of correct answers.
How does RAG differ from search?
Search returns results or text passages. RAG can additionally turn those passages into a written answer. If a result and preview already solve the task, search alone may be simpler and less costly.
Do we need fine-tuning?
Not automatically. RAG supplies knowledge at query time; fine-tuning changes model behaviour using training examples. The approaches can complement each other. The choice follows the use case and reliable evaluation.
Are a chatbot, RAG and an agent the same thing?
No. A chatbot describes a conversational interface. RAG describes retrieval of knowledge before an answer. An agent can additionally use tools or direct steps. A company chat can use RAG without taking actions on its own.
Sources & integration
Which data is suitable?
Readable, relevant and approved documents with a clear owner. These can include manuals, policies, product information or knowledge pages. Sensitive information is considered only within the agreed protection and access design.
Does it work with PDFs, tables and scans?
Different formats can be supported. Scans need text recognition. Tables, complex layouts and images need appropriate extraction and testing. A large document collection alone says nothing about answer quality.
How do answers stay current?
Through an agreed update process for sources and the search index. Versions, changes, deleted documents and permission changes must be handled. Real-time behaviour is promised only where the specific integration and operation support it.
Can the assistant work across languages and systems?
That depends on the sources, models and interfaces. Required languages are evaluated with their own reference questions. CRM, ERP, intranet or ticketing systems depend on available access and APIs; not every integration is possible without additional work.
Protection & limitations
Who can see which documents?
The access design defines this. Authentication and document permissions must restrict retrieval itself. A browser filter or a request to the model is not sufficient access control. Different roles are tested before rollout.
Does the data stay in Switzerland?
Not automatically. We assess storage, search index, model provider, logs and support access. Swiss hosting or your own infrastructure are possible architectural choices. Actual data flows and agreements determine the answer.
Is our data used to train models?
This is checked for the services used against their terms, agreements and settings. No training use does not automatically mean no storage, no logging or processing exclusively in Switzerland.
Can RAG give incorrect answers?
Yes. Errors can arise from missing or incorrect sources, unsuitable retrieval results and answer generation. References help with review but do not replace it. Knowledge gaps, contradictions and critical decisions need defined boundaries and human responsibility.
Implementation & operation
How do we start, and how long does implementation take?
Start with a specific use case, representative questions and an overview of sources and permissions. These define a bounded pilot. Timelines depend on data quality, access, integrations and acceptance work and are agreed in the proposal.
What does a company assistant cost?
GlasBox scopes RAG through an individual proposal. Effort depends on source preparation, integrations, roles and the operating model. One-time setup is distinguished from ongoing usage, infrastructure, maintenance and support costs.
Who maintains sources and reviews quality?
Named people in the company retain subject-matter responsibility for content. Technical maintenance, monitoring, reference tests and support are assigned in the engagement. Changes to sources or models can require new evaluation.
Does an internal assistant improve our public AI visibility?
Not automatically. RAG makes selected knowledge available within a particular system. SEO and GEO concern your company’s public discoverability and representation. The goals, data and measurements differ.
Sources & further reading
Technical background and context. Linked providers are not implied partners or part of every GlasBox solution.