Free | No tracking | Every fact with a source|German and English

Asking Good Questions to Language Models

How to write prompts for local language models: role, task, context, format, examples, system prompt, temperature, and limits.

A local language model only answers as well as you ask. In this guide, you’ll learn a simple framework for good prompts. You’ll set up a system prompt and understand what temperature does. You’ll also learn where the limits are. By the end, you’ll get much more useful answers. Time needed: about 20–30 minutes.

What you need

1. The framework: five ingredients

A good prompt has up to five parts. Short questions do not need all of them.

  1. Role: Who should answer? “You are an experienced tax advisor.”
  2. Task: What exactly should happen? “Explain …”, “Summarize …”, “Write an email …”
  3. Context: What does the model need to know? Audience, occasion, background, constraints.
  4. Format: What should the answer look like? List, table, max 100 words, in you-form.
  5. Examples: Show what a good result looks like (see section 2).

Tip: The model does not know you. Anything you have in your head but do not write down is missing for it.

2. Include examples (few-shot)

Sometimes showing is easier than explaining. This is called “few-shot”: you provide a few examples.

  1. Write 2–3 examples in the desired style.
  2. Separate them clearly, e.g. with “Input:” and “Output:”.
  3. Leave the output open in the last example. The model completes it.
Turn product features into a short customer benefit.

Input: 32 GB RAM
Output: Run many programs at once — without lag.

Input: quiet fan
Output: Work in focus, even late at night.

Input: 2 TB SSD
Output:

3. Make it think step by step

For math, logic, or planning tasks, intermediate steps help.

  1. Add: “Go step by step and show your intermediate steps.”
  2. Ask for a clear result at the end: “At the end, give the result in one line.”
  3. Check the intermediate steps. Mistakes often show up there right away.

Tip: Some models “think” before answering on their own (reasoning models). In that case, the addition is usually unnecessary.

4. Set up a system prompt

The system prompt is a permanent instruction. It applies to the whole chat. Ideal for role, language, and style.

  1. LM Studio: In the chat, there is a field for the system prompt in the chat settings. Enter your instruction there. It will then apply to this chat.
  2. Ollama (Terminal): In the running chat, set it with this command:
/set system "Du antwortest immer auf Deutsch, kurz und in einfachen Sätzen."
  1. Open WebUI: In the settings, there is a field for a general system prompt. You can also adjust it per chat in the chat settings.

A good system prompt for everyday use:

You are a helpful assistant. Answer in German, in short sentences and in you-form. If you are not sure about something, say so honestly. Ask follow-up questions if my question is unclear.

5. Temperature explained briefly

Temperature controls how “creative” the model’s selection is.

  • Low (about 0.1–0.4): factual, repeatable. Good for summaries, code, facts.
  • Medium (about 0.6–0.8): balanced. Suitable for most chats.
  • High (from about 1.0): varied, but more error-prone. For ideas and stories.

You’ll find temperature in the model or chat settings in LM Studio and Open WebUI.

Important: A high temperature does not make answers smarter, only more random.

6. Know the limits

  • Hallucinations: Models sometimes invent facts, numbers, quotes, or sources. Very convincingly, too.
  • Knowledge cutoff: A model only knows what was known up to its training date. Locally, it usually has no internet access.
  • Small models: The smaller the model, the faster it loses track in long tasks.
  • Math: Longer calculations often go wrong. Check them!

Important: Always verify facts, numbers, and legal or medical statements in a reliable source.

7. Example prompts for everyday life and work

Write an email

You are a friendly customer service employee. Write a short email to a customer whose order is delayed by three days. Apologize, give the new delivery date as placeholder [DATUM], and do not offer a discount. Maximum 120 words, formal address.

Summarize text

Summarize the following text in 5 bullet points. Each point must be no more than 15 words. Then add one sentence: What is the main message?

[TEXT HIER EINFÜGEN]

Explain a term

Explain to a 12-year-old child what a graphics processor is. Use a comparison from everyday life. No more than 6 sentences.

Create a weekly plan

Create a meal plan for a family with two children for Monday through Friday. Vegetarian, each dish in no more than 30 minutes. Output as a table with the columns day, dish, prep time. Then a shopping list.

Improve text

Revise the following text. Correct spelling and grammar, make long sentences shorter, but do not change the content. At the end, mark in a list what you changed.

[TEXT HIER EINFÜGEN]

Prepare for a meeting

I have a salary negotiation tomorrow. I have worked as an administrative assistant for three years and have also taken on onboarding new colleagues. Ask me 5 questions my boss might ask, and give me a short, confident answer idea for each.

Find an Excel formula

I have date values in column A in Excel and amounts in column B. I want the sum of all amounts from the month of March. Give me the formula and explain it in 3 sentences. Go step by step.

Gather ideas

Gather 10 ideas for a children's birthday party with a space theme, for 8 children aged 7, indoors, small budget. Put each idea on one line.

More templates are available in the Prompt collection.

If something does not work

  • The answer is too general: Add more context. Who is the target audience? What do you need the result for?
  • The model answers in English: Write in the system prompt “Always answer in German.” Small models still slip sometimes — then try a larger model.
  • The format is wrong: Describe the format more precisely or include an example.
  • The answer cuts off mid-sentence: Write “continue.” Or increase the maximum response length or the context window in the settings.
  • The model forgets earlier instructions: Long chats exceed the context window. Start a new chat and briefly summarize the most important points.

What’s next

As of: Oct 22, 2026