with Aleph Alpha (Luminous) and cvr.dev?
The Aleph Alpha (Luminous) API offers advanced AI capabilities, enabling you to integrate state-of-the-art language models into your applications. With this API, you can create natural language understanding and generation tasks, such as answering questions, summarizing content, and generating human-like text. On Pipedream, you can leverage these features within serverless workflows to automate processes, enrich data, and connect with other apps to create powerful AI-driven solutions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
luminous: {
type: "app",
app: "luminous",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.aleph-alpha.com/users/me`,
headers: {
Authorization: `Bearer ${this.luminous.$auth.api_token}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cvr_dev: {
type: "app",
app: "cvr_dev",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cvr.dev/api/test/apikey`,
headers: {
"Authorization": `${this.cvr_dev.$auth.api_key}`,
},
})
},
})