Learn Before
Short Answer

Formatting a Prompt with a Line Break

You are creating a prompt for a language model. You have an instruction, Classify the following text:, and the text to be classified, The weather is sunny today.. Construct a single string variable that will display these two pieces of text on separate lines, with the instruction on the first line and the text to be classified on the second.

0

1

Updated 2025-10-03

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science