An assistant message contains the model’s generated response, shaped by system instructions, user input, and conversation history. It becomes context for subsequent turns. section 6.1.1
Distinguish assistant messages from the messages you design:
- System messages configure behavior; user messages carry queries, requests, or changing context. section 6.1.1
- Assistant messages are normally generated, but can be manually written as example exchanges for few-shot prompting. section 6.1.2
API troubleshooting
Given a user reporting failing API calls, the assistant asks for the exact error, endpoint, request details, and environment before suggesting likely causes. section 6.1.1
Figure 6.1 Prompt types in a chat conversation: system and user prompts are designed; assistant messages are generated.
The diagram contrasts designed system and user prompts with generated assistant messages. section 6.1.1


