Permission-aware knowledge retrieval & grounded AI for agencies
White Label AI Knowledge Assistants & RAG Development for Agencies
Help your clients make their approved business knowledge easier to find, understand and use. Spotupp provides white-label AI knowledge assistant and retrieval-augmented generation (RAG) development services, combining enterprise search, document indexing, semantic retrieval, hybrid search, permission-aware knowledge access, source-grounded answers and systematic evaluation within an agreed delivery scope.

Move beyond generic AI responses towards assistants that can retrieve relevant information from your clients' authorised sources, explain where an answer comes from and recognise when the available evidence is insufficient. Your agency remains at the centre of the client relationship while accessing specialist knowledge engineering and AI development support.
- Connected Business Knowledge
- Hybrid & Semantic Retrieval
- Permission-Aware Grounded Answers
- Agency-Led Engineering & Evaluation
Connect AI Assistants to the Knowledge Your Clients Already Have
Retrieval-augmented generation combines information retrieval with generative AI. Rather than asking a language model to answer a question entirely from what it learned during training, a RAG application can search a selected knowledge collection and supply relevant evidence to the model at the time of answering. A useful implementation connects those retrieved passages to a response that the user can inspect and verify.
Enterprise knowledge rarely exists in a single place. Policies, product documentation, service guides, standard operating procedures, project records and approved business information may be distributed across document repositories, content management systems and internal platforms. A knowledge assistant can provide a common interaction layer across selected sources, subject to the permissions and limitations of the connected systems.
RAG development involves much more than placing documents into a vector database. Source ownership, text extraction, document structure, retrieval quality, permissions, freshness and answer evaluation all affect the usefulness of the experience. An answer can be fluent yet unsupported; a relevant passage can be outdated; and a technically valid citation may not actually substantiate the statement it accompanies.
White label RAG services allow your agency to deliver specialist knowledge experiences under its own brand without creating every engineering capability internally. Spotupp can help scope, design, build and evaluate the agreed solution. Operational access, data processing, integration and support arrangements are agreed separately.
| Approach | Appropriate role | Important limitation |
|---|---|---|
| Conventional keyword search | Find exact records, terms, document titles or identifiers | May not interpret varied natural-language questions |
| Semantic search | Find conceptually similar information | Similarity is not proof of relevance or permission |
| RAG | Generate a response using retrieved evidence | Depends on coverage, source quality and generation accuracy |
| Fine-tuning | Adapt behaviour, task format or specialised patterns | Not a reliable substitute for retrieving current source facts or enforcing access |
| Structured API lookup | Retrieve authoritative current records or exact figures | Requires suitable interfaces and independently enforced permissions |
These methods can coexist. A live inventory count, for example, may be better obtained from an authorised inventory API than inferred from a product document, while a policy question may benefit from retrieved passages. Select the method according to the task rather than requiring every request to use an LLM.
Make Business Knowledge More Accessible Without Losing Control
Information spread across systems
Help users find relevant approved material without requiring them to know every repository or file name.
Repeated employee questions
Give teams a consistent starting point for routine questions while preserving escalation to the responsible owner.
Inconsistent customer answers
Connect approved service and product knowledge to customer experiences, with explicit limits on what the assistant can answer.
Outdated policies and duplicated documents
Establish source precedence, version identifiers, freshness expectations and an owner for corrections.
Restricted information
Design retrieval around authenticated identity, tenant boundaries and source permissions rather than trusting conversational instructions.
Unverified AI responses
Provide traceable evidence and evaluate whether answers are supported, relevant and appropriately qualified.
A knowledge assistant should not be the final authority for a consequential decision simply because it cites a document. Where a question requires an interpretation or approval outside the assistant's scope, design a route to a qualified person or existing business process.
A Structured Approach to Knowledge Engineering
Step 1: Discover
Define questions, users, business outcome, source owners and access expectations.
Knowledge scope and source register
Step 2: Prepare
Inspect document quality, metadata, versions, classification and processing permissions.
Ingestion and access specification
Step 3: Retrieve
Compare indexing, keyword, vector and hybrid approaches against representative queries.
Retrieval pipeline and baseline
Step 4: Ground
Design context assembly, answer format, citations, abstention and escalation.
Answer policy and interface prototype
Step 5: Evaluate
Test relevance, grounding, answer correctness, permission boundaries and operational behaviour.
Evaluation report and release decision
Step 6: Maintain
Establish refresh, revocation, monitoring, support and ownership.
Maintenance plan and handover
Maintenance feeds back into discovery. Not a fixed duration or certified framework: the scope may cover an architecture assessment, a prototype or production engineering, each with separate acceptance criteria.
Knowledge Assistant Capabilities Your Agency Can Deliver Under Its Brand
Enterprise Knowledge Assistants
Build focused assistants for approved employee, customer and agency knowledge.
Custom RAG Development
Connect retrieval, context assembly, model generation and source-backed responses.
Document Ingestion & Indexing
Prepare authorised files, structured content and knowledge sources for retrieval.
Embeddings & Vector Search
Evaluate semantic representations and similarity-based search for the selected corpus.
Hybrid Search & Reranking
Combine exact-term and semantic retrieval, then evaluate ordering and relevance.
Metadata & Knowledge Lifecycle
Preserve document identity, scope, versions, source authority and freshness.
Advanced Retrieval & Knowledge Graphs
Explore query decomposition, graph relationships and multi-source retrieval when justified.
Permission-Aware Knowledge Access
Enforce user and tenant boundaries before evidence enters the model context.
Evidence-Grounded Answers
Present verifiable citations, uncertainty, conflict notices and appropriate abstention.
Knowledge Assistant Interfaces
Build accessible question, answer, evidence and escalation experiences.
RAG Evaluation & Security Testing
Assess retrieval quality, answer correctness, injection resilience and access enforcement.
Deployment & Continuous Improvement
Plan source synchronisation, index maintenance, monitoring and ownership.
Define the Knowledge Boundary Before Connecting a Model
A useful assistant begins with a specific information need. For example, an agency may want an internal tool for service procedures, a retailer may need product guidance, or a software company may need a support assistant for approved technical documentation. Define the users, questions, authoritative sources, freshness requirements and responsibility for unresolved issues before selecting retrieval technology.
The knowledge boundary must also identify information that the assistant must not access. A shared document folder is not automatically a suitable knowledge base. It may contain personal information, draft contracts, credentials, commercially sensitive information or documents outside the current project's scope. Source inclusion requires an explicit owner and an authorised processing purpose.
| Source | Intended use | Authority | Access boundary | Freshness approach |
|---|---|---|---|---|
| Approved service handbook | Service process answers | Operations owner | Agency workspace members | Update event plus scheduled reconciliation |
| Published product guides | Product education | Product owner | Public or approved customer scope | Published revision sync |
| Internal project SOP | Delivery process guidance | Delivery lead | Project-assigned staff only | Version-controlled ingestion |
| Draft agreement folder | Not included | Legal owner | Restricted | No indexing without new approval |
| Live order database | Exact order status | Commerce system owner | Authenticated authorised customer or staff | Scoped API lookup, not document embeddings |
Fictional illustrative data, not actual Spotupp client results, benchmarks, pricing or a forecast.
Agree the processing location, model-provider data terms, retention schedule, source licence, permitted content types and revocation expectations. Determine which source is authoritative when two documents disagree. If the owner or permission mapping cannot be established, do not index the source merely to improve coverage. For wider readiness planning, see AI consulting and strategy.
Build Retrieval and Generation as Separate, Measurable Components
A RAG architecture generally has two connected paths: an ingestion path that prepares knowledge, and a query path that retrieves evidence for an authorised request. Treat the source and identity systems as separate authorities. The assistant must not infer a person's permissions from their question or from the content of a retrieved document.
- Approved source, source owner and access policy
- Connector or controlled import
- Document identity, version, extraction and quality checks
- Chunking, metadata and ACL mapping
- Keyword and vector indexes (optional graph)
- Refresh, revocation, deletion and reconciliation
- Authenticated user, tenant and requested task
- Query validation and server-derived access scope
- Authorised keyword and/or vector retrieval
- Ranking, reranking and permission recheck
- Bounded evidence assembly
- Model response generation (untrusted output)
- Citation, output and policy validation
- Grounded answer, clarification, abstention or escalation
- Citation, output and policy validation
- Rejected: abstain or escalate
Observability and evaluation span both planes. The ingestion plane records source versions and processing outcomes; the query plane records approved diagnostic metadata and outcome categories. Do not log raw sensitive context by default. If a downstream application can execute an action, that action requires its own authorisation and independent validation. A source passage is evidence, not permission to act.
| Component | Responsibility |
|---|---|
| Source registry | Authoritative source identity, owner, lifecycle and permissions |
| Ingestion service | Extraction, normalisation, validation, version management |
| Retrieval service | Query processing, scoped search and ranking |
| Policy enforcement | Independent access restrictions and revocation handling |
| Model adapter | Bounded generation with approved model and prompt configuration |
| Answer validator | Citation resolution, output format and policy checks |
| Interface | Accessible question, evidence, uncertainty and escalation states |
| Evaluation pipeline | Reproducible tests and regression reporting |
Prepare Reliable Knowledge from Authorised Business Sources
A connector is only the beginning of a retrieval system. Each document needs a stable identity, content version, access classification and processing status. A reliable ingestion pipeline distinguishes a source that was discovered from a source that was successfully extracted, indexed and made available for permitted retrieval.

