Collaborate with Duet AI in Google Docs

The Duet AI side panel is rolling out gradually and may not be available to you yet.

This article refers to Google Workspace Labs, which is a trusted tester program for users to try new AI features. Workspace Labs is currently available to trusted testers in English and may not be available in your country.

In Google Docs, you can ask Duet AI to:

  • Write and refine content in context.
  • Summarize your files from Drive and emails from Gmail.
  • Create images.
  • Get creative ideas.

Important: This feature is currently available on desktop.

Before you use Workspace Labs

  • Workspace Labs feature suggestions don’t represent Google’s views, and should not be attributed to Google.
  • Don’t rely on Workspace Labs features as medical, legal, financial, or other professional advice.
  • Workspace Labs features may suggest inaccurate or inappropriate information. Your feedback makes Workspace Labs more helpful and safe.
  • Don’t include personal, confidential, or sensitive information in your prompts.
  • Google uses Workspace Labs data and metrics to provide, improve, and develop products, services, and machine learning technologies across Google. 
  • Your Workspace Labs Data may also be read, rated, annotated, and reviewed by human reviewers. Importantly, where Google uses Google-selected input (as described in the Privacy Notice) to generate output, Google will aggregate and/or pseudonymize that content and resulting output before it is viewed by human reviewers, unless it is specifically provided as part of your feedback to Google.
  • Generated images are for use only within Google Docs.
  • Workspace Labs generated images are designed to bring your imagination to life in Google Docs, and may not represent real world situations.

How Workspace Labs data in Google Docs is collected

When you use the Duet AI side panel in Google Docs, Google uses and stores the following data:

  • Prompts you enter or select.
  • Generated text and images.
  • Google Workspace content that you have access to that is referenced to generate content (both Google-selected input and user-provided input).
  • Your feedback on Duet AI side panel.

To understand how this data is used, review the Google Workspace Labs Privacy Notice and Terms for Personal Accounts.

Use the Duet AI side panel

An animation showing how to ask Duet AI to summarize a document in Google Docs

  1. On your computer, open a document from Google Docs.
  2. At the top right, click Ask Duet AI .
  3. To make the side panel bigger, click Expand .
    • To go back to its original size, click Collapse .
  4. At the bottom of the panel, you can select from suggested prompts or write your own.
  5. Press Enter.
  6. After Duet AI generates content, on the side panel, you can:
    • Generate new text or image: Click Retry Refresh.
    • Add the suggested content to the document: Click Insert .
      • Before you click Insert , place your cursor where you want the content to be inserted in your document.
    • Refine the generated text or image: Write a new prompt.
    • For long answers, you can:
      • Show all of the suggested content: Click View more Collapse.
      • Show less: Click View less Up arrow.
  7. To close the panel, click Close Close.
Summarize text with Duet AI
  1. On your computer, open a document from Google Docs.
  2. At the top right, click Ask Duet AI .
    • When you open a document that has text, on the side panel, you’ll find a summary of your document.
    • To get a summary of your document, ask Duet AI.
      • Examples:
        • Summarize this document.
        • Explain this document like I'm 5 years old.
    • To summarize a specific section of your document:

      i. Highlight the text.
      ii. On the side panel, ask Duet AI to “Summarize this text.”
  3. You can also:
  • Add the text to your document: Click Insert .
  • Find a different version: Click Retry Refresh.
  • Send feedback about the suggested text: Click Good suggestion or Bad suggestion .
Write or rewrite with Duet AI
  1. On your computer, open a document from Google Docs.
  2. At the top right, click Ask Duet AI .
  3. On the side panel, select a prompt or create your own.
  4. Press Enter.
  5. Generate text and refine it.
    • Examples:
      • Write an announcement email about a new feature.
      • Make the announcement more fun.
  6. You can also:
    • Add the text to your document: Click Insert .
    • Find a different version: Click Retry Refresh.
    • Send feedback about the suggested text: Click Good suggestion or Bad suggestion .
Create images with Duet AI

You can use Ask Duet AI to generate images in Docs.

  1. On your computer, open a document from Google Docs.
  2. At the top right, click Ask Duet AI .
  3. On the side panel, create your own prompt.
    • Example:Create an image of a dog with glasses.
  4. On the image that you like, you can hover over to:
    • Insert an image: Click Insert .
    • Find similar images: Click Show more .
  5. You can also:
    • Find more images: At the bottom, click Show more .
    • Change your prompt: Click Edit prompt .
    • Send feedback about the generated images: At the bottom, click Good suggestion or Bad suggestion .
Reference your Drive files with Duet AI

You can use Duet AI to reference files from your Drive to generate responses in Docs.

  1. On your computer, open a document from Google Docs.
  2. At the top right, click Ask Duet AI .
  3. On the side panel, ask questions about your Drive files.
    • Example:What are the main points of: Meeting Notes: Core Team sync.
  4. To check which files were used, at the bottom of the response, click Sources.
  5. You can also:
    • Add the text to your document: Click Insert .
    • Generate a new suggestion: Click Retry Refresh.
    • Send feedback about the suggested text: Click Good suggestion or Bad suggestion .
Reference your Gmail emails with Duet AI

You can ask Duet AI to reference emails to generate responses.

  1. On your computer, open a document from Google Docs.
  2. At the top right, click Ask Duet AI .
  3. On the side panel, ask questions about your Gmail emails.
    • Example:Catch me up on the latest Monthly Review emails.
  4. To check which emails were used, at the bottom of the response, click Sources.
  5. You can also:
    • Add the suggested content to the document: Click Insert .
    • Generate a new suggestion: Click Retry Refresh.
    • Send feedback about the suggested text: Click Good suggestion or Bad suggestion .

Give feedback on generated output

Because feedback may be human readable, please do not submit data that contains personal, confidential, or sensitive information.

If you get a suggestion that’s inaccurate or that you feel is unsafe, you can submit feedback. Your feedback can help improve AI-assisted Workspace features and broader Google efforts in AI.

  1. At the bottom of the generated output, click Good suggestion or Bad suggestion .
  2. If you select Bad suggestion , you can select the issue you found and enter additional feedback.
    • Optional:
      • To review data that will be attached with your feedback, at the bottom, select What data will be attached? 
      • If you don’t want to include the data with your feedback, uncheck Attach collected data to your feedback to help us improve the product experience.
  3. Click Next.
  4. Review additional context that you can share with your feedback.
    • If you don’t want to include the additional context with your feedback, uncheck Additional context (content referenced to create outputs).
  5. Click Submit.

To provide general feedback on this feature, at the top, go to Help and then Help Docs improve.

To report a legal issue, create a request.

Clear history with Duet AI side panel

To remove all generated text or images that you haven’t imported to the document, clear your Duet AI history.

You can clear your conversation history on the side panel at any time. To clear the conversation history:

  1. At the top right of Duet AI side panel, click Clear history .
  2. In the pop-up window, click Clear.

You’ll also lose your conversation history:

  • If you refresh your browser.
  • If you close and reopen the document.
  • If your computer goes offline.

Tip: To avoid losing your history, import generated output in the document.

Turn off the Duet AI side panel

To turn off any of the features on Google Workspace Labs, you must exit Workspace Labs. If you exit, you’ll permanently lose access to all Workspace Labs features, and you won’t be able to rejoin Workspace Labs. Learn more about how to exit Workspace Labs.

Related resources

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Google apps
Main menu
9915231749550934335
true
Search Help Center
true
true
true
true
true
35