Veltos.Tech

AI and ML

LLM

Also known as: large language model, generative language model, foundation model

Definition

An LLM is a large language model: a neural network trained on vast amounts of text to predict the next token, which is why it can write, summarise and answer, yet it stores no facts the way a database does and can be confidently wrong.

Understanding one mechanism removes most of the misconceptions. The model does not know the answer and does not look it up: it predicts the next fragment of text in sequence, based on statistical patterns in its training data and on what has already been written in the context. Hence hallucinations, because a plausible continuation and a true continuation are different things and the model is optimised for the first. Hence the context window limit, since everything the model remembers in a conversation is the text that physically fits into the input. And hence the sensitivity to phrasing, because different framings land in different regions of the distribution.

For a Russian project the choice of model is constrained by law as well as quality. When personal data of Russian users enters the model, meaning names, phone numbers or the content of enquiries, the requirements of the personal data law apply, including database localisation. That leaves three workable scenarios: domestic services such as GigaChat and YandexGPT, open-weight models deployed inside a Russian perimeter, and foreign APIs restricted to data that is not personal. Settling this in the first week of a project costs far less than settling it after launch, when moving means rewriting the data layer.

The practical conclusion for a business: LLMs handle tasks where variation is acceptable and a reviewer exists, and handle badly anything that needs a deterministic exact answer. Draft copy, ticket classification, field extraction from documents, conversation summarisation and first-line support against a knowledge base are working scenarios. Order price calculation, legally binding wording and answers about stock levels belong to ordinary code and databases, with the model at most phrasing the result. The most common deployment mistake is handing the model work that had to be deterministic.

Related terms

Related services

Read more

Need this done, not just defined?

We do this work, not only write about it. Describe the task and we will scope it and send a staged estimate.