Skip to content

msavita-cloud/OpenAIPowerApp

Repository files navigation

OpenAI PowerApp

This application demonstrates the exceptional capabilities of Azure AI Cognitive Services in extracting data from various unstructured file formats. Additionally, it provides insights on how OpenAI can be seamlessly integrated into workflows to develop valuable applications. By utilizing interactive demos and features, users can explore the impressive capabilities of OpenAI's machine learning and natural language processing. The OpenAI large language model (LLM) enables quick comprehension and analysis of unstructured data such as audio files, PDFs, and videos. Leveraging Azure Cognitive Services and the Power Platform, organizations can automate processes for improved handling of inquiries, feedback, and conversations, thus empowering their operations.

This application is built on PowerPlatform and used Azure AI & Open AI http endpoints via PowerAutomate to connect to Azure Services.

App Landing Page: image

PDF Extraction and Ask Questions from extracted text:

image

Video Insights Extraction and Ask Questions from extracted text:

image

Let's build a Power App to use Azure AI & Open AI to Improve Productivity

What's needed
Azure Open AI

  1. Register for Azure Open AI - https://learn.microsoft.com/en-us/azure/cognitive-services/openai/overview
  2. Once got approved create Azure Open AI resource in Azure portal.
  3. Select region as East US
  4. At the time of writing this article davinci-003 is only available in East US
  5. Create a deployment inside the resource.

Computer Vision (for PDF extraction) https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision

Speech Service (For Speech Extraction) https://portal.azure.com/#create/Microsoft.CognitiveServicesSpeechServices

Video Indexer (Extract insights from Video) https://learn.microsoft.com/en-us/azure/azure-video-indexer/video-indexer-get-started

Import PowerApp

  1. Download .zip file from repository
  2. Import package in PowerApps https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/export-import-app#importing-a-canvas-app-package

Update all the endPoints in PowerAutomate

  1. Video Indexer - OpenAIVideoToText
  • Go to Flow.microsoft.com
  • Edit OpenAIVideoToText
  • Get accesstoken from Azure Video Indexer at Portal.Azure.com
  • image Update accesstoken in powerautomate image


    2. Computer Vision - OpenAIPDFExtraction

  • Go to Flow.microsoft.com
  • Edit OpenAIPDFExtraction
  • Get keys and endpoint from computer vision in Portal.Azure.com
  • image Update http url and key in powerautomate image

    1. Speech - OpenAIAudioToText
  • Go to Flow.microsoft.com
  • Edit OpenAudioToText
  • Get keys and endpoint from Speech in Portal.Azure.com
  • image Update http url and key in powerautomate image

    1. OpenAI - Openaigeneral, Openaisummarization-Summary

    image

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published