Generative AI and LLMs: how a machine writes text, word by word.

Bonbay Updated on 15 November 2026 4 min read

What a large language model is.

A large language model is a neural network with several billion parameters. It is built on the Transformer architecture, described by Google researchers in 2017. It is trained in two stages.

  • Pre-training: the model reads text in very large quantities, web pages, books, code, and learns to guess the next piece of text. This is the longest and most expensive stage.
  • Fine-tuning: it is then taught to follow instructions, answer helpfully and refuse certain requests, using examples and human judgements.

The general public discovered these models with ChatGPT, launched on 30 November 2022. The other basics are gathered in our Understanding AI section.

How it produces text.

  1. Your request is split into tokens, which are pieces of words.
  2. For each possible token, the model calculates the probability that it comes next.
  3. It picks one. A setting called temperature determines whether it almost always takes the most likely one or varies more.
  4. It adds that token to the text and starts again, until the answer is complete.

Everything the model knows about your exchange fits in its context window: the request, the documents provided and the current conversation. Depending on the model, this ranges from a few hundred thousand tokens to more than a million. It remembers nothing from one conversation to the next, unless a tool gives it the history again. That is why the way you write your request matters so much: see the Bonbay Académie course on writing a good request.

Generative or predictive: the difference.

CriterionGenerative AIPredictive AI
What it producesText, an image, codeA figure, a category, a probability
What it learns fromVast volumes of public textYour historical data: sales, stock, breakdowns
Business exampleDrafting a reply to a customerForecasting next month’s sales
Its typical errorMaking up plausible informationGetting it wrong when the present no longer resembles the past
How it is checkedCited sources, reviewMeasured gap between forecast and reality

The two are often combined: a predictive model spots customers likely to leave, and a generative model drafts the message a salesperson will review.

Models on the market in November 2026.

A few families account for most business use.

  • Claude, from Anthropic, a US company.
  • GPT, from OpenAI, the model behind ChatGPT.
  • Gemini, from Google, built into the Google Workspace suite.
  • Mistral, from Mistral AI, a French company based in Paris.
  • Llama, from Meta, whose weights are published.
  • DeepSeek and Qwen, Chinese vendors, also with published weights.

There are two categories: closed models, used through an application or an API hosted by their vendor, and open-weight models, which you can install on your own servers. Version numbers change several times a year: we don’t quote them here, because they would be wrong within a few months.

What an LLM does well, and less well.

It is good at anything to do with language: drafting, summarising, translating, rewording, sorting an email, extracting data from an invoice or contract, writing code. It does this quickly and in dozens of languages.

It is less good at anything that requires exact truth: a long calculation without a tool, a recent fact that postdates its training, a precise reference it cannot see. It can then give a wrong answer with confidence. See why AI makes things up, and how to limit it. Connected to tools and able to chain steps together, it becomes an agent: see the definition of an AI agent.

What it changes for a business.

Before LLMs, software could copy a piece of data stored in a field, but not read a freely written e-mail. Now, reading a PDF purchase order, understanding a customer request or preparing a reply can be handed to a tool. That is what has widened what an SME can automate: see what we automate with these models. To spot the tasks in your business that lend themselves to it, the free online audit takes ten minutes.

Bonbay. Updated on 15 November 2026.

Your questions.

Does an LLM understand what it writes?

Not in the human sense. It handles statistical patterns between words, on such a scale that the result often looks like understanding. In practice, it follows instructions and multi-step reasoning well, but it has neither intention nor any means of its own to know whether it is right.

Where does its knowledge come from?

From texts read during its training, which stop at a cut-off date. It knows nothing of what happened after that, unless it is given access to web search or to your documents. The second case is the one that matters in business: the model answers from your procedures and cites the source.

What is a multimodal model?

A model that handles several types of content: text, images, sound, sometimes video. It can read a photo of a delivery note, describe a diagram or understand a sentence spoken on the phone. Most of today's major models are multimodal, which means they can read a scan as well as a PDF.

Open or closed model: which is right for an SME?

Most often, a closed model used through a business plan or an API: it is simpler to run and generally performs better. An open-weight model installed on your premises makes sense for highly sensitive data or high volumes. We compare the two on your documents before choosing.

Why do two answers to the same question differ?

Because the model draws each token from among the most likely, with an element of chance set by the temperature. For creative writing, that is useful. For a business task, such as extracting an amount, we set the model to vary as little as possible and we check the result.