1. .NET 8 ChatBot with
Azure OpenAI
Services
Hansamali Gamage
2. What is Open AI
• A safe and beneficial AI for man kind
• Understand and generate human like natural language
• Open AI models – ChatGPT, GPT-4, GPT-3.5, Whisper,
Dall-E, CLIP, MuseNet, Jukebox
• Microsoft Copilot – GPT-4 and Dall-E
3. What is Azure Open AI
• A service allows developers to integrate OpenAI
models to their applications
• Offers an integrated API to access the OpenAI models
• Different types of models like natural language
processing, Computer Vision and Speech detection
• Pre trained models with lot of data to leverage the
power of AI
• Can customize the pre trained model with minimal
coding
4. Azure OpenAI vs OpenAI
• Private Networking and Virtual networks
• Regional Availability
• Volume control
• AI content filtering
• Transition between two different platforms
5. Let’s Code
• Create an Azure OpenAI resource
• Get Approval from Azure to use the service
• Create a Model
• Endpoint, key and the model deployments
• Create a chat bot
• Extract insights from a pdf file
ChatGPT – Language model trained by OpenAI
GPT-4 – Safe and useful responses
GPT-3.5 –
Whisper - Automatic speech recognition system that transcribe and translate multiple languages
Dall-E – OpenAI image generation model
CLIP – Understand images and texts together
MuseNet – AI model that generates music in various styles and genres
Jukebox – AI model to generate music with lyrics and singing
REST API access to Open AI services
Have pre trained AI model to get use of the AI capabilities
Also can create our own custom features on top of the pre configured AI model
Both the services are from OpenAI technology
Open AI had enhanced advanced AI models and technologies to process natural language
We can integtate these features in our application to Identify voice commands, Check a picture and provide information about that
With Azure, your communivcation to Open AI is secure, scalable and reliable