What is a Large Language Model?
A Large Language Model (LLM) (German: großes Sprachmodell) is an AI model trained on very large amounts of text that can process and generate language. It calculates which text is highly likely to follow an input (the prompt). LLMs form the basis of many applications of generative AI.
In processes, LLMs serve as a building block via an API, for example in a service task that summarizes or classifies text or extracts information.
Distinction: LLM and knowledge base
- An LLM is not a database. Its knowledge comes from training, is limited and can be outdated or wrong.
- Current or company-specific facts can be incorporated via Retrieval-Augmented Generation.
- The same input can produce different outputs. For deterministic decisions, DMN tables are better suited.
Example
A process for supplier inquiries passes the email text to an LLM. It returns structured fields such as request, urgency and order number. The process checks the fields for completeness before processing them further with fixed rules.
Limitations
- Hallucinations: plausible-sounding but false statements.
- Limited traceability of how an output came about.
- Data protection and confidentiality when transmitting content to external services.
- Outputs should be validated before further processing, for example against a fixed schema.
Related terms
- Generative AI – the umbrella term for models that generate content.
- Retrieval-Augmented Generation – supplements the LLM with retrieved knowledge.
- AI agents – use LLMs for planning and execution.
- API – connection of the model to processes.
- Machine learning – the underlying method.