ZBrain Documentation
  • ZBrain Documentation
    • Components of ZBrain
    • Getting started with ZBrain
    • 📚Knowledge base
      • How to create a knowledge base?
      • Knowledge source
      • Information schema
      • File summary
      • Automated reasoning
      • Retrieval testing
      • Knowledge base settings
    • 📱APP
      • How to create a new app?
      • How to set up and customize your app?
      • How to access the app reporting dashboard?
    • 🤖ZBrain AI agents
      • Get started with agents on ZBrain
      • Deploying pre-built agents
      • Creating custom AI agents
        • Agent setup
        • Define input sources
        • Define Flow
          • Key elements of a Flow
          • Flow Components
            • Activepieces Platform
            • AITable
            • Airtable
            • Amazon S3
            • Amazon SNS
            • Amazon SQS
            • Amazon Textract
            • Apify
            • Apollo
            • Approval
            • Asana
            • Azure Communication Services
            • Azure Cosmos DB
            • Azure Document Intelligence
            • Azure OpenAI
            • Azure Translation
            • Bannerbear
            • Baserow
            • Beamer
            • Bedrock Claude
            • Bettermode
            • Binance
            • Bing Search
            • Blackbaud
            • Bonjoro
            • Box
            • Brevo
            • Brilliant Directories
            • Bubble
            • CSV
            • Calendly
            • Certopus
            • Clearout
            • Clockodo
            • Code
            • Confluence
            • Connections
            • Constant Contact
            • Contiguity
            • Contentful
            • Customer.io
            • Crypto
            • Databricks
            • Data Mapper
            • Date Helper
            • DeepL
            • Delay
            • Discord
            • Discourse
            • Drip
            • Dropbox
            • Dust
            • Facebook Pages
            • Figma
            • Files Helper
            • Flowise
            • Flowlu
            • Formbricks
            • Frame
            • Freshdesk
            • Freshsales
            • GCloud Pub/Sub
            • GenerateBanners
            • GhostCMS
            • GitHub
            • GitLab
            • Gmail
            • Google Calendar
            • Google Contacts
            • Google Docs
            • Google Drive
            • Google Forms
            • Google Gemini
            • Google My Business
            • Google Search
            • Google Search Console
            • Google Sheets
            • Google Tasks
            • Groq
            • Hacker News
            • Heartbeat
            • HubSpot
            • HTTP
            • Image Helper
            • Inputs
            • Instagram for Business
            • Intercom
            • Invoice Ninja
            • Jira Cloud
            • Jotform
            • Kimai
            • Kizeo Forms
            • LeadConnector
            • Line Bot
            • Linear
            • LinkedIn
            • LinkedIn Actions
            • LLMRails
            • Lusha
            • MailerLite
            • Mailchimp
            • Mautic
            • Microsoft Dynamics 365 Business Central
            • Microsoft Dynamics CRM
            • Microsoft Excel 365
            • Microsoft OneDrive
            • Microsoft Outlook Calendar
            • Microsoft Teams
            • Mixpanel
            • MongoDB
            • Notion
            • Odoo
            • OpenAI
            • OpenRouter
            • Pastebin
            • PDF
            • Postgres
            • PostHog
            • Pushover
            • Qdrant
            • Queue
            • Razorpay
            • Router
            • Salesforce
            • SendGrid
            • ServiceNow
            • SFTP
            • SharePoint
            • Slack
            • SMTP
            • Snowflake
            • SOAP
            • Spotify
            • Stability AI
            • Stable Diffusion Web UI
            • Storage
            • Stripe
            • SurrealDB
            • SurveyMonkey
            • Taskade
            • Telegram Bot
            • Text Helper
            • Trello
            • Twilio
            • Twitter
            • Utilities
            • WhatsApp Business
            • WordPress
            • XML
            • YouTube
            • ZBrain
            • Zendesk
            • ZeroBounce
            • Zoho Books
            • Zoho CRM
            • Zoho Invoice
            • Zoom
          • How to Define a Flow?
          • How to Test Each Step in the Flow?
        • Configure Additional Settings
        • Test and Deploy Agents
        • How to access, monitor, and manage agent performance and tasks?
    • Settings
    • đź“–API Tutorials
      • 📚Knowledge base
        • Automated Reasoning
      • 📱APP
      • 🤖Agents
