What is a language model, and how does a company use one with its own documents?

What is a language model?
A language model is a program trained on a vast amount of text that can produce new text from what it has learnt. Google's Machine Learning Crash Course defines it as a model that estimates the probability of a token or sequence of tokens occurring within a longer sequence. Asked a question, the model builds its answer piece by piece, picking a likely continuation at each step.
A large language model, or LLM, has a very large number of parameters and was trained on a very large body of text. The term generative language model stresses that the model writes something new, such as an answer or a draft email. ChatGPT and Claude are built on models of this kind.
In a business setting the uses are everyday ones. A salesperson has the model pull the requirements out of a ten-page request for quotation, a service engineer asks what the manual says about a fault code, and purchasing compares two suppliers' delivery terms.
What does a language model know about your company?
Nothing on its own. Your price list, customer contracts and service history were not in its training data. Ask a general model for your product's delivery time and at worst it writes a plausible guess.
How does a model get access to company knowledge?
There are two ways. You can train the model further on your own material, so the knowledge is stored in its parameters. Or the model can look up text in your documents each time someone asks, and answer from that. This is called retrieval-augmented generation, or RAG.
- A salesperson asks whether a particular pump can handle water at 80 degrees.
- The system finds related passages, such as the pump's product sheet and installation guide.
- The model receives the question and those passages and answers from them.
- The answer carries a source reference to the document and section.
The paper that introduced the method (Lewis et al., 2020) notes that the information a retrieval-based model answers from can be updated by replacing the material it searches, while a model that keeps knowledge only in its parameters needs further training as the world changes. So a new price list goes into the searchable material, and nobody retrains the model.
| Question | Retrieval from documents | Further training of the model |
|---|---|---|
| When information changes | The updated document is added to the search. | The model is trained again. |
| Source | The answer can point to the document. | The answer does not show where the information came from. |
| Access rights | Search can be limited to material the user is allowed to read. | Knowledge trained into the model is hard to restrict per user. |
| Good for | Information that changes, such as price lists, manuals and contracts. | Teaching the model a style or a particular task format. |
What does "local" or "locally run" mean?
A local language model runs on the company's own server or on one belonging to a provider it has chosen. Questions and document extracts are processed there, and they are not sent to the model developer's cloud.
Some developers publish open models, whose weights (the learnt parameters) you can download and run on your own hardware. For example:
- OpenAI has released gpt-oss-120b and gpt-oss-20b under the Apache 2.0 licence. OpenAI says the larger model fits on a single 80 GB GPU.
- Google describes Gemma as a family of lightweight open models that can run in your applications and on your own hardware.
- Mistral AI publishes open-weight models, some of them under Apache 2.0.
Licence terms differ between models, so read them first. The model details above were checked on the publishers' own pages on 15 November 2026.
A public AI service or an open model in your own environment?
With a public service the model runs in the provider's cloud. Your questions and attached files go there, the provider updates the model, and its contract terms govern your data. You can start quickly without servers of your own.
With an open model in your own environment, your company decides, or agrees with a provider, where the model runs, which documents it may search and who maintains it. Somebody then looks after the hardware, updates and monitoring. This is often what people mean by a company's own AI.
The guide ChatGPT, Copilot or a private AI compares the options on contracts and data protection.
What can't a language model do?
A language model can be wrong and still sound sure of itself. Kalai et al. (2025) describe how an uncertain model sometimes guesses, producing plausible but incorrect statements instead of admitting uncertainty, and that this persists even in state-of-the-art systems.
Retrieval gives the model the right material, but mistakes still happen. The search can pick the wrong passage, the model can misread a table row, or an old price list may sit next to the new one. And the model cannot answer from anything that is absent from the material.
So every implementation needs two things: answers that show their source, and a person who reviews everything going to a customer, especially prices, delivery times and technical values. A salesperson who gets an answer with a source reference opens the product sheet and confirms the figure before it goes into a quote.
How assari.io approaches language models
At assari.io we build private AI solutions for businesses. We are based in Helsinki and have worked with AI since 2023. The experience is a familiar conversation, like ChatGPT or Claude, and the answers draw on the company's own knowledge and locally run language models. The model runs either in the customer's own environment or on assari.io servers in Finland, and the customer chooses which.
The assistant, Assari, can be brought into the channels a team already uses: Microsoft Teams, Google Chat or WhatsApp. Those services still process the messages sent through them, and a local model does not change that.
Answers can carry a source reference, and a person reviews the results and approves anything that goes out. Sources, users and access rights are agreed for each implementation. Work starts with one real task as a limited first implementation, such as technical support for sales quotes or preparing proposal drafts. See the use cases for examples, or get in touch to go through your own situation.
Common questions
Is ChatGPT a language model?
ChatGPT is OpenAI's chat service, and it runs on OpenAI's language models. The service and the model are different things: one model can sit behind many applications, and one service can use several models.
Do we need our own server for a local language model?
Not necessarily. The model can also run on a provider's server whose location you agree in advance. How much hardware you need depends on the size of the model; OpenAI says, for example, that its smaller open model, gpt-oss-20b, runs within 16 GB of memory.
Does a language model understand Finnish?
Language ability varies from model to model. Try a model on your own Finnish documents and typical questions before you decide, because general benchmarks will not tell you how it copes with the vocabulary of your industry.
Does the model learn from our conversations?
In a retrieval-based setup the model's parameters do not change as people ask questions; the knowledge comes from the searchable documents each time. Whether conversations are stored, and who can see them, depends on how the system is configured and on your contract. With a public service, the provider's terms decide.
Sources
- Google for Developers, Machine Learning Crash Course: Introduction to Large Language Models
- Lewis et al. (2020): Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks, arXiv:2005.11401
- Kalai, Nachum, Vempala and Zhang (2025): Why Language Models Hallucinate, arXiv:2509.04664
- OpenAI: gpt-oss (GitHub repository)
- Google AI for Developers: Gemma models overview
- Mistral AI Docs: Models