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

Principles of Writing Effective Prompts

Scorri per mostrare il 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?

Seleziona la risposta corretta

question mark

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

Seleziona la risposta corretta

question mark

Which of the following is considered a good prompting practice?

Seleziona la risposta corretta

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 2

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

Sezione 1. Capitolo 2
some-alt