with DeepSeek and Microsoft Graph API?
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: {
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}`,
},
})
},
})
The Microsoft Graph API taps into the rich data and insights generated by Microsoft 365 services. It enables developers to build powerful workflows integrated with email, calendars, contacts, documents, directory services, and device updates. With Graph API, you can automate user account management, extract insights from Office 365 usage, manage devices, and leverage AI services to mine data from the Microsoft ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_graph_api: {
type: "app",
app: "microsoft_graph_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_graph_api.$auth.oauth_access_token}`,
},
})
},
})