with xAI and Sellsy?
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 Sellsy API allows you to automate and enhance your customer relationship management and sales processes. Via Pipedream, a serverless integration and automation platform, you can leverage the API to sync data, trigger workflows based on specific actions within Sellsy, and connect Sellsy with a multitude of other services to streamline operations, enhance user engagements, and optimize sales activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sellsy: {
type: "app",
app: "sellsy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sellsy.com/v2/teams`,
headers: {
Authorization: `Bearer ${this.sellsy.$auth.oauth_access_token}`,
},
})
},
})