Depending on the engagement, a knowledge assistant may connect to approved SharePoint libraries, Google Drive folders, Confluence spaces, CMS content, internal databases, product documentation, cloud object storage or controlled file imports. Connector availability, licensing, authentication, access propagation, API limits and supported content types must be validated during technical discovery. These names identify possible integration targets, not confirmed Spotupp partnerships or installed integrations.
| Ingestion stage | Engineering requirement |
|---|---|
| Source discovery | Record source ID, owner, content type, access scope and approved inclusion criteria. |
| Safe acquisition | Use scoped credentials, validate file type and size, reject unsupported or suspicious payloads. |
| Extraction | Preserve headings, paragraphs, tables, page coordinates or other meaningful source anchors where possible. |
| OCR and layout analysis | Use only when needed; record missing pages, poor extraction quality and uncertain fields. |
| Normalisation | Preserve meaningful punctuation, code, identifiers, language and numerical units. |
| Duplicate handling | Detect exact duplicates and separately manage revisions or near-duplicates without discarding authoritative context. |
| Chunk creation | Preserve section boundaries, source IDs, versions, permissions and citation anchors. |
| Index publication | Validate the new index or partition before enabling retrieval; record failed and excluded items. |
| Reconciliation | Compare expected eligible sources with indexed records, access changes and deleted records. |
Complex scanned documents, tables and images may need specialised extraction before indexing. Keep the original source available to authorised reviewers where the source retention policy permits. The extracted text is a derivative, not necessarily a faithful reproduction of the source. See AI document processing for document-specific extraction and validation.
| Status | Documents | Share of approved set |
|---|---|---|
| Published to the index | 460 | 460 / 500 = 92% |
| Awaiting extraction review | 25 | 25 / 500 = 5% |
| Failed validation | 15 | 15 / 500 = 3% |
Document-level coverage is 92% (460/500). This is not a measurement of chunk recall, answer accuracy or source completeness outside the approved set. A failed permission check is never counted as an indexed document, and a file containing 100 chunks still counts as one document. Fictional illustrative data, not actual Spotupp client results, benchmarks, pricing or a forecast.
Make Searchable Passages Meaningful, Traceable and Maintainable
Chunking divides source information into retrieval units. The appropriate unit depends on the structure of the content, the type of questions and the model context budget. A policy clause, a product specification table and a software troubleshooting guide may need different boundaries. A universal character or token count is rarely an adequate specification for every source type.
Fixed-size chunking offers simplicity. Heading-aware or semantic splitting may preserve meaning better for some documents. Parent-child retrieval can search smaller passages and include a larger section when more context is required, provided the entire returned section is authorised. Overlapping chunks may preserve continuity but can also introduce duplication, inflate storage and crowd out distinct evidence. Compare these options using labelled queries and real document structures rather than assuming one method will always win.
A traceable knowledge record
- Tenant: demo-agency-a
- Source: demo-service-handbook
- Document and version: doc-014, revision v3
- Chunk: doc-014:v3:section-4:part-1
- Heading path: Service Handbook › Project Handover (section-4)
- Language and classification: en-GB, internal-demo
- Access reference: demo-project-team
- Source updated / indexed: 2026-10-15 10:00 UTC / 2026-10-15 10:05 UTC
- Status and embedding configuration: approved, demo-embedding-config-v1
- Text: A project handover requires the approved checklist and the delivery owner's confirmation.
Synthetic JSON record
{
"tenant_id": "demo-agency-a",
"source_id": "demo-service-handbook",
"document_id": "doc-014",
"version_id": "v3",
"chunk_id": "doc-014:v3:section-4:part-1",
"heading_path": ["Service Handbook", "Project Handover"],
"source_anchor": "section-4",
"language": "en-GB",
"classification": "internal-demo",
"acl_reference": "demo-project-team",
"source_updated_at": "2026-10-15T10:00:00Z",
"indexed_at": "2026-10-15T10:05:00Z",
"content_status": "approved",
"embedding_configuration": "demo-embedding-config-v1",
"text": "A project handover requires the approved checklist and the delivery owner's confirmation."
}The record preserves the relationship between the chunk and the source document. A production schema must also accommodate deletion, access changes, canonical source references, source authority and applicable effective dates. A metadata value alone does not establish access; the backend must resolve identity and permissions through the agreed policy system. Keep immutable revision identifiers separate from stable logical document IDs, and use revision-aware citation targets so a user can distinguish the version used for an answer from the latest revision, where retention and permissions allow.
Select Retrieval Technology Around the Knowledge and the Task
An embedding represents content numerically so that a retrieval system can compare related inputs. A vector index helps find candidates using these representations. Embeddings can improve retrieval when users phrase questions differently from the source documents, but a high similarity score does not establish that a passage is correct, current or available to a particular user.
The storage and retrieval architecture should be selected around corpus size, update patterns, languages, exact-term retrieval requirements, filtering needs, tenancy, latency, operational capacity and cost. A smaller corpus may be served well by an existing database with vector and full-text search. A complex deployment may require a dedicated search service or separately managed vector storage. Approximate nearest-neighbour indexes trade search characteristics against speed, storage and recall; measure those trade-offs on the intended workload.

