Who We AreThe Blog
Get In Touch

Can You Use External LLMs Without Giving Them Your Entire Company Knowledge Base?

Understand what a retrieval-based assistant sends to an external model and how data minimisation, permissions and provider terms shape privacy.

Can You Use External LLMs Without Giving Them Your Entire Company Knowledge Base?
Custom Software

Some businesses avoid external language models because they imagine the whole company knowledge base being uploaded to the provider. That is not how a typical retrieval-based assistant has to work. The application can keep the document collection in a controlled search environment and send only selected passages needed for one authorised question.

This can reduce exposure, but it does not remove it. The selected passages, the employee's question and the answer still pass through the model service. A responsible design maps that flow, minimises the data sent and checks the provider's current terms and settings against the organisation's requirements.

What Happens During a Retrieval-Based Question

An employee asks a question in the company's application. The system authenticates them, searches sources they may access and selects relevant passages. It then builds a prompt that includes the question and the necessary source context. An external model processes that prompt and returns a draft answer, which the application displays with citations.

The model usually does not receive the entire archive for that one request. It receives the content selected by retrieval. That distinction is important, but it should not be overstated. A retrieved passage may still contain confidential information, and a poorly configured system may send more text than necessary.

Our private AI guide compares different deployment models. This article focuses on the boundary created when the company uses an external model with a private knowledge layer.

Retrieval Is Different From Model Training

Using a passage to answer a question is not the same as training the provider's general model on the whole repository. Providers have different data-use terms, retention periods and optional features, so the company should review the agreement and configuration it will actually use.

For example, OpenAI's business data information states that its business and API data are not used for model training by default. Microsoft's Azure model data guidance describes its own processing arrangements. These are product-specific statements, not a blanket rule for all external LLM services.

Even where training is excluded, the organisation still needs to understand request processing, logs, abuse monitoring, geographic location, subprocessors and any optional stored conversation features. A no-training claim answers only one part of the privacy question.

Send Only the Context Needed

The application should retrieve a small, relevant set of passages rather than sending a full document or many loosely related results. Better ranking and filters can reduce unnecessary exposure as well as model cost. A summary request about one contract clause should not send an entire contract archive.

Redaction may be appropriate for some use cases, but it must not remove information needed to answer correctly. The team should decide which categories of data may be sent to the provider and which require an internal model or human process instead.

The assistant should also avoid putting credentials, hidden system data or unrelated user information in prompts. Prompt and tool logs need their own retention and access policies because they may contain source passages.

Enforce Permissions Before Model Processing

Data minimisation begins with authorisation. The system should retrieve only content the employee may see. If a confidential file is passed to the model and only removed from the final response, the boundary has already failed.

Permissions can be carried into the search index or checked against the source during retrieval. Changes to group membership and deleted files must take effect promptly enough for the sensitivity of the content. Our article on permission-aware RAG explains the implementation and test cases.

This boundary also protects against accidental cross-customer answers. The assistant should not mix passages from two customers because they use similar terminology.

Know When an External Model Is Not Suitable

Some contracts, regulations or organisational policies may prohibit external processing of certain data. In that case, a private search layer with an external model is not enough for those sources. The business may need a self-hosted model, a different approved service or a workflow that keeps the sensitive step with a person.

This decision should be based on specific information categories and data paths. A blanket ban may block useful low-risk applications, while a broad approval may overlook highly sensitive cases. The cloud, private and on-premises comparison provides a way to assess the alternatives.

Ask for a Data-Flow Demonstration

Before a pilot, request a simple diagram for one real question. Identify what is stored in the source, search index, model request, response and logs. Ask who can access each part, how long it remains and what happens when a document is deleted or a user loses access.

Then run a test with a restricted source and inspect the actual retrieved passages. This shows whether the controls work in practice. External LLMs can be part of a well-governed enterprise assistant, but privacy depends on the design and provider arrangement, not on a label. Codativity can help map and test that boundary for your specific use case.

25/11/2026

Contact Us

Logo

701, Opal Tower Business Bay, Dubai United Arab Emirates

P.O.Box 126732

+971 (0)4 427 37 81

projects@codativity.com

Who we are

Get in TouchOur ProjectsCareers

Let's Work Together

*By clicking the button I agree with the collection and processing of my personal data as described in the Privacy policy

© 2016 - 2026 Codativity Software Solutions. All Rights Reserved.