with kiwiHR and Ollama?
Copies a model, creating a model with another name from an existing model. See the documentation
Update an existing employee's record in kiwiHR. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kiwihr: {
type: "app",
app: "kiwihr",
}
},
async run({steps, $}) {
const data = {
"query": `{ users { items { id email } } }`,
}
return await axios($, {
method: "post",
url: `${this.kiwihr.$auth.api_url}/api/graphql`,
headers: {
"x-api-key": `${this.kiwihr.$auth.api_key}`,
},
data,
})
},
})
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}`,
})
},
})