with xAI and RedCircle API?
Create an embedding vector representation corresponding to the input text. See the documentation
Create a language model response for a chat conversation. See the documentation
Create a language model response for a given prompt. See the documentation
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}`,
}
})
},
})
The RedCircle API enables podcasters to manage their shows, episodes, and analytics programmatically. Through Pipedream, you can harness this API to create custom workflows, integrating podcast operations with other apps and services. Automate tasks like uploading new episodes, syncing analytics data, or triggering marketing campaigns when a new episode goes live. With Pipedream's serverless platform, you can build these automations without managing infrastructure, leaning on Pipedream's vast app ecosystem and event-driven architecture.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
redcircle_api: {
type: "app",
app: "redcircle_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.redcircleapi.com/request`,
params: {
api_key: `${this.redcircle_api.$auth.api_key}`,
type: `search`,
search_term: `cell phones`,
},
})
},
})