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

Principles of Writing Effective Prompts

Deslize para mostrar o menu

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?

Selecione a resposta correta

question mark

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

Selecione a resposta correta

question mark

Which of the following is considered a good prompting practice?

Selecione a resposta correta

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

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.
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
some-alt