with Jira Data Center 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: {
jira_data_center: {
type: "app",
app: "jira_data_center",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.jira_data_center.$auth.api_url}/rest/auth/1/session`,
headers: {
Authorization: `Bearer ${this.jira_data_center.$auth.personal_access_token}`,
},
})
},
})
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}`,
})
},
})