- Purpose of the Article: In this blog, we have explained how we can integrate ChatGPT functionality using Azure logic app and developed a console-based application with GUI, which takes voice input from microphone and processes with ChatGPT and the response from ChatGPT is displayed in the app
- Intended Audience: : This POC/blog will help the organization
- Tools and Technology: Azure Logic App, Python
- Keywords: Search Application using Microsoft Azure (ChatGPT
Implementation of ChatGPT functionality in Microsoft Azure
This Voice Search application enables users to utilize Voice Search functionality using OpenAI-owned ChatGPT through Microsoft Azure
Problem Statement:
- This application is desired to achieve Voice Assistant functionality in Microsoft Azure using OpenAI owned ChatGPT connector
- This is achieved using the Azure Logic app and custom Python code
- Python code is used to enable the microphone and record audio, translate it into text and then feed the text to the ChatGPT connector in the Azure Logic app
- This is mainly designed with the intention of creating our very own Voice-Search app, which will answer all our questions and queries
- This will add significant value to the customers and stakeholders who want to use the functionality of Voice Search engines using Microsoft Azure
Value Addition:
- ChatGPT-Voice Search application is our very own voice search tool which runs on a local system and is integrated with Microsoft Azure
- This command-line-based application has a graphical user interface (GUI) that runs on a local system and consumes an Azure Logic app
- The GUI of this application is very simple
- This application is not limited to English, and accepts every known language used by Google
Advantages
- A simple command-line-based application that runs on local systems with internet access
- The application is designed using custom Python code and is integrated with the Azure Logic App (ChatGPT)
- This application has a simple, easy to use GUI, and memory-wise, it is very small
- Regrding pricing and costing, the application is integrated with Azure Logic app consumption-based model (Pay-As-You-Go), so the charges depend on the number of times we consume/trigger the Logic app
- The Logic app’s pricing is low compared to other Azure Services, and the average costing is significantly less
Business Requirements Specifications
The listed tools/services are necessary for this application.
- Python code
Below are the modules used in our custom Python code:
- Speech Recognition
- OS
- Requests
This Python code enables the microphone, takes the voice input, transcribes it into text, and then feeds it to the Azure Logic app.
- Azure Logic App
it accepts the text question fed to the ChatGPT, generates appropriate result/response displayed as output in the application.
Logic App Designer View:
The Appplication Interface appearance:
Author Bio:
Vasu Gari
Associate Software Engineer - Enterprise Integration
I am Vasu GARI working as an Associate Software Engineer at MOURI Tech for the past 1.7 years. I have extensive expertise in Microsoft Azure, Python, and SQL.