Short Answer

Constructing a Code-like Prompt for Entity Extraction

You need to create a prompt that instructs a large language model to extract the name of a company from a news headline. Using the key-value pair format for demonstrations, write a complete, self-contained prompt that includes one clear example to guide the model. The prompt should then ask the model to perform the task on a new, unseen headline: 'Global Tech Inc. announces record profits.'

0

1

Updated 2025-10-04

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Creation in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science