with Gem and DeepSeek?
Emit new event when a candidate is added in Gem. See the documentation
Creates a chat completion using the DeepSeek API. See the documentation
Lists the currently available models, and provides basic information about each one such as the owner and availability. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gem: {
type: "app",
app: "gem",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gem.com/v0/users`,
headers: {
"x-api-key": `${this.gem.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deepseek: {
type: "app",
app: "deepseek",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.deepseek.$auth.base_url}/user/balance`,
headers: {
Authorization: `Bearer ${this.deepseek.$auth.api_key}`,
},
})
},
})