with Rafflys and Ollama?
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
Rafflys API provides tools to create and manage online raffles and contests, paving the way for engagement and promotional activities. Within Pipedream, you can leverage this API to build automations that enhance the way you run contests, connect with your audience, and analyze engagement data. By integrating Rafflys with other apps on Pipedream, you can craft workflows that streamline contest operations, notify winners, or even sync data with marketing platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rafflys: {
type: "app",
app: "rafflys",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app-sorteos.com/api/v2/users/me`,
headers: {
"X-API-KEY": `${this.rafflys.$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}`,
})
},
})