Example

Example of a Relationship Extraction Task Prompt

A complete setup for a relationship extraction task includes an instructional prompt, a source text, and a list of named entities. For example, a system could be given the prompt: 'Given a text and a list of named entities identified within it, analyze and describe the relationships between these entities.' This instruction would be paired with a source text, such as the 2024 tourism outlook, and a specific list of entities to analyze from that text: 'Tom Jenkins, European Tourism Organisation, UK, Europe, 2024'.

0

1

Updated 2026-04-29

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