# Assistant Message

- **Canonical URL:** https://getaimath.com/dictionary/assistant-message/
- **Topics:** [LLM Fundamentals](https://getaimath.com/dictionary/category/llm-fundamentals/)
- **Last updated:** 2026-11-25

## What is Assistant Message?

**In one sentence:** An assistant message is a reply written by the AI model in a conversation.

Chats with AI are stored as a list of turns: system, user, assistant, user, assistant, and so on. Assistant messages are the model's turns. They are sent back to the model as context in later turns, so it remembers what it said before.

![How ChatGPT & Claude Talk: Super-Powered Autocomplete — Simple cartoon diagram showing a sentence chopped into Lego word blocks (tokens), an AI brain weighing the odds of the next word ("mat" 75%, "couch" 18%, "roof" 5%), and snapping "mat" onto the end of the sentence.](https://getaimath.com/diagrams/llm-fundamentals.png)
*Napkin Diagram (LLM Fundamentals): Language models don’t plan whole essays at once—they play a super-smart game of "guess the very next word" over and over.*

## What is an example of Assistant Message?

When a chatbot answers "Photosynthesis is how plants make food from sunlight," that reply is an assistant message.

## Why does Assistant Message matter?

Understanding message roles helps when building apps with AI APIs.

## Related Concepts

- [User Prompt](https://getaimath.com/dictionary/user-prompt/): A user prompt is the message a person types to an AI model, like a question or a request.
- [Prompt Engineering](https://getaimath.com/dictionary/prompt-engineering/): Prompt engineering is the skill of writing and arranging instructions so an AI model gives the best possible answers.
- [System Prompt](https://getaimath.com/dictionary/system-prompt/): A system prompt is a set of hidden instructions given to an AI model before the conversation starts, to shape how it behaves.
- [Zero-shot Prompting](https://getaimath.com/dictionary/zero-shot-prompting/): Zero-shot prompting is asking an AI to do a task without giving it any examples first.
- [Output Tokens](https://getaimath.com/dictionary/output-tokens/): Output tokens are the tokens the model generates in its reply.
- [One-shot Prompting](https://getaimath.com/dictionary/one-shot-prompting/): One-shot prompting is asking an AI to do a task after showing it exactly one example.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/assistant-message/)