Powered by GitBook
On this page
  1. ZBrain Documentation
  2. ZBrain AI agents
  3. Creating custom AI agents
  4. Define Flow
  5. Flow Components

Azure OpenAI

Azure OpenAI in ZBrain Flow is a suite of AI services provided by Microsoft Azure that enables advanced natural language processing and text generation. It leverages GPT-based models to handle tasks such as drafting text, summarizing content, and answering questions, offering powerful conversational and language understanding capabilities within your workflows.

How to Integrate Azure OpenAI with ZBrain Flow?

  1. Click the “+” Button in the Flow Open your ZBrain Flow and select the plus sign (+) to add a new step.

  2. Search for “Azure OpenAI” Type “Azure OpenAI” in the search bar to view the available tasks.

  3. Choose the Desired Task Select the Ask GPT action to interact with Azure OpenAI’s GPT-based language models.

Ask GPT

Pose any question or provide any prompt to the AI model, and receive a context-aware, generated response. This can be used for tasks such as drafting emails, generating summaries, or brainstorming ideas.

How to Configure the "Ask GPT" Action with Azure OpenAI in ZBrain Flow?

Step 1: Add the “Ask GPT” Step in ZBrain Flow

  1. Insert a New Step

    • In your flow, click the + button to add a new step.

  2. Search for “Azure OpenAI”

    • Type “Azure OpenAI” in the search bar and select Ask GPT from the available options.

Step 2: Create an Azure OpenAI Connection

  1. Enter Connection Details

    • Connection Name: Give your connection a recognizable name (e.g., “Azure OpenAI”).

    • Endpoint: Provide the endpoint URL for your Azure OpenAI resource (e.g., https://<resource-name>.openai.azure.com).

    • API Key: Paste the API key retrieved from your Azure Portal.

  2. Save the Connection

    • Click Save to finalize the connection settings.

    • Your new Azure OpenAI connection is now ready to use.

Step 3: Configure the “Ask GPT” Action

  1. Deployment Name

    • Enter the name of your model deployment from Azure. This is the deployment ID you created for your GPT-based model in Azure.

  2. Question

    • Type in the prompt or question you want GPT to answer. This can be dynamic, using data from previous steps or a static text prompt.

  3. Temperature

    • Controls the “creativity” of the model’s output. A lower temperature yields more focused results; a higher temperature produces more varied responses.

  4. Maximum Tokens

    • Sets the maximum length of the generated answer. The default is often 2048, but you can adjust based on your needs and token limits.

  5. Top P

    • Another way to control sampling. A lower value focuses on the highest-probability tokens, while a higher value broadens the range of possible outputs.

  6. Frequency Penalty

    • Adjusts the model’s tendency to repeat lines or phrases. Ranges from -2.0 to +2.0.

  7. Presence Penalty

    • Encourages the model to talk about new topics. Ranges from -2.0 to +2.0.

  8. Memory Key (Optional)

    • Assign a key to store conversation history if you want to maintain context across multiple steps in your flow.

  9. Roles (Optional)

    • Add or edit role-based messages (e.g., “system,” “assistant,” “user”) to guide the conversation. This is especially useful for advanced prompt engineering or multi-turn conversations.

Step 4: Save and Test

  1. Save the Configuration

    • Once you’ve filled in all required fields, click Save or Done to confirm.

  2. Run the Flow

    • Test your flow to confirm the Ask GPT step is communicating properly with Azure OpenAI.

    • Check the output to ensure it matches your expected response.

  3. Review and Iterate

    • If the response needs adjustment, tweak parameters such as Temperature or Top P.

    • For more context, update the Roles or Question fields.

PreviousAzure Document IntelligenceNextAzure Translation

Last updated 1 month ago

🤖