AI and automation

LLM — large language models and their limits

A large language model is a machine-learning system trained to model patterns in language and generate sequences of tokens. It can support writing, summarisation, classification and conversational interfaces.

Published: Updated: 3 min read
Schema: LLM - Large Language Model. Context - Model - Validation.

What is LLM?

A large language model is a machine-learning system trained to model patterns in language and generate sequences of tokens. It can support writing, summarisation, classification and conversational interfaces. Fluent output does not mean the system has verified facts or understood a business process in the same way a responsible human does. Its capabilities depend on the model, configuration, tools and task.

Context and generation

The model receives instructions and available context, such as conversations and documents. The context limit limits the amount of material processed in a single call, and a long input does not guarantee proper use of every detail. Generation parameters influence the variability of responses, but limiting them does not eliminate substantive errors. Text repeatability and correctness are separate features that require separate measurement.

LLM in Corporate Process

Match your model to your task, language, cost, response time, and data requirements. Classifying short reports may require a different solution than analyzing complex documents. Define the output format and check it programmatically before use. If the model proposes an operation in the system, the application layer must verify permissions and parameters. The instruction itself in the conversation does not replace access control to tools.

Knowledge, RAG and tuning

RAG provides found materials into context so that the answer can draw on a specific body of knowledge. Tuning changes model behavior based on examples and is not a simple replacement for an updated document search engine. The choice depends on the problem: lack of knowledge, answer format or quality of task performance. Adding documents does not guarantee that they will be found correctly or accurately quoted in the final response.

Risks and data

Account for hallucinations, information disclosure, bias, and instructions hidden in external materials. Before sending data, check the terms of service, retention, rights and permitted scope of processing. Don't assume that every account or plan has the same rules. Customer data should enter the model only to the extent necessary and permitted. In sensitive tasks, human verification may be necessary before proceeding.

How to rate a model?

Prepare a representative set of real, securely anonymized cases and clear acceptance criteria. Measure correctness, miss-failure, cost, and latency, not just the quality of a single demo. Compare versions after changing the model or instructions because the result may change despite the same integration. LLM is an element of the system: usability is also determined by data, validation, exception handling and the possibility of taking over the task by a human.

How to choose a model based on the test?

Prepare cases that correspond to real work: a short report, an exception document, no information and an attempt to trigger an illegal activity. Define what is correct and what requires communication to a human. Only then compare models, cost and time. The best single demonstration does not show the spread of errors or behavior for difficult data that will appear in production.

Also monitor model and manual version changes. The same integration may receive different results after a provider update. Do not store unnecessary personal data in the test kit. With tools acting on behalf of the user, validate permissions outside of the model response. A smooth declaration of operation allowed is not proof of authorization and cannot replace application access control.

Sources and further reading

Use the primary documentation to check the principles and limitations described in this article.

How we prepare the glossary

These articles combine original editorial work, AI support for editing and translation, and checks against linked primary documentation. Examples are illustrative unless stated otherwise; they do not represent client results. Dates refer to publication and actual content changes.

From knowledge to action

Need help putting this into practice?

Tell us about your website or process. We will define the scope and the next practical step.

Discuss your project