| Technology pattern | Potential use | Selection checks |
|---|---|---|
| PostgreSQL with pgvector | Relational metadata and vectors within an existing database architecture | Filter behaviour, indexing strategy, query plans, scale, operational ownership |
| Dedicated vector database, such as Qdrant, Pinecone, Weaviate or Milvus | Similarity search and metadata-aware retrieval | Isolation, filter semantics, backup, deletion, cost and deployment terms |
| Managed search, such as Azure AI Search or Elastic | Keyword, vector and hybrid retrieval in a search-oriented platform | Access control integration, ranking, indexing, quotas and region support |
| Local or self-managed embedding models | Projects with appropriate deployment and data constraints | Hardware, model licence, language quality, patching and performance |
| Hosted embedding APIs | Approved managed processing and model integration | Contract, data handling, location, limits, versioning and cost |
Verify the particular product, edition, region, version and licence before committing. No named technology is implied to be available or approved for every project.
Embedding configuration is part of the index version
Track embedding model and version, dimensionality, normalisation, similarity metric, chunking version and relevant preprocessing. A change to the embedding configuration may require re-embedding and re-indexing. Do not combine incompatible vector spaces or compare scores from unrelated models as if they were the same probability. Validate the new index against the existing baseline, then use a controlled migration and rollback plan that respects deletions and current permissions.
Embedding stores contain derived information that can be sensitive. Treat them as governed data stores, not anonymised collections. Apply access restrictions to vectors, text payloads, metadata, backups and caches; restrict administrative access and test isolation independently.
Combine Exact-Term Search with Semantic Discovery
A knowledge assistant should handle more than one way of asking a question. Someone may search by a policy reference, product code, account terminology or a descriptive question. Lexical retrieval is useful for exact tokens and identifiers, while semantic retrieval can find related passages when vocabulary differs. Hybrid retrieval combines candidate sets and can improve coverage when evaluated against a suitable baseline.
A representative retrieval sequence includes query validation, permitted metadata filtering, parallel keyword and vector retrieval, candidate fusion, optional reranking, evidence selection and a final permission check before context assembly. The sequence is not a requirement to use every component. A single exact record lookup may be faster and more reliable for a specific identifier.
- Validated query
- Server-derived access scope gate
- Keyword retrieval (BM25) · Vector retrieval
- Candidate fusion
- Reranking
- Permission recheck
- Bounded context assembly
| Retrieval method | Use case |
|---|---|
| Lexical retrieval, such as BM25 | Exact terminology, codes, names and technical vocabulary |
| Dense vector retrieval | Semantic similarity, paraphrases and related concepts |
| Hybrid retrieval | Mixed exact-term and conceptual questions |
| Rank fusion, such as reciprocal rank fusion | Combine rank lists without treating their raw scores as comparable |
| Reranking | Reorder a bounded candidate set using a query-passage relevance model |
| Query clarification or decomposition | Resolve ambiguity or split multi-part information needs when warranted |
| Metadata filtering | Enforce permitted scope and apply relevant date, language or category constraints |
Illustrative retrieval decision
A user asks, “Which checklist is required for project handover?” The exact term “handover” may retrieve several delivery documents, while semantic search may return a passage titled “Project Completion”. A reranker can prioritise the passage that actually answers the question. The final evidence selection must still check source authority, current status and access. If two current sources give conflicting requirements, the assistant should identify the conflict instead of selecting an answer purely by search score.
Search relevance is not the same as answer correctness. Reranking cannot recover evidence that was never included in the candidate set. Query expansion must not remove tenant filters or introduce unauthorised source access. Avoid arbitrary confidence percentages derived from similarity scores, and set retrieval thresholds only after calibration against task-relevant evidence and out-of-scope questions.
Extend Retrieval When Complex Questions Require More Than Similar Passages
Some questions depend on relationships across products, processes, teams, policies or documents. A knowledge graph can represent entities and their relationships in a structured form. A graph-aware retrieval layer may help explore those connections alongside document search. Its value depends on the quality, provenance and freshness of the relationships it contains.
| Pattern | Suitable question | Important safeguard |
|---|---|---|
| Simple RAG | What does the current approved procedure say? | Retrieve the correct version and verify supporting passages. |
| Parent-child retrieval | What does this clause mean in the surrounding section? | Ensure the expanded context has the same authorised scope. |
| Multi-query retrieval | Compare two approved policies for different product categories. | Preserve filters and merge without duplicating evidence. |
| Graph-assisted retrieval | Which approved service dependency relates to this process? | Verify entity resolution, relationship provenance and access to connected records. |
| Agentic retrieval | Explore several authorised sources to answer a multi-step question. | Bound searches, latency, cost and tool scope; do not grant write access by default. |
| Structured query or API | What is the exact current status of this authorised order? | Use validated parameters and the authoritative system of record. |
Graph-assisted retrieval may use a curated knowledge graph, automatically extracted candidate relationships or a combination of methods. Automatically extracted relationships require validation before being treated as facts, and the source evidence for each relationship is preserved where possible. Traversing a graph must not expose information through a restricted neighbour, count, label or relationship, so access rules apply to nodes, edges and returned evidence, not just the final answer text.
Advanced retrieval adds complexity. Start with a simple, measured baseline and expand only where labelled queries demonstrate a genuine limitation. Graph RAG, multi-agent retrieval and fine-tuning are not mandatory upgrades for every knowledge assistant. For task-oriented multi-step assistants, explore AI agent development.
Search Only the Knowledge a User Is Authorised to Access
Permission-aware retrieval is a core engineering requirement when an assistant handles internal or client-specific information. A user should not receive a restricted passage, summary, document title or citation merely because a model believes the question is reasonable. Access decisions belong to an independently enforced identity and authorisation layer.
The retrieval service must derive the tenant, user identity, group membership and permitted scope from trusted server-side context. Do not accept an arbitrary tenant ID, group name or filter supplied by a prompt as authority. Where supported, integrate document-level restrictions at query time. In architectures using shared infrastructure, apply tested tenant isolation and pre-retrieval filtering, and recheck authorised candidates before model context construction. A deployment may instead use isolated indexes or infrastructure where risk requires it.
| Source | Anonymous visitor | Agency A project member | Agency A manager | Agency B member |
|---|---|---|---|---|
| Public product guide | Allow | Allow | Allow | Allow |
| Agency A project SOP | Deny | Allow if assigned | Allow if authorised | Deny |
| Agency A confidential planning memo | Deny | Deny | Allow if explicitly assigned | Deny |
| Agency B delivery checklist | Deny | Deny | Deny | Allow if assigned |
| Withdrawn or revoked document | Deny | Deny | Deny | Deny |
A manager role is not blanket permission to access every record. The table illustrates source-specific rules, not an actual customer access model.
Enforce access across the whole answer lifecycle
- Source ACLs and group changes propagate into retrieval according to a defined revocation service objective. If current access cannot be verified, fail closed for protected content.
- Permission checks apply to full-text candidates, vectors, graph edges, context expansion, evidence previews, generated summaries, downloads and direct source links.
- Search and response caches are segregated by relevant identity, tenant, permission scope, source version and policy version, with invalidation on changes. Avoid shared semantic caches for protected answers unless their isolation has been demonstrated.
- Retrieval traces, logs, offline evaluation datasets and backups require their own permissions and lifecycle controls. A diagnostic dashboard must not become an alternative route to restricted documents.
- When a source is removed, delete or invalidate its derivatives according to the approved retention and deletion process. Recheck permissions on historical conversation evidence; past access is not assumed to remain valid.
See data protection and confidentiality and NDA.
Give Users Answers They Can Check, Not Just Answers That Sound Convincing
A knowledge assistant should communicate what it knows, where the information comes from and what remains uncertain. Retrieved content provides context, but a model may still misinterpret a passage, combine incompatible requirements, omit an exception or produce an unsupported statement. Design the answer around evidence that actually addresses the question.

