with Simla.com and Ollama?
Emit new event when a new customer is created. See the documentation
Emit new event when a customer is updated. See the documentation
Copies a model, creating a model with another name from an existing model. See the documentation
Creates a new order with customer and order details. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
simla_com: {
type: "app",
app: "simla_com",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.simla_com.$auth.subdomain}.simla.com/api/${this.simla_com.$auth.version}/users`,
headers: {
"X-API-KEY": `${this.simla_com.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ollama: {
type: "app",
app: "ollama",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.ollama.$auth.url}`,
})
},
})