peterw / streamlit-and-zapier-nla

This project is a Streamlit application that uses Zapier's NLA and OpenAI to process user instructions. The application mainly interacts with Google Docs based on the processed instructions and performs actions like creating a new doc, generating content and adding the content to the doc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zapier NLA + Google Docs Streamlit App

This project is a Streamlit application that uses Zapier's NLA and OpenAI to process user instructions. The application mainly interacts with Google Docs based on the processed instructions and performs actions like creating a new doc, generating content and adding the content to the doc.

Getting Started

Prerequisites

You will need the following to run this application:

  • An OpenAI API key you can get from here
  • Set up your Zapier NLA here and enable the following: "Google Docs: Append Text to Document"
  • A Zapier NLA API key you can get from here

Installing

To install the necessary libraries, run:

pip install -r requirements.txt

Running the Application

To run the application, navigate to the directory containing the script and run:

streamlit run main.py

Then, open your web browser and go to http://localhost:8501 to view and interact with the application.

Usage

In the text box provided, enter your instruction for the application. Then, click the "Submit" button. The application will process your instruction and generate an appropriate output, which will be displayed on the screen.

Sponser

✨ Learn to build projects like this one: BuildFast Course

License

This project is licensed under the MIT License.

About

This project is a Streamlit application that uses Zapier's NLA and OpenAI to process user instructions. The application mainly interacts with Google Docs based on the processed instructions and performs actions like creating a new doc, generating content and adding the content to the doc.

License:MIT License


Languages

Language:Python 100.0%