1. Understanding AI

Understanding AI

Explains what today's large language models can do, where they fall short, and how Stubber puts them to work in your processes.

What an LLM does

A large language model (LLM) reads a conversation and writes the next reply. That simple loop covers a lot. Current models can:

  • Hold a conversation in most languages, follow detailed instructions and keep to a tone or persona.
  • Reason through multi-step problems before they answer. Reasoning models think first, and you can choose how hard they think.
  • Call tools. The model decides which of the tools you give it to call, with which inputs, and uses the results. In Stubber, the tools are your AI-enabled actions.
  • Return structured data that matches a JSON schema, so later tasks can use it directly.
  • Read more than text: images, PDFs and other documents, and, on some models, audio and video.
  • Work with long context: whole conversations, long documents and many tool results at once.
  • Talk live: hold a real-time spoken conversation on webchat, WhatsApp or the phone. See Live Voice.

What an LLM doesn't do

  • Remember. Each call starts from nothing. The model only knows what's in the conversation sent with that call. Stubber keeps the conversation for you.
  • Know your business. Its knowledge comes from training, which stops at a cutoff date. It knows nothing about your customers, orders or policies unless you give it that information, in the prompt or through a tool.
  • Guarantee it's right. A model can state something false with full confidence. Give it the facts it needs, and check what matters with tools, states and conditions.
  • Answer the same way twice. The same input can produce different wording, and sometimes a different decision.
  • Tell instructions from content. Text from a customer, an email or a web page can try to change what the model does. Control what the model is allowed to do with states and with the actions you expose to it, not with the prompt alone.

How Stubber uses LLMs

In Stubber, the model is an agent inside your process. The template sets the stage: the state the stub is in, the actions available, and the instructions. The model works within that, talking to people and calling actions as the conversation needs them. Stubber records every call, so you can see what the model did and why.

The main task is the GPT Chat Task. It keeps each chat on the stub, builds the conversation for every call, exposes actions as tools, and passes their results back to the model.

In this section

  • LLM Basics: messages and roles, context and tokens, reasoning, tools, structured output, files, and choosing a model.