CustomGPT

CustomGPT lets you easily build your own chatbot with your own data.

Integrate the CustomGPT API with the Python API

Setup the CustomGPT API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate CustomGPT and Python remarkably fast. Free for developers.

Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it

Overview of CustomGPT

CustomGPT API harnesses the power of generative AI to create custom chatbots tailored to specific needs or data sets. With Pipedream's serverless platform, you can integrate CustomGPT into complex workflows, triggering custom AI responses based on events from over 800+ apps. Automate tasks like customer support, personalized content creation, or data analysis by tapping into the rich capabilities of CustomGPT and Pipedream's seamless orchestration.

Connect CustomGPT

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    customgpt: {
      type: "app",
      app: "customgpt",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.customgpt.ai/api/v1/projects`,
      headers: {
        Authorization: `Bearer ${this.customgpt.$auth.api_key}`,
        "accept": `application/json`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}