with Paved and Ollama?
Emit new event when a sponsorship is detected on a newsletter similar to yours. See the documentation
Copies a model, creating a model with another name from an existing model. See the documentation
Generates the next message in a chat with a provided model. See the documentation
Generates a response for a given prompt with a provided model. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
paved: {
type: "app",
app: "paved",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.paved.com/advertiser/v1/sponsorships`,
headers: {
"Authorization": `Token ${this.paved.$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}`,
})
},
})