with StoryScale and Ollama?
Emit new event when a new tour is created. See the documentation
Emit new event when a tour gets published. 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
The StoryScale API enables the creation, management, and retrieval of storytelling content. Integrated within Pipedream's ecosystem, you can automate interactions with the StoryScale API to streamline content workflows, react to events, and sync data across various platforms. Pipedream's serverless platform simplifies the process of setting up event-driven workflows, making it straightforward to harness the capabilities of the StoryScale API without writing complex infrastructure code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
storyscale: {
type: "app",
app: "storyscale",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://prodapi.storyscale.com/api/v1/user/profile`,
headers: {
Authorization: `Bearer ${this.storyscale.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
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}`,
})
},
})