This repo contains all the work for Episode 3 of Nikhil Sehgal's series on building a startup on Microsoft Azure.
Products Used
Azure OpenAI
Azure Speech Services
Overview To view the presentation please click here
Solution Brief Using Azure OpenAI & Azure Speech Services, we have built a solution we have built a personal AI assistant that can help you with ANYTHING! The assistant can help you with your daily tasks and even help you with your personal life. The assistant is powered by Azure OpenAI and Azure Speech Services.
main.py
- This is the main script that runs the entire application.speech_synthesis.py
- This script contains all the functions that interact with the Azure Speech Serviceazure_openai.py
- This script contains all the functions that interact with the OpenAI API..env
- This file contains all the environment variables that are used in the application. (This file is not included in the repo for security reasons)*
Your .env file should contain the following variables:
OPENAI_API_KEY=<YOUR API KEY>
SPEECH_KEY=<YOUR SPEECH KEY>
SPEECH_REGION=<YOUR SPEECH REGION>
To run the project locally, run the following CLI commands.
pip install -r requirements.txt ## Install all the dependencies
python main.py ## Run the main application