Challenge - 5 Problems
Message Roles Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Understanding the role of the system message
In a chat-based AI model, what is the primary purpose of the system message role?
Attempts:
2 left
💡 Hint
Think about who controls the AI's style and rules.
✗ Incorrect
The system message sets the context and rules for the AI assistant, guiding how it should respond throughout the conversation.
❓ Predict Output
intermediate2:00remaining
Output of a chat message sequence
Given the following chat messages, what will the AI assistant reply?
Messages:
1. System: "You are a helpful assistant."
2. User: "What is 2 + 2?"
Assuming the AI correctly follows instructions, what is the assistant's reply?
Attempts:
2 left
💡 Hint
The system message says the AI is helpful.
✗ Incorrect
The AI assistant follows the system instruction to be helpful and answers the math question correctly with "4".
❓ Model Choice
advanced2:00remaining
Choosing the correct message role for user input
When sending a message to a chat AI model, which message role should be used to represent the human asking questions or giving commands?
Attempts:
2 left
💡 Hint
Think about who is talking to the AI.
✗ Incorrect
The 'user' role represents the human interacting with the AI by asking questions or giving commands.
❓ Metrics
advanced2:00remaining
Evaluating assistant message quality
Which metric best measures how well the assistant messages follow the instructions given in the system message?
Attempts:
2 left
💡 Hint
Think about measuring if the AI listens to the system message.
✗ Incorrect
Instruction adherence score from human evaluation directly measures how well the assistant follows system instructions.
🔧 Debug
expert3:00remaining
Identifying the cause of incorrect assistant behavior
A developer notices the AI assistant ignores the system message instructions and gives unrelated answers. Which is the most likely cause?
Attempts:
2 left
💡 Hint
Check if the AI received the instructions at all.
✗ Incorrect
If the system message is missing, the AI has no instructions to follow and may respond incorrectly.