Learn Before
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
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Example of Relationship Analysis in Tourism Outlook
Example of a Relationship Extraction Task Prompt
Read the following sentence: 'The latest financial report, authored by lead analyst Maria Garcia from Sterling Capital, indicates a significant market shift for TechCorp following their Q3 product launch.' Which statement most accurately describes the relationship between 'Maria Garcia' and 'Sterling Capital' based only on the information provided?
Extracting Entity Relationships from a Business Memo
Read the following text and match each pair of entities with the relationship that best describes their connection within the text.
Text: 'Dr. Aris Thorne, a lead researcher at the Nova Institute, published a groundbreaking study in the 'Journal of Advanced Robotics' in March 2023. The study, funded by a grant from the FutureTech Foundation, detailed a new AI model developed in their Cambridge lab.'
Learn After
A researcher wants to use a language model to understand the connections between specific people and organizations mentioned in a news snippet. Which of the following prompts is best structured to perform this task?
Crafting an Effective Relationship Extraction Prompt
You are setting up a task for a language model to identify how different elements in a document are connected. Match each component of the task setup with its correct description.