BishopPhillips
BishopPhillips
BPC Home BPC AI Topic Home BPC RiskManager BPC SurveyManager BPC RiskWiki Learn HTML 5 and CSS Enquiry

LARGE LANGUAGE MODELS - Prompt Engineering

LLM Place Holders
AI Revolution

The symbols [] are used in prompt engineering to indicate a placeholder for a specific type of word or phrase. These placeholders are often used to prompt for adjectives, nouns, verbs, or other parts of speech.

For example, the following prompt uses placeholders to prompt for an adjective and a noun: The **[adjective]** dog chased the **[noun]**.

This prompt would generate a sentence with an adjective and a noun that the user provides.

For example the following prompt:

"Data:
adjective=green
verb=run

Instruction:
Repeat the sentence: The [adjective] fox can [verb] well."
"

Will produce the following output:

The green fox can run well.

One common usage is to provide a place for a link to be inserted in the text.

Placeholders can be used to create more flexible and dynamic prompts that can generate a wide range of outputs. By prompting for specific types of words or phrases, placeholders can help guide the LLM in generating high-quality and relevant outputs.

...Next: Prompt Engineering - Single & Few Shot Prompting...

Overview of LLM Solutions

Bishop Phillips

References