Confection collects, stores, and distributes data in a way that's unaffected by client-side disruptions involving cookies, cross-domain scripts, and device IDs. It's also compliant with global privacy laws so it’s good for people too.
Emit new event when a UUID receives a value for the configured Event Name. The latest value as well a history of all values ever received for that Event Name will be returned.
Emit new event when the UUID is significant enough to be classified as a lead. You define the field of significance and if a UUID gets a value for this field, it will trigger.
Emit new event when any UUID is created or updated. To learn more about how Confection handles UUIDs, visit https://confection.io/main/demo/#uuid.
Emit new event when a new batch is completed in OpenAI. See the documentation
Emit new event when a new file is created in OpenAI. See the documentation
This action will retrieve the full details of a specified UUID.
The Chat API, using the gpt-3.5-turbo
or gpt-4
model. See the documentation
This action will retrieve all UUIDs that have a likeness score of at least 50 (default) with the provided UUID. The likeness score can be customized in configuration.
Summarizes text using the Chat API. See the documentation
Classify items into specific categories using the Chat API. See the documentation
Confection API provides a robust solution for collecting, managing, and utilizing user data in compliance with privacy regulations. It helps businesses capture data lost due to ad blockers and privacy tech, ensuring you don't miss out on valuable insights. With Pipedream, you can harness this data in real-time, triggering actions, analyzing trends, or integrating with other services for a comprehensive data strategy.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
confection: {
type: "app",
app: "confection",
}
},
async run({steps, $}) {
const data = {
"key": `${this.confection.$auth.secret_key}`,
}
return await axios($, {
url: `https://transmission.confection.io/${this.confection.$auth.account_id}/account/`,
data,
})
},
})
OpenAI provides a suite of powerful AI models through its API, enabling developers to integrate advanced natural language processing and generative capabilities into their applications. Here’s an overview of the services offered by OpenAI's API:
Use Python or Node.js code to make fully authenticated API requests with your OpenAI account:
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}`,
},
})
},
})