
How a language model is built
A language model is built in two stages. In pre-training, a neural network reads huge amounts of text from books, websites and specialist literature. The task is always the same: predict the next piece of text. In doing so, the model learns grammar, technical vocabulary, relationships and writing styles without anyone giving it rules.
In the second stage, the model is fine-tuned. People rate answers, and the model learns to follow instructions, answer politely and be cautious with sensitive questions. Only then does a text predictor become an assistant you can hold a conversation with.
Important for everyday use: the model’s knowledge ends at the cut-off date of its training data. It only knows about anything that happened afterwards if an application gives it current information, for example via RAG or via tools that look up data. A language model never knows your customer data, prices or unpaid invoices on its own.
Tokens and the context window
Language models do not read text in words but in tokens. A token is a word piece, a whole short word or a punctuation mark. Long German words such as “Mehrwertsteuerabrechnung” (VAT return) break down into several tokens. Providers usually charge per million tokens, separately for input and output.
The context window is the number of tokens a model can take into account in one pass: instruction, conversation so far, documents provided and its own answer. Whatever does not fit into the window, the model does not see. That is why applications trim long documents or search for only the relevant passages in advance.
| Term | Meaning | Why it matters to you |
|---|---|---|
| Token | Word piece the model calculates with | Basis for costs and speed |
| Context window | Everything the model sees at the same time | Limits how much text you can provide |
| Cut-off date | End of the training data | Newer facts are missing without a look-up |
| Temperature | Setting for randomness in the answer | Low for data, higher for ideas |
What a language model does well and what it does not
Language models are strong when it comes to language itself. They phrase, shorten, translate and organise. In an unstructured sentence, they recognise who is meant, which date and which amount. They are weak at anything that requires exact facts, calculations over many steps or current knowledge.
- Good: writing a draft email to a customer, summarising a note from a conversation, extracting the calendar fields from “Appointment with Mrs Muster on Tuesday at eight”.
- Good: rewriting specialist texts in plain language or rewriting a text in French.
- Risky: quoting prices, deadlines and legal articles from memory. This is where hallucinations arise.
- Risky: adding up totals over many line items. A calculation program is more reliable for this than a language model.
Good applications therefore combine both: the language model understands the task and does the wording, while the actual data and calculations come from the software. This happens through function calling: the model calls a function instead of inventing a number itself.
Swiss texts: “ss”, CHF and dialect
Most language models have mainly read texts from Germany. This shows in details that stand out in Switzerland: the German sharp S instead of “ss”, “Angebot” instead of “Offerte” for a quote, “Umsatzsteuer” instead of “MWST” for VAT, or amounts in the format “1.250,00 €”. If you generate texts for Swiss customers, you should state this in the instruction and briefly proofread the result.
- Spelling: “ss” instead of the sharp S, guillemets « », amounts as CHF 1'250.00.
- Terms: Offerte (quote), Rapport (report), Regie (time and materials), Akonto (payment on account), MWST (VAT), QR-Rechnung (QR-bill) instead of the German equivalents.
- Dialect: a language model often understands written Swiss German reasonably well but writes it unreliably. For business texts, Standard German is the safe choice.
Providers, servers and data protection
Language models run either in a provider’s large data centres or as smaller models on your own hardware. For businesses, the choice decides where customer data goes. With a cloud model, every input leaves your own network. With local AI, it stays on the device, but the model is usually less powerful.
Check three points for every service: where the servers are located, whether inputs are used for training and how long they are stored. The Federal Office for Cybersecurity recommends checking personal data and trade secrets before entering them and, where possible, using business versions that exclude training by contract [2]. If you have a provider process personal data, this usually constitutes processing on behalf (Auftragsbearbeitung).
A practical example
Example: electrical service business in Thun
The fictitious Elektro Muster GmbH in Thun receives around twenty emails a day reporting faults. The dispatcher has a language model condense each report into four fields: customer, address, fault and urgency. The answer comes as a fixed list, not as running text.
Matching the report to the right customer account is not done by the model but by the software, using the address from the customer master data. If a field is empty or uncertain, the software flags the report for review. This way the dispatcher saves retyping without an invented address ending up in the job schedule.
Invented example. How well the fields are recognised depends on the model and on the quality of the reports.
How VoxCRM helps
yesVox, the AI assistant in VoxCRM, uses a language model to understand tasks. The standard is the model of an AI provider in Switzerland; in the “Advanced” tier, a particularly powerful model from a provider in the USA can be used on request. Figures and data are supplied not by the model but by VoxCRM itself. Even without an AI connection, Vox understands simple commands through fixed rules. More under Vox.
