Skip to main content
Back to Actions Integrations Use prebuilt Azure OpenAI action templates to auto-create dialog tasks. Prerequisites: Configure Azure OpenAI and install templates before proceeding. Navigate to Automation AI > Use Cases > Dialogs, then click the auto-created dialog to open the canvas.

Supported Actions

ActionDescriptionMethod
General QueryResolve any query using Azure OpenAIPOST

General Query

  1. Install the template from Azure OpenAI Templates.
  2. The General Query dialog task is added with: Dialog added
    • generalQuery – User intent for a general query.
    • userQuestion and deploymentID – Entity nodes to pass the user’s question.
    • generalQueryService – Bot action service to send the query. Click Edit Request to modify parameters: Edit request Sample Request:
      {
        "prompt": "I am the owner of a SAAS product company. How can i increase my customer base?",
        "temperature": 0.25,
        "max_tokens": 1024,
        "top_p": 1,
        "frequency_penalty": 0,
        "presence_penalty": 0
      }
      
      Click +Add Response to add sample responses: Sample Response:
      {
        "id": "cmpl-6s8YPFcRGYrDtPys2OdVfxxxxxx",
        "object": "text_completion",
        "created": 1678360613,
        "model": "text-davinci-003",
        "choices": [
          {
            "text": "\n\n1. Focus on creating a great user experience...",
            "index": 0,
            "logprobs": null,
            "finish_reason": "stop"
          }
        ],
        "usage": {
          "prompt_tokens": 19,
          "completion_tokens": 212,
          "total_tokens": 231
        }
      }
      
    • generalQueryMessage – Message node to display the query response.
  3. Click Train to complete training.
  4. Click Talk to Bot to test.
  5. Enter a question when prompted. Enter a question
  6. An answer is generated for your query. Answer