Helper functions and functional utilities to use within your Pipedream workflows
Accepts a base64-encoded string, returns a decoded UTF-8 string
The Chat API, using the gpt-3.5-turbo
or gpt-4
model. See docs here
Get the difference, intersection, union, or symetric difference of two arrays/sets.
Pipedream provides a set of helper functions that make it easy to manipulate
and work with data in your workflow. You can use these helper functions to:
Here are some examples of what you can build using the Helper Functions API:
The OpenAI API is a powerful tool that provides access to a range of
high-powered machine learning models. With the OpenAI API, developers can
create products, services, and tools that enable humanizing AI experiences, and
build applications that extend the power of human language.
Using the OpenAI API, developers can create language-driven applications such
as:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openai: {
type: "app",
app: "openai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.openai.com/v1/models`,
headers: {
Authorization: `Bearer ${this.openai.$auth.api_key}`,
},
})
},
})