Examples and guides for using the OpenAI API
Add Zapier cookbook (#1347)
dan-openai3f85e94f64c8
diff --git a/examples/chatgpt/gpt_actions_library/gpt_action_zapier.ipynb b/examples/chatgpt/gpt_actions_library/gpt_action_zapier.ipynbnew file mode 100644index 00000000..2e4aa7ba--- /dev/null+++ b/examples/chatgpt/gpt_actions_library/gpt_action_zapier.ipynb@@ -0,0 +1,135 @@+{+ "cells": [+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "# GPT Action Library: Zapier"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "## Introduction"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "This page provides an instruction & guide for developers building a GPT Action for a specific application. Before you proceed, make sure to first familiarize yourself with the following information: \n",+ "- [Introduction to GPT Actions](https://platform.openai.com/docs/actions)\n",+ "- [Introduction to GPT Actions Library](https://platform.openai.com/docs/actions/actions-library)\n",+ "- [Example of Buliding a GPT Action from Scratch](https://platform.openai.com/docs/actions/getting-started)"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "This GPT Action provides an overview of how to connect a GPT to **Zapier**. Because the majority of configuration occurs on Zapier, we recommend reviewing this ***[helpful guide from Zapier on connecting GPTs to custom Zapier Actions](https://actions.zapier.com/docs/platform/gpt)***."+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "### Value + Example Business Use Cases"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "**Value**: Users can now connect custom GPTs within ChatGPT to Zapier and get instant integration to 6,0000+ apps and 20,000+ actions across the tech stack. \n",+ "\n",+ "**Example Use Cases**: \n",+ "- An organization has already setup Zapier integrations, and would like to avoid additional integration work when connecting their tech ecosystem with ChatGPT\n",+ "- Build a Calendar Assistant GPT which looks up calendar events, and provides additional context based on attendees' LinkedIn profiles\n",+ "- A CRM GPT to help connect Hubspot to ChatGPT allowing sales teams to update or review contacts and notes on the go\n"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "## Application Information"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "### Application Key Links"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "Check out these links from the application before you get started:\n",+ "- Application Website: https://zapier.com\n",+ "- AI Actions URL: https://actions.zapier.com/gpt/actions/\n",+ "- Automatic OpenAPI Configuration: https://actions.zapier.com/gpt/api/v1/dynamic/openapi.json?tools=meta"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "### Application Prerequisites"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "Before you get started, make sure you go through the following step in your Zapier:\n",+ "- Configure the desired AI Actions via the [AI Action Manager](https://actions.zapier.com/gpt/actions/)"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ ""+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ ""+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "### In ChatGPT"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "In ChatGPT, from the custom GPT creator screen, click on \"Actions\" and choose **\"Import from URL\"**. Enter in Zapier URL for provisioning GPTs: https://actions.zapier.com/gpt/api/v1/dynamic/openapi.json?tools=meta"+ ]+ },+ {+ "cell_type": "markdown",+ "metadata": {},+ "source": [+ "*Are there integrations that you’d like us to prioritize? Are there errors in our integrations? File a PR or issue in our github, and we’ll take a look.*\n"+ ]+ }+ ],+ "metadata": {+ "language_info": {+ "name": "python"+ }+ },+ "nbformat": 4,+ "nbformat_minor": 2+}diff --git a/images/zapier_action_config.png b/images/zapier_action_config.pngnew file mode 100644index 00000000..5541dc5bBinary files /dev/null and b/images/zapier_action_config.png differdiff --git a/images/zapier_ai_actions.png b/images/zapier_ai_actions.pngnew file mode 100644index 00000000..f3bb9276Binary files /dev/null and b/images/zapier_ai_actions.png differdiff --git a/registry.yaml b/registry.yamlindex a4743089..72bb8534 100644--- a/registry.yaml+++ b/registry.yaml@@ -1457,6 +1457,15 @@- gpt-actions-library- chatgpt+- title: GPT Actions library - Zapier+ path: examples/chatgpt/gpt_actions_library/gpt_action_zapier.ipynb+ date: 2024-08-05+ authors:+ - dan-openai+ tags:+ - gpt-actions-library+ - chatgpt+- title: Structured Outputs for Multi-Agent Systemspath: examples/Structured_outputs_multi_agent.ipynbdate: 2024-08-06