This project demonstrates the integration of Azure OpenAI service and Azure Speech service to create a chatbot that users can interact with via voice.
Azure OpenAI Service provides customers with access to advanced language AI capabilities through OpenAI’s GPT-4, GPT-3, Codex, and DALL-E models, all with the added security and enterprise support of Azure. Co-developed with OpenAI, Azure OpenAI ensures compatibility and a seamless transition between the two platforms. By using Azure OpenAI, customers can leverage the same models as OpenAI while benefiting from the security features of Microsoft Azure, such as private networking and regional availability. Additionally, Azure OpenAI promotes responsible AI by offering content filtering capabilities.
Comparing Azure OpenAI and OpenAI
Create a virtual environment:
python3 -m venv venv
This will create a new virtual environment in a subdirectory called "venv".
Use pip to install dependencies:
pip install azure-cognitiveservices-speech
pip install openai