Skip to content

greenpeace/gpt-4-google-docs-gpt4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

GPT-4 Google Docs Text Generator

GPT-4 Google Docs Text Generator is a powerful tool that allows you to generate text using the cutting-edge GPT-4 language model. With just a few clicks, you can harness the power of AI to create compelling and engaging content. This README will guide you through the setup and usage of the GPT-4 Google Docs Text Generator.

Prerequisites

Before you can use the GPT-4 Google Docs Text Generator, you need to obtain an API key from OpenAI. This API key is required to access the GPT-4 model and make text generation requests. If you don't have an API key yet, don't worry! We will guide you through the process of setting it up.

Installation

To get started with the GPT-4 Google Docs Text Generator, follow these simple steps:

Open a Google Docs document.

Click on the "Extensions" menu and select "Apps Script."

In the Apps Script editor, replace the existing code with the code provided in the file code.gs.

Save the script by clicking on the floppy disk icon or by pressing Ctrl + S.

Usage

Using the GPT-4 Google Docs Text Generator is as easy as pie! Once you have installed the script, follow these steps to generate text:

Open the Google Docs document where you want to generate text.

Select the text that will serve as the prompt for the text generation.

Click on the "GPT-4" menu and select "Generate Text."

Sit back, relax, and let the magic happen! The generated text will be appended to the end of your document.

Setting Up Your API Key

To set up your API key for the GPT-4 Text Generator, follow these steps:

Click on the "GPT-4" menu and select "Set API key."

A prompt will appear, asking you to provide your API key. Enter your API key in the input field and click "OK."

Your API key will be securely stored, allowing you to use the GPT-4 model seamlessly.

Resetting Your API Key

If you need to reset your API key for any reason, follow these steps:

Click on the "GPT-4" menu and select "Delete API key."

Your API key will be deleted, and you will be prompted to set a new API key the next time you generate text.

Deleting All Credentials

If you want to remove all stored credentials, follow these steps:

Click on the "GPT-4" menu and select "Delete all credentials."

All stored credentials, including your API key, will be deleted. You will need to set a new API key the next time you generate text.

That's it! You are now ready to unleash the power of GPT-4 and create amazing text with ease. Enjoy your text generation journey with GPT-4 Google Docs Text Generator!

Note: The GPT-4 Google Docs Text Generator requires a stable internet connection to communicate with the OpenAI API and generate text.

Read this blog post - How to Use the GPT-4 Model with Google Docs

About

Appscript to extend Google Docs to support GPT 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published