A useful citation includes a resolvable source identifier, the relevant section or page, a version or effective date where applicable, and a permission-checked link if available. Citation presence alone is not evidence of correctness: the cited passage must substantiate the associated claim, and the source must be appropriate for the task. A model should not be free to invent citations, URLs or source names. Use an evidence catalogue supplied by the application, then validate returned citation identifiers against that catalogue.
Question: What is required before a client project can be handed over?
Assistant: The approved service handbook states that project handover requires the approved checklist and the delivery owner's confirmation. [S1] I do not have evidence in the available approved sources about a mandatory client sign-off for this example. Please confirm any additional contractual requirements with the project owner before closing the project.
Evidence S1: Demo Service Handbook, revision 3, Project Handover, section 4. Excerpt: “A project handover requires the approved checklist and the delivery owner's confirmation.”
Answer status: Supported within the fictional source scope; additional requirements unresolved.
| Situation | Appropriate assistant behaviour |
|---|---|
| No relevant authorised source | State that the available knowledge does not establish the answer; offer clarification or escalation. |
| Ambiguous product, process or date | Ask a focused clarifying question before selecting a policy. |
| Two apparently authoritative sources disagree | Present the conflict and dates where permitted; refer to the designated source owner. |
| Evidence is older than the required freshness window | Explain that freshness cannot be confirmed; obtain an authoritative update if authorised. |
| Request involves protected information | Do not disclose it or confirm existence where that would itself reveal protected information. |
| Request requires approval or an external action | Explain the distinction between information and action; use the approved business process. |
Keep Knowledge Assistants Aligned with Current, Approved Information
An assistant that gives an accurate answer from an obsolete policy may still create a business problem. Knowledge freshness must be defined against the use case. Published product specifications, internal procedures and support documentation can have different update cycles. Certain information, such as the status of a booking or a payment, may require a live authorised lookup rather than a periodically refreshed index.
Design source lifecycle management around the source system's authoritative state. A source change triggers extraction, validation and a controlled index update. A permission change or deletion is a separate event that may require faster invalidation than ordinary content refresh. An index can contain a newer copy of a document and an older access policy, so source freshness and access freshness are monitored separately.
| Lifecycle state | Retrieval behaviour |
|---|---|
| Draft | Excluded from approved-answer scope unless a separate authorised draft-review workflow exists |
| Approved and current | Eligible subject to user access, source rules and retrieval relevance |
| Superseded | Excluded from current-policy responses; historical access only where explicitly permitted |
| Withdrawn or access revoked | Immediately blocked by current policy; derivative cleanup according to agreed retention rules |
| Failed refresh | Mark freshness uncertain; apply use-case-specific fallback or abstention |
| Deleted | Remove or invalidate index entries, derived context and caches; handle backups according to the approved policy |
Demo Procedure A revision 2: an operations owner must review a handover.
Demo Procedure A revision 3: the delivery owner must confirm a handover.
Source registry: revision 3 is the current approved version, so the assistant may answer using revision 3 and explain its effective date if available.
If the registry cannot establish precedence, the assistant does not guess which document overrides the other.
Refresh schedules, source webhooks and periodic reconciliation can work together. Monitor the time between source update and searchable availability, and separately measure the time from revocation to effective denial. A successful indexing job is not proof that the latest document or permission state is being served, so actual query results, expected sources, index versions and policy decisions are reconciled.
Practical Knowledge Assistants Across Industries and Agency Operations
These examples illustrate potential scoped solutions, not existing implementations or client case studies. Employee-related, financial, legal or other consequential information needs suitable review, source ownership and human decision boundaries, and the assistant is not a substitute for required professional advice or authorisation.

