with Ollama and Claris Filemaker Server OData API?
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: {
ollama: {
type: "app",
app: "ollama",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.ollama.$auth.url}`,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
claris_filemaker_server_odata_api: {
type: "app",
app: "claris_filemaker_server_odata_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.claris_filemaker_server_odata_api.$auth.api_url}/fmi/odata/v4/${this.claris_filemaker_server_odata_api.$auth.database_name}/$metadata`,
auth: {
username: `${this.claris_filemaker_server_odata_api.$auth.username}`,
password: `${this.claris_filemaker_server_odata_api.$auth.password}`,
},
})
},
})