Assistant Message
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.
What does Assistant Message look like?
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.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/assistant-message/">Assistant Message, explained simply</a> (The AI Math Dictionary)