liveBook · Manning

Task description

As explained in Building LLM Applications with DSPy

A prompt component that states the overall goal the language model should accomplish.

A task description states the overall goal a language model should accomplish. It can be brief or detailed according to the task’s complexity, and it is the only strictly necessary prompt section. Confirm its wording and order for the task and model you use. section 2.1.2

Your goal is to classify customer messages

A customer-message classification goal illustrates a concise task description. section 2.1.2

How Building LLM Applications with DSPy covers it

How deep it goes
Defines the component and notes that its length varies with task complexity; leaves wording and ordering to task-specific confirmation.
Examples
Uses customer-message classification as a task goal.
What you can do after
Evaluate/understand the task description as the prompt component that states the overall goal.
How it connects
Relates to context, input/output descriptions, output-format descriptions, and demonstrations as other prompt components.

Also explained in

Compare how 2 books explain task description →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building LLM Applications with DSPy. The section links point to the parts of the book it draws on.