with Stormboard and xAI?
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
Stormboard is a digital workspace designed for interactive planning and collaboration. Leveraging its API on Pipedream, you can automate workflows to streamline idea management and decision-making processes. Create, update, and manage ideas captured in Stormboard in real-time, and sync them with other business tools for enhanced productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
stormboard: {
type: "app",
app: "stormboard",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.stormboard.com/users/test`,
headers: {
"X-API-Key": `${this.stormboard.$auth.api_key}`,
},
})
},
})
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}`,
}
})
},
})