Prompt engineering for text generation: Difference between revisions

Line 39: Line 39:
Examples: 1964: Abraham Lincoln, 1940: Franklin D. Roosevelt
Examples: 1964: Abraham Lincoln, 1940: Franklin D. Roosevelt
Query and output indicator: 1940:  
Query and output indicator: 1940:  
</poem>
<poem style="border: 1px solid; padding: 1rem">
Who is the president of the United States of America? //Instruction
Because GPT-4 does not have information after September 2021. We need to inform it. The president of the United States is Joe Biden in 2022 and 2023. //Context
1964: Abraham Lincoln, 1940: Franklin D. Roosevelt //Examples
1940: //Query and output indicator
</poem>
</poem>


370

edits