| Use case | Example customer question | Proposed knowledge approach |
|---|---|---|
| Agency delivery assistant | Which QA checks apply before a website release? | Approved project SOPs, role-based delivery documentation and checklist citations |
| Employee knowledge assistant | Where can I find the current onboarding procedure? | Approved employee resources, document status and restricted policy access |
| Software support assistant | How do I configure this supported feature? | Version-specific technical documentation and escalation for unsupported environments |
| Retail product knowledge assistant | Is this accessory compatible with the selected product? | Authoritative compatibility records, product guides and exact identifier matching |
| Customer service knowledge base | What is the applicable return process? | Current market-specific policies, approved FAQs and handover for disputed cases |
| Marketing knowledge assistant | Which brand messaging is approved for this campaign? | Versioned brand guidelines, client-specific workspaces and authorised brief retrieval |
| Sales enablement assistant | Which approved service description fits this prospect's question? | Current service documentation and controlled access to sales resources |
| Internal research assistant | What do the authorised research notes say about this topic? | Source-linked synthesis, date scope, evidence limits and appropriate attribution |
Where the primary experience is a conversation with customers, see AI chatbot development. For task-specific productivity tools, explore custom AI business tools. For full-stack software delivery, see AI application development.
Protect the Knowledge Pipeline from Ingestion to Answer
Connecting private knowledge to AI introduces security and privacy considerations beyond a conventional search interface. Documents, retrieved passages, metadata, model requests, vector representations, logs and generated responses all form part of the system's information boundary. Security must be designed and tested across that boundary.
Treat documents, file metadata, web pages, search results and retrieved text as untrusted input. Even an approved repository can contain content that tries to redirect the model's behaviour, such as an instruction to ignore system rules, disclose information or use an unauthorised tool. Such text is data to interpret, not instructions to follow. RAG does not eliminate prompt injection: separate system policy from retrieved content, constrain tool access, independently validate responses and maintain tested access boundaries.
| Risk | Proposed control | Evidence to request during delivery |
|---|---|---|
| Indirect prompt injection | Treat retrieved text as untrusted, use bounded context, enforce policy outside the model | Harmless adversarial test documents and evaluation report |
| Cross-tenant retrieval | Server-derived scope, tested tenant isolation and scoped search | Negative access test results across tenants, roles and sources |
| Ingestion poisoning | Approved source register, scoped ingestion, change review and provenance | Source change audit and rejected-source records |
| Sensitive embeddings and metadata | Apply data classification, access restrictions, encrypted storage and governed retention | Data-flow map and storage policy |
| Stale permissions | Current authorisation checks, revocation processing and cache invalidation | Revocation timing and post-revocation denial tests |
| Citation spoofing | Resolve only evidence IDs returned by the authorised retrieval service | Invalid citation rejection tests |
| Unsafe content rendering | Treat generated text as untrusted, sanitise supported markup, disallow arbitrary HTML execution | Rendering and content-security tests |
| Unbounded retrieval costs | Query, context, retry, concurrency, tool and token budgets | Load tests and cost limits |
| Exposure through diagnostics | Minimise and protect logs, traces and evaluation datasets | Log redaction and access tests |
| External data processing | Approved provider terms, processing locations, retention and subprocessors | Contract and data protection review |
Defence in depth is required. No prompt, similarity threshold, content filter or single evaluator is an adequate substitute for independent permission enforcement. A vector database is not automatically private and embeddings are not anonymous; any provider security claim must be checked against the specific product and contract. OWASP's RAG security guidance and vector and embedding risk guidance are useful engineering references, not proof that Spotupp or a client system is certified or free from risk. See data protection and quality assurance and SOPs.
Measure Retrieval Quality Separately from Answer Quality
A knowledge assistant can fail because the relevant evidence is absent from the approved corpus, because retrieval misses it, because context selection excludes it, or because generation misinterprets it. Evaluation should identify the failing layer rather than treating every incorrect answer as a model problem.
Build a representative evaluation set with questions, expected relevant evidence, permitted scope, source revision and answer expectations. Include exact identifiers, paraphrases, multi-part questions, different languages where in scope, conflicting sources, unanswerable questions and protected records. Use qualified human reviewers to establish and calibrate the labels. Preserve a held-out evaluation set and avoid repeatedly tuning on the final release set. When the relevant evidence set is incomplete, disclose that recall estimates are limited by the available labels.
| Metric | Definition | Interpretation |
|---|---|---|
| Precision@k | Relevant items within top k divided by k, for queries returning k items | Measures the relevance density of retrieved items |
| Recall@k | Relevant retrieved items within top k divided by all labelled relevant items | Measures coverage against the labelled evidence set |
| Hit rate@k | Share of eligible queries with at least one labelled relevant result in top k | Measures whether some evidence is retrieved, not completeness |
| MRR | Mean reciprocal rank of the first relevant result across eligible queries; missing results contribute zero | Rewards early retrieval of relevant evidence |
| nDCG@k | Discounted cumulative gain divided by ideal discounted gain at k | Measures ordering with graded relevance labels |
| Context coverage | Share of required evidence elements present in the final model context | Diagnoses evidence lost after candidate retrieval |
Specify the retrieval unit (document, passage or evidence element), relevance labels, query population, k, empty-result treatment and aggregation method. Document-level recall is not compared against chunk-level precision as if they measure the same thing, deduplicated relevant document IDs are used for document metrics, and queries with no known relevant document go to a separate abstention and out-of-scope evaluation rather than a silent division by zero.
Worked retrieval example (fictional)
A test query has four labelled relevant document IDs: D2, D4, D7 and D9. A candidate returns five unique authorised documents in this rank order.
| Rank | Document | Relevance label |
|---|---|---|
| 1 | D2 | Relevant |
| 2 | D8 | Not relevant |
| 3 | D4 | Relevant |
| 4 | D6 | Not relevant |
| 5 | D7 | Relevant |
D9 was not retrieved, so an answer requiring D9 may be incomplete.
| Metric | Calculation | Result |
|---|---|---|
| Precision@5 | 3 relevant / 5 returned | 60% |
| Recall@5 | 3 retrieved / 4 labelled relevant | 75% |
| Reciprocal rank | 1 / rank 1 | 1.00 |
| Hit@5 | At least one relevant result in top 5 | 1 |
| MRR@5 across three queries | (1 + 1/3 + 0) / 3, where query 2 first hits at rank 3 and query 3 has no hit | 0.4444 |
| Hit rate@5 across three queries | 2 / 3 | 66.67% |
Single-query results are not corpus-wide performance; a high result on one example does not establish consistent retrieval quality. Fictional illustrative data, not actual Spotupp client results, benchmarks, pricing or a forecast.
| Metric | Meaning |
|---|---|
| Answer acceptance | Share of evaluated answerable tasks meeting the defined accuracy, completeness and relevance rubric |
| Claim grounding | Share of assessed factual claims supported by the authorised evidence supplied to the model |
| Citation validity | Share of cited references that resolve to permitted evidence records |
| Citation support | Share of evaluated claim-citation pairs where the cited material substantiates the claim |
| Correct abstention | Share of unanswerable or out-of-scope cases appropriately declined or escalated |
| Permission enforcement | Share of access test cases correctly handled; any unauthorised disclosure is a release blocker |
| Freshness correctness | Share of version-sensitive tests using the required approved revision or correctly abstaining |
Grounding is not identical to correctness: an answer can faithfully reflect incorrect or obsolete source material, so correctness also evaluates source authority and applicability. Automated evaluation and model-based judges can help scale review but are calibrated against human-labelled cases with disagreements tracked, and model self-reported confidence is not proof of accuracy. Microsoft Learn distinguishes evaluation of document retrieval from evaluation of generated responses; project-specific rubrics are used rather than a universal vendor score.
Release Knowledge Assistants Only Against Agreed Quality and Safety Criteria
A pilot must demonstrate more than an improvement over an earlier version. Define the minimum acceptable performance for the target task, the permitted error types, the security and freshness requirements and the escalation experience. Test the complete query pipeline under representative identities. The following fictional example illustrates a candidate that improves retrieval but should not be released.
| Metric | Baseline | Candidate | Illustrative gate | Candidate decision |
|---|---|---|---|---|
| Hit rate@5 (100 answerable queries) | 78/100 = 78% | 94/100 = 94% | At least 90% | Pass |
| Answer acceptance (100 answerable queries) | 72/100 = 72% | 88/100 = 88% | At least 90% | Hold |
| Citation support (200 evaluated claim-citation pairs per system) | 168/200 = 84% | 192/200 = 96% | At least 95% | Pass |
| Correct abstention (40 unanswerable cases) | 26/40 = 65% | 36/40 = 90% | At least 95% | Hold |
| Access enforcement (100 permission cases) | 100/100 = 100% | 99/100 = 99% | All pass; no disclosure | Block |
| Freshness correctness (40 version-sensitive tests) | 34/40 = 85% | 40/40 = 100% | All pass | Pass |
Fictional illustrative data, not actual Spotupp client results, benchmarks, pricing or a forecast.
Pass, hold and block are stated in words; colour only reinforces them. Fictional illustrative data, not actual Spotupp client results, benchmarks, pricing or a forecast.
Illustrative release decision: Block release. The candidate fails the answer acceptance and abstention targets and has one failed permission case. Investigate the failure, correct the root cause, repeat the affected and regression evaluations, and obtain the designated approval before proceeding. Even a 100% result on the sampled access tests would not establish that all possible production access scenarios are secure.
These figures are synthetic and not actual Spotupp benchmarks. Use a distinct threat-based test set including cross-tenant requests, revoked access, restricted citation references, malicious instructions inside harmless synthetic documents, stale cache entries, model or provider failures and ambiguous source conflicts. Keep approval independent of the model generating answers. Our general delivery approach is described under quality assurance and SOPs.
Monitor Knowledge Quality, Operational Health and Costs Together
Production readiness includes more than answer accuracy. Users need predictable availability, clear failure messages, acceptable response times and current knowledge. Operators need to distinguish an ingestion failure from a search outage, a model timeout or a policy rejection. Each component should expose enough approved diagnostic information to support maintenance without unnecessarily capturing the sensitive material being processed.
| Operational measure | Definition and use |
|---|---|
| Index coverage | Published eligible documents divided by expected eligible documents, with failures and pending records separately counted |
| Content freshness lag | Elapsed time from authoritative source change to confirmed searchable revision |
| Revocation lag | Elapsed time from access change to effective denial across applicable access paths |
| Retrieval latency | Time to obtain scoped candidates; monitor percentiles by query type |
| End-to-end latency | Time from accepted request to complete validated response; distinguish time to first token from completion |
| Query failure rate | Share of accepted queries ending in technical failure, excluding explicitly tracked valid abstentions |
| Abstention and escalation | Share of applicable requests without a supported answer and their routing outcomes |
| Token and retrieval usage | Actual measured processing units, including retries and reranking |
| Accepted task cost | Agreed total operating cost allocated to accepted tasks, not merely model response cost |
| Feedback and quality drift | Reviewed user feedback and periodic evaluation results by source, query class and version |
Apply bounded context windows, query limits, concurrency controls, cancellation, timeouts and safe retry strategies. If a source service becomes unavailable, do not silently substitute an unrestricted corpus or answer from unsupported model memory; return a transparent unavailable or partially supported state consistent with the agreed task. Validate caches for freshness and permissions, and never optimise latency at the expense of protection.
Operational reports can be built using approved telemetry and Data Studio dashboards, sharing aggregate outcomes by approved project scope. Raw question text, retrieved passages, user identifiers and sensitive citation URLs are not exported to marketing analytics by default, and reporting definitions include the period, cohort, units, exclusions and source version.
Assess the Cost of Useful, Verified Knowledge Access
RAG costs include more than a language model request. Initial work may involve source inventory, access mapping, parsing, index construction, interface development, evaluation and deployment. Ongoing costs may include connectors, storage, embeddings, search, reranking, inference, monitoring, human review, source maintenance and support. A large corpus is not automatically expensive to query, and a small corpus is not automatically economical if every answer requires repeated searches or lengthy review.
Estimate the operating cost using actual expected traffic, task distribution, ingestion volume, retrieval strategy, processing units and maintenance effort, with approved provider pricing and contracts for a real estimate. No cost per token or fixed implementation price is published here. Assess the business value of completed tasks, not the number of generated answers.
Illustrative monthly workload and value model
This example is fictional; CU means currency units, not a specific currency or Spotupp price. Assume 3,000 eligible monthly knowledge requests that currently require an average of six minutes of human research each. In the assisted scenario, 2,100 requests require two minutes of verification, 600 require five minutes of further review, and 300 require the original six-minute manual fallback. All figures refer to the same eligible monthly cohort, and review times include the human work attributed to each request, not just model response time.
Fictional illustrative data, not actual Spotupp client results, benchmarks, pricing or a forecast.
150 h
Recovered capacity per month
50%
Workload reduction
4,500 CU
Gross monthly capacity value
1,500 CU
Additional monthly non-labour cost
3,000 CU
Net monthly capacity value
6 months
Simple recovery period
| Workload item | Calculation | Hours |
|---|---|---|
| Existing manual research | 3,000 × 6 / 60 | 300 |
| Assisted verification | 2,100 × 2 / 60 | 70 |
| Additional human review | 600 × 5 / 60 | 50 |
| Manual fallback | 300 × 6 / 60 | 30 |
| Assisted total | 70 + 50 + 30 | 150 |
| Recovered capacity | 300 − 150 | 150 |
| Commercial measure | Calculation | Fictional value |
|---|---|---|
| Workload reduction | 150 / 300 | 50% |
| Gross capacity value | 150 hours × 30 CU/hour | 4,500 CU |
| Additional monthly non-labour operating costs | Search, model, infrastructure and approved support allocation | 1,500 CU |
| Net estimated monthly capacity value | 4,500 − 1,500 | 3,000 CU |
| Initial implementation investment | Assumed discovery, development, testing and rollout | 18,000 CU |
| Simple recovery period | 18,000 / 3,000 | 6 months |
Gross capacity value assumes all recovered hours can be valued at the stated rate; recovered time is not automatically cash savings, reduced payroll or realised profit. The recovery period assumes steady monthly benefit and excludes financing, discounting, tax and ramp-up. Human verification and fallback are already in the assisted workload and are not counted again in non-labour costs; any further maintenance labour is accounted for separately in a real business case. Fictional illustrative data, not actual Spotupp client results, benchmarks, pricing or a forecast.
| Scenario | Recovered hours/month | Gross value at 30 CU/h | Additional operating cost/month | Net capacity value/month | Simple recovery period |
|---|---|---|---|---|---|
| Downside | 60 | 1,800 CU | 2,000 CU | −200 CU | No positive recovery |
| Planning | 150 | 4,500 CU | 1,500 CU | 3,000 CU | 6 months |
| Upside | 190 | 5,700 CU | 1,500 CU | 4,200 CU | Approximately 4.29 months |
Alternative assumptions, not probability-weighted forecasts. A commercial case cannot override an access-control or security release blocker, and baseline and assisted human effort are validated through a representative pilot before production investment is recommended.
A Knowledge Assistant Is a Maintained Business Capability, Not a One-Time Index
The appropriate engagement may start with a feasibility review, a bounded prototype or a production implementation. Discovery determines whether the knowledge sources are ready, how access can be enforced and which integration architecture fits the client's operating model. Technical delivery defines clear acceptance criteria for source coverage, retrieval, answer behaviour, security, usability, monitoring and ownership.

