Prompt Engineering

Source

Two types of LLMs

Prompting Principles

Principle 1: Write clear and specific instructions

Principle 2: Give the model time to “think”

In-context learning/prompting methods

Iterative Prompt Development

Pasted image 20240718150823.png|400

Capabilities of LLM

Summarizing

Inferring

examples:

Transforming

Expanding

= generate long piece of text from short piece of text

Temperature

= degree of randomness of the model (see Generative Model Configuration#^1ce105)