How a language model works
Put simply, during training the model learned to predict which word should follow the preceding text. It learned from a huge amount of text from the internet, books and other sources, and so picked up grammar, style, context and a great many facts. When you ask it a question, it builds the answer word by word based on what is most likely. It does not consult any database of truth while doing so, which is why it can be wrong.
Well-known models are developed by OpenAI (GPT), Google (Gemini), Anthropic (Claude) and Meta (Llama), among others. Tools such as ChatGPT are really applications built on top of such a model.
What this means in practice
- The model does not know everything about your company. It knows only what was in its training data or what you give it in the prompt or source material.
- Its knowledge has a date. Without internet access, the model may not know current prices, laws or news.
- Answers are not always the same. You may get a slightly different answer to the same question.
- It can make things up. When it does not know, it often does not say so and gives a convincing but wrong answer. See AI hallucinations.
How a model is connected to company data
Most often, relevant parts of your documents, such as terms and conditions or product descriptions, are added to each question sent to the model. The model then answers from them. This is how company chatbots work, as well as assistants that search internal documentation. The model does not have to learn anything new; it just gets the right source material.
A real-world example
A service company from Nitra wanted its field technicians to find procedures in equipment manuals quickly. The manuals ran to hundreds of pages of PDF. A solution using a language model's API searches the manuals for relevant passages and gives the technician a short answer with a reference to the page. The technician checks the answer in the manual but does not have to leaf through the whole document.
Things to consider
For business use, find out where the data is sent and whether the provider uses it for training. Business versions and the API usually let you switch this off. I connect models to your systems as part of my AI integration service. Through the API, a model can be built into a bespoke web application or an online shop.