with Tableau and Azure OpenAI?
Emit new event when a label is created in Tableau. See the documentation
Emit new event each time a new workbook is created in Tableau. See the documentation
Creates a project on the specified site. You can also create project hierarchies by creating a project under the specified parent project on the site. See the documentation
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
Returns a list of projects on the specified site. See the documentation
The Tableau API allows you to tap into the robust data visualization and business intelligence capabilities of Tableau. Within Pipedream, you can leverage this API to automate reporting, manage users, update data sources, and extract insights. This enables you to integrate Tableau's analytics with other services, streamlining your data workflows and ensuring your dashboards remain up-to-date with minimal manual effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tableau: {
type: "app",
app: "tableau",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.tableau.$auth.domain}/api/3.21/sessions/current`,
headers: {
"X-Tableau-Auth": `${this.tableau.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
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,
})
},
})