with Eden AI and xAI?
Analyzes sentiment in the provided text. See the documentation
Create an embedding vector representation corresponding to the input text. See the documentation
Detects AI content in the provided text. See the documentation
Generates an audio from the provided text. See the documentation
Eden AI provides a simple API for integrating a variety of AI services from different providers. On Pipedream, you can leverage Eden AI to automate tasks that involve natural language processing, computer vision, and other AI capabilities. By connecting Eden AI with other apps, you can create powerful workflows for data enrichment, content moderation, or sentiment analysis without extensive AI expertise.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
eden_ai: {
type: "app",
app: "eden_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.edenai.run/v2/ocr/custom_document_parsing_async`,
headers: {
Authorization: `Bearer ${this.eden_ai.$auth.api_key}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
x_ai: {
type: "app",
app: "x_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.x.ai/v1/models`,
headers: {
Authorization: `Bearer ${this.x_ai.$auth.api_key}`,
}
})
},
})