with Mission Mobile 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
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mission_mobile: {
type: "app",
app: "mission_mobile",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://clientlogin.missionmobile.net/gateway/xml_account_settings.asp`,
auth: {
username: `${this.mission_mobile.$auth.api_token}`,
password: ``,
},
params: {
guid: `${this.mission_mobile.$auth.account_id}`,
},
})
},
})
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}`,
})
},
})