Harnessing the Power of Conversational AI with Power Platform and Azure OpenAI Services
Published Jun 26 2023 12:44 AM 3,578 Views
Brass Contributor

Conversational AI, powered by Power Platform Copilot has emerged as a revolutionary technology that has transformed the way businesses operate. With the ability to automate customer service, provide valuable insights, and enhance employee training, Conversational AI has become an essential tool for modern enterprises. In this blog post, we'll explore how Conversational AI, specifically with Azure OpenAI Services, has revolutionized enterprise work and the benefits it offers businesses and their employees. From improved customer service to increased efficiency and security, Conversational AI with Azure OpenAI Services is changing the way we work and interact with customers.

 

Scenario
Azure OpenAI Services combined with Power Apps allows enterprises to use conversational AI securely within their organization. With this combination, users can ask natural language questions directly and receive answers without the need to write any code.


Solution
By utilizing Copilot with Power Platform, businesses can significantly transform their operations. The solution offers a swift and efficient way to handle inquiries and automate processes, leading to increased productivity. The integration of custom chatbots with existing enterprise systems allows for easy access to information from multiple sources, simplifying the process of finding answers.

With Power Apps enables the creation of custom mobile apps that can seamlessly integrate with the chatbots, resulting in a user-friendly experience. The advanced security features of Azure OpenAI services ensure the protection of sensitive information and prevent data breaches, making it a secure solution for organizations.


Technical Overview

 

Architecture.png

Key feature :

 

  1. User Interface: The user interface that users interact with to communicate with the chatbot. This can include a web portal, mobile app, or any other type of front-end interface.
  2. Azure OpenAI Services: The Azure OpenAI service that powers the chatbot's intelligence. It includes natural language processing (NLP) capabilities that enable the chatbot to understand and respond to user requests.
  3. Power Apps: The Power Apps platform that enables the creation of custom mobile apps that can integrate with the chatbot. Power Apps provides a platform to create custom mobile apps that can integrate with the chatbots, providing a seamless user experience.
  4. Power Automate: The Power Automate platform that enables the creation of automated workflows that can be triggered by the chatbot. This enables the chatbot to automate processes and complete tasks on behalf of the user.

Azure OpenAI Services 
Azure OpenAI is a cloud-based platform that provides access to a wide range of artificial intelligence (AI) tools and services. It is a part of Microsoft Azure, which is a collection of cloud services for building, deploying, and managing applications and services through a global network of Microsoft-managed data centers.  

Azure Open AI suites.png

Endpoint and Key
Once you have gained access to the appropriate portal or platform, you can create an endpoint for your chatbot. To enable chat functionality, you can use either the GPT-3 language model or the Davinci text model by specifying the relevant URL.
Azure Open AI deploiment.png

Power Automate

The integration of Power Apps with Azure OpenAI services involves using Power Automate to create a streamlined workflow that allows users to ask questions and receive answers from the chat playground. This workflow is initiated when the user selects a designated button within the Power Apps app to obtain an answer.

To process the user's query and obtain the corresponding answer, the workflow uses an HTTP request to transmit the query to the question answering service's prediction URL. The input text field contents are retrieved and included in the body of the HTTP request. The Azure OpenAI service processes the query using its AI-based algorithms and returns the corresponding answer via the HTTP response.

This approach enables a seamless integration between Power Apps and Azure OpenAI Services, allowing users to access powerful AI capabilities within their apps without needing to switch to a separate application or interface.

Power Automate 1.png


Process the response

 After  the Azure OpenAI service returns the corresponding answer via the HTTP response, and once Power Automate configured to process and display this answer within the Power Apps app.

User can now use the solution
Power Apps.png

By following these steps, users can seamlessly integrate the powerful AI capabilities of Azure OpenAI within their Power Apps apps, enabling them to provide quick and accurate answers to user queries without the need for a separate interface or application.

Documentation

Introduction to Azure OpenAI Service - Training | Microsoft Learn
Azure OpenAI Service models - Azure OpenAI | Microsoft Learn



 

2 Comments
Co-Authors
Version history
Last update:
‎Jun 27 2023 07:48 AM
Updated by: