Example

Example of a Generic Prompt Template for Information Extraction

A prompt template is used to guide instruction-tuned Large Language Models (LLMs) in performing information extraction tasks. By structuring the input, the template directs the model to extract specific data. A generic example of such a template is:

'You will be provided with a text. Your task is to {*task-description*} Text: {*text*}'

Here, {*task-description*} is the instruction for the specific task, and {*text*} represents the unstructured data to be processed.

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