with 21RISK 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
The 21RISK API provides functionalities to manage and monitor risk within organizations. Leveraging Pipedream's integration capabilities allows for automated workflows that can streamline risk management processes, trigger alerts, and synchronize risk data across various business tools. This API is particularly useful for organizations looking to automate their risk assessment and mitigation strategies effectively.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_21risk: {
type: "app",
app: "_21risk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.21risk.com/odata/v5/organizations`,
headers: {
Authorization: `Bearer ${this._21risk.$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}`,
})
},
})