Overview
nuwacom processes requests using large language models (LLMs). These models generate text through prediction rather than looking up information. This creates strengths, limitations, and common error patterns that apply across all parts of the platform: Chat, Agents, Workflows, and Apps. This page explains the four mechanisms that determine how models behave: how a model works, context, the context window, and the role of sources.Key Concepts
- Language model: A statistical model that calculates the most likely continuation of an input. It does not store factual knowledge like a database but learns patterns from training data.
- Knowledge cutoff: The point in time up to which the training data extends. Events, products, and figures after this date are unknown to the model unless a source is provided.
- Hallucination: An output that is factually incorrect but linguistically plausible. It occurs when the model fills a gap with the statistically most likely continuation.
- Context: All information available to the model when generating a response: prompt, chat history, attachments, selected sources, and workspace configuration.
- Context window: The maximum amount of context a model can process per request, measured in tokens.
- Grounding: Basing a response on provided sources (Knowledge Base, attachments, Connectors, web search) rather than relying on training data.
Why This Knowledge Matters
- Understand common errors: Invented figures, forgotten instructions in long chats, and generic responses instead of company-specific answers each have an identifiable cause and a corresponding solution.
- Configure instructions at the right level: Depending on where instructions are stored, they apply to a single response, a chat, or the entire workspace.
- Select sources before submitting a request: Whether the Knowledge Base, an attachment, or web search is active determines where information comes from and how it can be verified.
- Focus verification efforts: Check results where models are systematically unreliable rather than where they perform consistently.
How a Language Model Works
A language model breaks input into tokens (word components) and calculates the most likely continuation at each position. The output is generated token by token. The model does not access a factual database or perform lookups unless a source or tool is connected. Domain knowledge, reasoning patterns, and writing style come from training data. The output is not deterministic: Repeating the same request can produce different wording and, in some cases, different content.Reliable and Unreliable Tasks
Hallucinations
When information is missing, the model does not stop. Instead, it generates the statistically most plausible continuation. An invented metric, legal provision, or contact person can appear with the same confidence and linguistic quality as correct information. Fluent wording, clear structure, or precise decimal figures do not indicate factual accuracy. Hallucinations can be reduced but not completely eliminated. The most effective measures in nuwacom are activating relevant sources, instructing the model to identify missing information rather than fill gaps, and verifying the categories listed under “Verify Results”.Context
Context includes all information provided to the model as input when generating a response. Only this information influences the response. Content from other chats, files that have not been attached, or sources that have not been selected are not available to the model..png?fit=max&auto=format&n=0bwMdFtdbsQwhDVx&q=85&s=38ab3aab19eef7e9efcfa20c6dccfa7b)
Three levels of context: Prompt (applies to one response), Chat (applies to the conversation), Workspace (applies wherever enabled).
Task Context in a Prompt
The model cannot independently determine the intended audience, purpose, or scope of a task. Providing these three details influences the result more than specific prompting techniques:- Audience: Who will read the result, and what prior knowledge do they have?
- Purpose: What decision or action should follow from the result?
- Scope and format: What length, structure, and output format are required (table, paragraphs, list)?
Context Window
The context window defines the maximum number of tokens a model can process per request. One token corresponds to roughly three-quarters of an English word. German text generally requires more tokens per word because of longer words and compound nouns. With each response, the entire previous chat is submitted again: all messages, responses, attachments, and sections retrieved from sources. The amount of context therefore increases with every message. Two effects occur before the context window is full:- Dilution: The more content the context window contains, the less relative weight individual instructions carry. Earlier instructions become less influential, particularly those located in the middle of a long conversation.
- Conflicting instructions: Multiple corrections to the same point remain in the context window simultaneously. The model weighs these instructions rather than strictly following the latest one.
.png?fit=max&auto=format&n=0bwMdFtdbsQwhDVx&q=85&s=48bd9cd46239feddc624906f7ae7c672)
Left: A chat after several corrections, with competing instructions in the context window. Right: A new chat containing the latest valid version and a complete set of instructions.
Symptoms and Solutions
Sources and General Knowledge
Without an active source, the model responds using its training data. Its answers are general, limited by its knowledge cutoff, and do not include internal company information. When a source is active, relevant content is loaded into the context window. The response can then be based on that information and include references to the source. Consider the same question: “How many days per week are employees allowed to work from home?” Two possible results:How Sources Enter the Context
The Knowledge Base is not passed to the model in its entirety. For each request, semantic search identifies the most relevant sections and loads them into the context window. This has two implications:- Retrieval accuracy depends on the request: A precise question using terminology from the document is more likely to retrieve the relevant sections than a general question.
- Missing information may be filled in: If none of the retrieved sections contains the requested information, the model may continue answering from its training data without indicating the gap unless explicitly instructed to do so.
Source Types Compared
Verify Results
Language model outputs should be treated as drafts. Verification should focus on the categories where models are systematically unreliable:Verification Methods in nuwacom
- Request a source reference: “Show the passage in the document where this figure comes from.” If the model cannot identify a passage, the information is not supported by the source.
- Ask about the origin: “Where does this statement come from?” Source-grounded responses refer to the document. Responses based on training data may be rephrased or qualified.
- Compare with raw data: For decision-making documents, compare the metrics directly with the source. This typically takes only a few minutes per document.
- Repeat the request in a new chat: For critical statements, ask the same question again without the previous conversation history. If the answers differ, at least one is incorrect.
When to Stop Correcting
Starting a new chat is preferable to making another correction when any of the following conditions applies:- The second correction to the same issue has no effect.
- The topic changes.
- Previously followed instructions are ignored.
What Language Models Cannot Do
- No factual lookup without a source: The model does not look up information independently. Without an active source, Connector, or web search, information comes from training data.
- No knowledge beyond the training cutoff: Events, releases, and prices after the knowledge cutoff are unknown unless provided through a source.
- No access to other chats: Chat history and attachments are specific to each chat. Only workspace-level resources can be available across chats.
- No consistently reliable arithmetic: Multi-step calculations and aggregations involving many values are error-prone. Data Analysis with code execution is better suited for exact results.
- No reliable indication of uncertainty: The model does not consistently indicate when it is guessing. A confident tone is not a measure of accuracy.
- No guarantee of completeness: Responses are based on the retrieved sections, which may not represent the entire document collection.
- No reproducibility guarantee: The same request may produce different outputs.
Good to Know
- Changing models does not change fundamental behavior: Switching to a different model does not resolve a full context window or a missing source.
- Select sources before submitting a request: A source activated afterward affects the next response, not previous responses.
- One task per chat: Changing topics within the same chat can reduce the quality of results for both tasks.
- Save intermediate versions: Save a suitable version as content or transfer it to a new chat before continuing to iterate.
- Generic wording as a signal: Phrases such as “typically”, “in most cases”, or “as a general rule” may indicate an answer without a source.
- Verify content, not presentation: Clear structure, fluent language, and detailed explanations do not guarantee factual accuracy.
Example Prompts
- “Audience: Executive management. Purpose: Budget decision. Length: One page. Summarize the attachment accordingly.”
- “Answer only using the Knowledge Base and specify the document and section for each statement.”
- “Show the passage in the document where the figure of 12.4 percent comes from.”
- “Which statements in your previous response are not supported by the active sources?”
- “Here is the latest valid version. Revise it according to the following complete instructions: …”
FAQ
Why does the model mention a rule that is not included in our policy?
Why does the model mention a rule that is not included in our policy?
Why does the model stop following earlier instructions in a long chat?
Why does the model stop following earlier instructions in a long chat?
Is a response generated using web search verified?
Is a response generated using web search verified?
Can the model access files from other chats?
Can the model access files from other chats?
Does a more powerful model help prevent hallucinations?
Does a more powerful model help prevent hallucinations?
Why does the same request produce different responses?
Why does the same request produce different responses?
Can the model calculate totals and metrics from a table?
Can the model calculate totals and metrics from a table?