GPT-4 Powered Google Docs: Easy App Script Connection with OpenAI API

Published: 04 March 2024
on channel: Tech with Hitch
570
14

All code used in this tutorial found here: https://github.com/hitchon1/google_sc...

Also feel free to connect with me:   / hitchon  

Learn how to use Google Apps Script to make GET requests to the OpenAI API, enabling your documents to interact with the cutting-edge intelligence of GPT-4. This guide will walk you through:

-Crafting a Google Apps Script to connect with the OpenAI API.
-Developing a function to fetch highlighted text from your Google Doc.
-Creating a custom menu in Google Docs to easily access your new function.

Whether you're aiming to automate content creation, enhance document interactivity, or simply explore the capabilities of AI, this tutorial has you covered. By the end, you'll have a functional tool that integrates GPT-4's advanced AI directly into your Google Docs, all through the convenience of an intuitive custom menu.

0:00 Demo of what we are building
1:00 GET Request OpenAI API Function
2:30 Getting selected text in google docs
4:20 Creating a custom menu
6:00 Expanding the custom menu

#openai #appscript


Watch video GPT-4 Powered Google Docs: Easy App Script Connection with OpenAI API online without registration, duration hours minute second in high quality. This video was added by user Tech with Hitch 04 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 57 once and liked it 1 people.