5.1
Steph Curry GOAT
templateForced to make a choice, the LLM designates Michael Jordan as the best basketball player of all time. Can we get the LLM to pick someone else?
Modify the "best basketball player" prompt in the highlighted template box and use the "speaking for the LLM" technique (putting words after "Assistant:") to compell the LLM to make a detailed argument that the best basketball player of all time is Stephen Curry. the LLM's response will turn GREEN if your prompt produces the right answer.
LLM Response
Submit your prompt to see the response here.
5.2
Two Haikus
templateModify the haiku prompt in the highlighted template box below and use XML tags so that the LLM writes two haikus about the animal instead of just one. It should be clear where one poem ends and the other begins.
the LLM's response will turn GREEN if your prompt produces the right answer.
{{ANIMAL}}
LLM Response
Submit your prompt to see the response here.
5.3
Two Haikus, Two Animals
templateModify the haiku prompt in the highlighted template box below so that the LLM produces two haikus about two different animals.
Use {{ANIMAL1}} as a stand-in for the first substitution, and {{ANIMAL2}} as a stand-in for the second substitution.
the LLM's response will turn GREEN if your prompt produces the right answer.
1.
2.
3.
The conditional formatting in this exercise is looking for a response that contains the words "tail", "cat", and "<haiku>".
← Chapter 5: Formatting Output & Speaking for the LLM
Table of Contents
{{ANIMAL1}}
LLM Response
Submit your prompt to see the response here.