0% found this document useful (0 votes)
32 views

Prompt Engineering

The document discusses prompt engineering which is crafting instructions to guide large language models, including understanding basic concepts and writing effective prompts using clear, concise and specific language as well as tips for writing prompts.

Uploaded by

Sheehan P Viola
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Prompt Engineering

The document discusses prompt engineering which is crafting instructions to guide large language models, including understanding basic concepts and writing effective prompts using clear, concise and specific language as well as tips for writing prompts.

Uploaded by

Sheehan P Viola
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Introduction to Prompt Engineering

- Understand the basic concepts of prompt engineering.


- Write effective prompts for large language models(variety of techniques)

Is the process of crafting instructions that guide the output of a large language model (LLM).

Prompts- can be simple as a few words or as complex as a paragraph.

- Clear
- Concise
- Specific

Examples of prompts:

Simple prompts: Write a poem about a cat

Complex prompts; Generate a 3D model of a cat based on the following description: A tabby cat with
green eyes and a white belly

Technical prompt: Write a prompts that will generate a poem about a cat using the Bard API.

HOW THESE PROMPTS WORKS

- The simple prompt is clear and concise.


- The complex prompt is more detailed.
- The technical prompt is specific

Tips for writing effective prompts:

- Use clear and concise language


- Be specific about what you want the LLM to do
- Use keywords and phrases that are relevant to ask at hand
- Avoid using negative language.
- Experiment with different techniques to improve the effectiveness.

You might also like