| Delivery phase | Typical agreed deliverable |
|---|---|
| Discovery | Use-case definition, source register, baseline, risks and constraints |
| Architecture | Data flow, identity and access model, retrieval strategy and integration specification |
| Prototype | Synthetic or approved non-production corpus, interface and measured retrieval baseline |
| Implementation | Agreed ingestion, retrieval, generation, citations, controls and interface components |
| Validation | Labelled evaluation set, functional tests, security tests and release report |
| Rollout | Staged deployment, approval, training, fallback and recovery plan |
| Maintenance | Source refresh, revocation monitoring, index updates, incident response and version evaluation |
| Handover | Approved documentation, ownership register, access transfer and support arrangements |
When changing embedding models, prompts, retrieval parameters, source schemas, connectors or authorisation logic, evaluate the affected layers and regression-test the combined application. Never roll back to an index containing revoked or deleted records. Use versioned configurations and tested migration procedures, and agree who can add sources, approve changes, manage identity policies, investigate quality issues and sign off releases.
| Responsibility | Proposed owner, subject to agreement |
|---|---|
| Client relationship and commercial approvals | Partner agency |
| Authoritative source content and processing permission | Client or designated source owner |
| Technical design and scoped engineering | Spotupp with agency-approved requirements |
| Identity and data access policy | Authorised client system owner with technical implementation support |
| Technical QA and evaluation evidence | Assigned engineering and QA team |
| Business acceptance and release authority | Designated agency or client approver |
| Ongoing source maintenance, incident ownership and support | Named owners under the support terms agreed in the engagement |
Your agency retains its agreed role in client communications and delivery. Scope, confidentiality, IP ownership, provider accounts, model usage, third-party charges, infrastructure, maintenance and support are governed by the actual engagement rather than assumptions about white label arrangements. Explore the white label partnership model, delivery process and engagement models.
Connect Knowledge Assistants with the Wider Digital Technology Ecosystem
A knowledge assistant can form part of a broader solution. Connect with the specialist service that matches the next business requirement.
AI Application Development
Build the full software experience around the knowledge layer.
AI Agent Development
Extend retrieval into bounded multi-step assistance and independently authorised tools.
AI Chatbot Development
Deliver customer-facing or internal conversational experiences with human handover.
AI Workflow Automation
Connect knowledge retrieval to approved repeatable processes.
Custom AI Business Tools
Build focused research, reporting and operational utilities.
AI Consulting & Strategy
Assess knowledge readiness, feasibility and implementation priorities.
AI Document Processing
Prepare complex documents through OCR, extraction and validation.
AI Platform Integration
Connect approved AI technologies to existing applications.
Data & System Integration
Connect approved sources and business data across systems.
Data Studio Dashboards
Report approved operational metrics and quality trends.
Also see white label AI solutions, agency solutions, resources, guides and insights and contact.
Frequently Asked Questions About AI Knowledge Assistants & RAG
What is retrieval-augmented generation (RAG)?
RAG combines information retrieval with generative AI. A system retrieves relevant information from a selected knowledge source and provides it to a model when producing a response. A well-designed application also controls access, checks the quality of the evidence and gives users a way to inspect the source. Retrieval does not guarantee that the model will interpret the information correctly, so evaluation remains necessary.
What is a white label AI knowledge assistant?
A white label AI knowledge assistant is a custom knowledge experience delivered through an agreed agency partnership. The assistant may search approved business information and provide source-grounded answers under the agency's or client's approved branding. Spotupp can provide scoped technical discovery, architecture, development, QA and handover while your agency retains the agreed client relationship.
Can a RAG assistant eliminate hallucinations?
No. RAG can improve the availability of relevant evidence, but the model can still omit details, misinterpret sources or generate unsupported statements. Source quality, retrieval accuracy, answer validation, citation checks, abstention and human escalation all help manage this risk. The appropriate acceptance criteria depend on the intended task and consequences of an error.
Which types of documents and knowledge sources can be connected?
Potential sources include approved PDF files, office documents, internal knowledge bases, CMS content, structured product information and selected business systems. SharePoint, Google Drive and Confluence may be considered where the required connector access, permissions and licences are available. Compatibility, extraction quality and processing authority must be verified during discovery. Not every accessible file should be indexed.
How do you handle scanned documents and tables?
Scanned documents may require optical character recognition and layout-aware extraction before useful passages can be indexed. Tables may need specialised handling to retain headings, row relationships, values and units. Extraction errors should be identified through validation and review. Complex field extraction and document workflows can be scoped separately under AI document processing.
How is vector search different from hybrid search?
Vector search retrieves information using numerical representations of content and queries. Keyword search matches lexical terms and identifiers. Hybrid search combines these approaches so that an application can benefit from both exact terminology and semantic similarity. Ranking and filtering settings should be tested on representative questions. Similarity is not a measure of factual accuracy or access authority.
Which vector databases or search platforms can be used?
Possible options include relational databases with vector extensions, dedicated vector databases and managed search platforms. Examples to assess include pgvector, Qdrant, Pinecone, Weaviate, Milvus, Azure AI Search and Elastic. The selection depends on data volume, filtering, tenancy, supported deployment, licence, operational expertise, cost and measured retrieval performance. Specific product capabilities require verification.
Is a knowledge graph necessary for RAG?
Not necessarily. Straightforward document questions may be handled effectively by a simple retrieval pipeline. Graph-assisted retrieval can be useful when questions depend on relationships between entities or documents. Graph creation and traversal add engineering, evaluation and governance requirements. We recommend testing the simplest suitable baseline before adding graph-based or multi-step retrieval.
How do you prevent access to another client's knowledge?
The proposed architecture derives access from authenticated identity and authorised tenant scope, applies access constraints before retrieval and rechecks evidence before it enters the model context. It also considers restricted metadata, caches, logs, citations and document deletion. Actual isolation must be independently tested against the agreed access model. A prompt telling the AI not to reveal private data is not a sufficient security control.
How are citations generated and verified?
The retrieval service supplies a bounded evidence catalogue with identifiers and source references. The application validates that generated citations resolve to permitted evidence and checks whether the evidence supports the associated claims. Citations can include relevant sections and versions where supported. A citation alone does not prove the answer is correct; evidence quality and interpretation must also be evaluated.
What happens when an answer is missing or sources conflict?
The assistant should recognise when the authorised evidence is insufficient, ambiguous or contradictory. It may ask a clarifying question, provide a qualified answer, describe the permitted evidence conflict or refer the user to the responsible owner. It should not silently invent a policy or treat the highest search score as a decision about source authority.
How does the knowledge assistant stay up to date?
An agreed refresh strategy can combine source events, scheduled synchronisation and reconciliation. Version identifiers and source status help prevent superseded documents from being treated as current. Permission changes and deletions need separate invalidation controls. Freshness requirements vary by use case; live operational facts may require direct, authorised API retrieval rather than periodic indexing.
Can a knowledge assistant integrate with our chatbot or existing application?
Yes, where the agreed architecture and interfaces allow it. A retrieval service can support a customer chatbot, internal portal, task-specific application or governed agent. Each interface must preserve the appropriate user identity, permission boundary and response validation. Integration feasibility, security and maintenance obligations are established during technical discovery.
How do you evaluate RAG performance?
We propose measuring document or passage retrieval separately from generated-answer quality. Depending on the task, evaluation may include precision, recall, ranking, groundedness, citation support, answer acceptance, correct abstention, freshness and permission enforcement. Use representative labelled questions, human review and regression tests. Specific release criteria are agreed with the business and technical owners before production rollout.
How much does custom RAG development cost and how long does it take?
Cost and duration depend on the number and quality of sources, access requirements, integration complexity, deployment architecture, expected usage, evaluation and maintenance needs. A prototype with a small approved corpus is different from a production assistant with multiple private sources and strict revocation requirements. A scoped assessment is needed before quoting. No fixed delivery time or financial outcome is guaranteed by this page.
Can our agency outsource ongoing knowledge assistant maintenance?
Ongoing maintenance can be agreed as part of a separate engagement. It may include refresh monitoring, retrieval evaluation, index updates, integration changes, incident support and documentation. Source ownership, access approvals, provider charges, support hours and maintenance responsibilities should be defined in the applicable service agreement. Your agency can discuss the required delivery model through our partnership enquiry process.
Your Brand. Our Expertise.
Deliver Knowledge-Connected AI Solutions Through Your Agency
Give your clients an intelligent way to access approved business knowledge, with retrieval architecture, evidence-grounded answers, permission boundaries and measurable quality built into the proposed solution. Partner with Spotupp for specialist knowledge assistant and RAG development support, aligned with your agency's agreed delivery model.
