with Leap and Data Stores?
Emit new event when a new image sample is created for a model. See the documentation
Emit new event when a new model is created. See the documentation
Emit new event when a new model version is created/queued for training. See the documentation
Queues an image generation job and returns the job details. See the documentation
Add or update a single record in your Pipedream Data Store
Creates a new custom model entity, which serves as a container that can be trained on custom images. See the documentation
Add or update multiple records to your Pipedream Data Store
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
The Leap API enables automated interactions with the Leap.ai platform, which focuses on matching users with optimal job opportunities based on skills and preferences. In Pipedream, you can harness this API to create workflows that streamline the job search process, manage and analyze job matching data, or even integrate with other platforms to enhance the job seeking experience. With Pipedream's serverless execution environment, you can trigger these workflows on a schedule, via webhooks, or in response to events from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
leap: {
type: "app",
app: "leap",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tryleap.ai/api/v1/images/models`,
headers: {
Authorization: `Bearer ${this.leap.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})