with Azure OpenAI and Favro?
Create completions for chat messages with the GPT-35-Turbo and GPT-4 models. See the documentation
Classify items into specific categories. See the documentation
Creates an image given a prompt, and returns a URL to the image. See the documentation
The Azure OpenAI Service API provides access to powerful AI models that can understand and generate human-like text. With Pipedream, you can harness this capability to create a variety of serverless workflows, automating tasks like content creation, code generation, and language translation. By integrating the API with other apps on Pipedream, you can streamline processes, analyze sentiment, and even automate customer support.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
azure_openai_service: {
type: "app",
app: "azure_openai_service",
}
},
async run({steps, $}) {
const data = {
"messages": [{ role: 'user', content: "Hello, world!" }],
}
return await axios($, {
method: "post",
url: `https://${this.azure_openai_service.$auth.resource_name}.openai.azure.com/openai/deployments/${this.azure_openai_service.$auth.deployment_name}/chat/completions?api-version=2023-05-15`,
headers: {
"Content-Type": `application/json`,
"api-key": `${this.azure_openai_service.$auth.api_key}`,
},
data,
})
},
})
The Favro API gives you the power to automate and integrate your project management tools with a host of other services. With Favro and Pipedream, you can create custom workflows to synchronize tasks, update cards, manage boards, and collaborate more effectively across your organization. Whether you're syncing with a CRM, triggering notifications, or generating reports, Pipedream's serverless platform makes it simple to connect Favro with other apps to streamline your processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
favro: {
type: "app",
app: "favro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://favro.com/api/v1/organizations`,
auth: {
username: `${this.favro.$auth.username}`,
password: `${this.favro.$auth.api_token}`,
},
})
},
})