Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Principles of Writing Effective Prompts | Introduction to Gemini in Google Workspace
Gemini in Google Workspace

Principles of Writing Effective Prompts

Sveip for å vise menyen

What is a Prompt?

A prompt is the information or instructions you give an AI assistant. The quality of your prompt often determines the quality of the response.

The Four Elements of an Effective Prompt

Persona

Who you are or who you want Gemini to act as.

Task

The specific action you want Gemini to perform.

Context

Background information that helps Gemini understand the situation and your goals.

Format

How you want the response presented (e.g., bullet points, table, email, report, presentation outline).

The PTCF Framework

A simple way to improve prompts is to include:

  • Persona;
  • Task;
  • Context;
  • Format.

The more relevant information you provide in these areas, the more tailored and useful Gemini's responses are likely to be.

Using Roles and Personas

You can ask Gemini to adopt a specific role, such as:

  • Tutor;
  • Coach;
  • Travel guide;
  • Chef;
  • Marketing consultant;
  • Project manager;

This helps Gemini tailor its tone, expertise, and recommendations to the situation.

Four Additional Prompting Tips

Use Natural Language

  • Write as if you are speaking to another person;
  • Use complete thoughts and clear instructions.

Be Specific

  • Clearly describe what you want;
  • Include any requirements, constraints, or limitations.

Be Concise

  • Effective prompts do not need to be long;
  • Focus on the information that matters most.

Iterate

  • Treat prompting as a conversation;
  • Refine and improve your prompts based on the responses you receive.

1. What are the four components of the PTCF prompting framework?

2. What is the main benefit of providing context in a prompt?

3. Which of the following is considered a good prompting practice?

question mark

What are the four components of the PTCF prompting framework?

Velg det helt riktige svaret

question mark

What is the main benefit of providing context in a prompt?

Velg det helt riktige svaret

question mark

Which of the following is considered a good prompting practice?

Velg det helt riktige svaret

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 2

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Principles of Writing Effective Prompts

What is a Prompt?

A prompt is the information or instructions you give an AI assistant. The quality of your prompt often determines the quality of the response.

The Four Elements of an Effective Prompt

Persona

Who you are or who you want Gemini to act as.

Task

The specific action you want Gemini to perform.

Context

Background information that helps Gemini understand the situation and your goals.

Format

How you want the response presented (e.g., bullet points, table, email, report, presentation outline).

The PTCF Framework

A simple way to improve prompts is to include:

  • Persona;
  • Task;
  • Context;
  • Format.

The more relevant information you provide in these areas, the more tailored and useful Gemini's responses are likely to be.

Using Roles and Personas

You can ask Gemini to adopt a specific role, such as:

  • Tutor;
  • Coach;
  • Travel guide;
  • Chef;
  • Marketing consultant;
  • Project manager;

This helps Gemini tailor its tone, expertise, and recommendations to the situation.

Four Additional Prompting Tips

Use Natural Language

  • Write as if you are speaking to another person;
  • Use complete thoughts and clear instructions.

Be Specific

  • Clearly describe what you want;
  • Include any requirements, constraints, or limitations.

Be Concise

  • Effective prompts do not need to be long;
  • Focus on the information that matters most.

Iterate

  • Treat prompting as a conversation;
  • Refine and improve your prompts based on the responses you receive.
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 2
some-alt