SlideShare a Scribd company logo
1 of 15
General
Unleash AI Power in Your Software:
Exploring Azure OpenAI Service
General
Hany Saad
Technology professional with a rich background in software
engineering and development field. Currently working as a
Custom Development (.Net) TSP at ITWorx.
Worked as lecturer and training manager at the
Information Technology Institute (ITI), Ministry of
Communications and Information Technology, where he
contributes significantly to ICT capacity building in Egypt.
Worked in other different positions with different
organizations through more than 18 years.
https://www.linkedin.com/in/hanysaad
TSP (Technology solution professional) @ITWorx
General
Microsoft Azure
3
Microsoft Azure is a comprehensive cloud platform
by Microsoft offering services for computing,
storage, and networking, enabling users to build,
deploy, and manage applications through global
data centers.
General
Azure AI services
4
General
AZURE OPENAI
SERVICE
Azure OpenAI Service is a cloud-based platform provided by
Microsoft that integrates OpenAI's advanced AI models,
including GPT (Generative Pre-trained Transformer), into
Azure's cloud services. This service allows developers and
businesses to incorporate powerful natural language
processing, generation, and understanding capabilities into
their applications, leveraging the scalability and reliability of
Azure's infrastructure.
General
AZURE OPENAI SERVICE - MODELS
Azure OpenAI Service models
Models Description
GPT-4 A set of models include GPT-4 and GPT-4 Turbo Preview
GPT-3.5 A set of models that improve on GPT-3 and can understand and generate natural language and code.
Embeddings A set of models that can convert text into numerical vector form to facilitate text similarity.
DALL-E (Preview) A series of models in preview that can generate original images from natural language.
Whisper (Preview) A series of models in preview that can transcribe and translate speech to text.
Text to speech (Preview) A series of models in preview that can synthesize text to speech.
General
AZURE OPENAI SERVICE – FINE TUNING
MODELS
Fine Tuning:
Is a machine learning process where a pre-trained model is further trained or adjusted on a new, typically smaller
dataset, to specialize or improve its performance on specific tasks. This process leverages the knowledge the
model has gained during its initial training, making it more effective and efficient for particular applications than
training a model from scratch.
Customize a model with fine-tuning
Azure OpenAI Service lets you tailor our models to your personal datasets by using a process known as fine-
tuning.
The following models support fine-tuning:
• gpt-35-turbo-0613
• gpt-35-turbo-1106
• babbage-002
• davinci-002
General
COMPARING AZURE OPENAI AND
OPENAI
Azure OpenAI Service gives customers advanced language AI with OpenAI GPT-4, GPT-3, Codex, DALL-E,
Whisper, and text to speech models with the security and enterprise promise of Azure.
Azure OpenAI co-develops the APIs with OpenAI, ensuring compatibility and a smooth transition from one to the
other.
With Azure OpenAI, customers get the security capabilities of Microsoft Azure while running the same models as
OpenAI. Azure OpenAI offers private networking, regional availability, and responsible AI content filtering.
General
AZURE OPENAI SERVICE – USE
CASES
General
AZURE OPENAI SERVICE -KEY
CONCEPTS
• Prompt: is a text input given to an AI model to elicit a specific response or output, guiding the model's
generation process or decision-making.
• Completion: is the output or response generated by an AI model based on a given prompt, representing the
model's attempt to complete, answer, or extend the input it received.
• Tokens: For text tokens Azure OpenAI processes text by breaking it down into tokens. Tokens can be words or
just chunks of characters. For example, the word “hamburger” gets broken up into the tokens “ham”, “bur” and
“ger”, while a short and common word like “pear” is a single token. Many tokens start with a whitespace, for
example “ hello” and “ bye”.
• Image tokens: The token cost of an input image depends on two main factors: the size of the image and the
detail setting (low or high) used for each image.
• Resources: Azure OpenAI is a new product offering on Azure. You can get started with Azure OpenAI the
same way as any other Azure product where you create a resource, or instance of the service, in your Azure
Subscription.
• Deployments: Once you create an Azure OpenAI Resource, you must deploy a model before you can start
making API calls and generating text.
• Endpoint: Is a URL used to access OpenAI models on Azure, enabling applications to send requests and
receive AI-generated responses via API calls.
• RAG: RAG, or Retrieval-Augmented Generation, is a methodology in natural language processing that
combines the retrieval of relevant documents or data with a generative model to enhance the generation of text.
General
AZURE OPENAI SERVICE – GETTING
STARTED
1. Prerequisites
1. An Azure subscription
2. Access to Azure OpenAI in the selected Azure subscription.
• Currently, you must submit an application to access Azure OpenAI Service. To apply for access,
complete this form
2. Create a resource
3. Configure network security
4. Deploy a model
1. Sign in to Azure OpenAI Studio
2. Choose the subscription and the Azure OpenAI
resource to work with
3. Select Create new deployment and
configure the needed fields
Resources:
Create and deploy an Azure OpenAI Service resource
General
AZURE OPENAI SERVICE – MAKING
CALLS
You can start making calls to your deployed model via:
• From The Language Studio
• Language Studio is a set of UI-based tools that lets you explore, build, and integrate features from Azure
AI Language into your applications.
• Getting started with Language Studio
• Using SDKs
• Getting started with the Azure AI SDK
• Azure OpenAI client library for .NET
• Using REST API
• Azure OpenAI Service REST API
General
AZURE OPENAI SERVICE – MAKING CALLS
(REST API)
Create a completion
POST https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/completions?api-
version={api-version}
Parameter Type Required? Default Description
prompt string or array Optional <|endoftext|>
The prompt or prompts to generate
completions for, encoded as a string, or
array of strings. <|endoftext|> is the
document separator that the model
sees during training, so if a prompt isn't
specified the model generates as if from
the beginning of a new document.
max_tokens integer Optional 16
The maximum number of tokens to
generate in the completion. The token
count of your prompt plus max_tokens
can't exceed the model's context length.
Most models have a context length of
2048 tokens (except for the newest
models, which support 4096).
temperature number Optional 1
What sampling temperature to use,
between 0 and 2. Higher values mean
the model takes more risks. Try 0.9 for
more creative applications, and 0
(argmax sampling) for ones with a well-
defined answer. We generally
recommend altering this or top_p but
not both.
role string Yes N/A
Indicates who is giving the current
message. Can be
system,user,assistant,tool, or
function.
General
Microsoft Semantic Kernel
14
Semantic Kernel is an open-source SDK that lets you easily
build agents that can call your existing code. As a highly
extensible SDK, you can use Semantic Kernel with models
from OpenAI, Azure OpenAI, Hugging Face, and more! By
combining your existing C#, Python, and Java code with
these models, you can build agents that answer questions
and automate processes.
It integrates Large Language Models (LLMs) like OpenAI,
Azure OpenAI, and Hugging Face with conventional
programming languages like C#, Python, and Java.
Semantic Kernel achieves this by allowing you to define
plugins that can be chained together in just a few lines of
code.
What makes Semantic Kernel special, however, is its ability
to automatically orchestrate plugins with AI. With Semantic
Kernel planners, you can ask an LLM to generate a plan that
achieves a user's unique goal. Afterwards, Semantic Kernel
will execute the plan for the user.
General
Q&A

More Related Content

Similar to [DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx

VidyaBhooshanMishra_CV
VidyaBhooshanMishra_CVVidyaBhooshanMishra_CV
VidyaBhooshanMishra_CV
Landis+Gyr
 
On premise ai platform - from dc to edge
On premise ai platform - from dc to edgeOn premise ai platform - from dc to edge
On premise ai platform - from dc to edge
Conference Papers
 

Similar to [DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx (20)

Using Azure Machine Learning Models
Using Azure Machine Learning ModelsUsing Azure Machine Learning Models
Using Azure Machine Learning Models
 
AI services in google
AI services in googleAI services in google
AI services in google
 
IBM Developer Model Asset eXchange - Deep Learning for Everyone
IBM Developer Model Asset eXchange - Deep Learning for EveryoneIBM Developer Model Asset eXchange - Deep Learning for Everyone
IBM Developer Model Asset eXchange - Deep Learning for Everyone
 
Simplifying AI and Machine Learning with Watson Studio
Simplifying AI and Machine Learning with Watson StudioSimplifying AI and Machine Learning with Watson Studio
Simplifying AI and Machine Learning with Watson Studio
 
Cloud computing training | Cloud computing courses
Cloud computing training | Cloud computing coursesCloud computing training | Cloud computing courses
Cloud computing training | Cloud computing courses
 
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated ML
 
Mrithyunjaya_V_Sarangmath
Mrithyunjaya_V_SarangmathMrithyunjaya_V_Sarangmath
Mrithyunjaya_V_Sarangmath
 
VidyaBhooshanMishra_CV
VidyaBhooshanMishra_CVVidyaBhooshanMishra_CV
VidyaBhooshanMishra_CV
 
How .NET Framework Supports Cost-Effective Application Development
How .NET Framework Supports Cost-Effective Application DevelopmentHow .NET Framework Supports Cost-Effective Application Development
How .NET Framework Supports Cost-Effective Application Development
 
For linked in part 2 no template
For linked in part 2  no templateFor linked in part 2  no template
For linked in part 2 no template
 
2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure
 
On premise ai platform - from dc to edge
On premise ai platform - from dc to edgeOn premise ai platform - from dc to edge
On premise ai platform - from dc to edge
 
Microsoft Tech Series 2019 - Azure DevOps
Microsoft Tech Series 2019 - Azure DevOpsMicrosoft Tech Series 2019 - Azure DevOps
Microsoft Tech Series 2019 - Azure DevOps
 
Let's Write Better Node Modules
Let's Write Better Node ModulesLet's Write Better Node Modules
Let's Write Better Node Modules
 
Real Life Azure Functions Architecture
Real Life Azure Functions ArchitectureReal Life Azure Functions Architecture
Real Life Azure Functions Architecture
 
Big Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft AzureBig Data Adavnced Analytics on Microsoft Azure
Big Data Adavnced Analytics on Microsoft Azure
 
Integrating Machine Learning Capabilities into your team
Integrating Machine Learning Capabilities into your teamIntegrating Machine Learning Capabilities into your team
Integrating Machine Learning Capabilities into your team
 
Azure dev ops
Azure dev opsAzure dev ops
Azure dev ops
 
Introducing drie
Introducing drieIntroducing drie
Introducing drie
 

More from DataScienceConferenc1

[DSC MENA 24] Mostafa_Essa_-_Ai_and_cloud.pdf
[DSC MENA 24] Mostafa_Essa_-_Ai_and_cloud.pdf[DSC MENA 24] Mostafa_Essa_-_Ai_and_cloud.pdf
[DSC MENA 24] Mostafa_Essa_-_Ai_and_cloud.pdf
DataScienceConferenc1
 
[DSC MENA 24] Youssef_Kamal - Data governance and quality.pdf
[DSC MENA 24] Youssef_Kamal - Data governance and quality.pdf[DSC MENA 24] Youssef_Kamal - Data governance and quality.pdf
[DSC MENA 24] Youssef_Kamal - Data governance and quality.pdf
DataScienceConferenc1
 
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
DataScienceConferenc1
 

More from DataScienceConferenc1 (20)

[DSC MENA 24] Mostafa_Essa_-_Ai_and_cloud.pdf
[DSC MENA 24] Mostafa_Essa_-_Ai_and_cloud.pdf[DSC MENA 24] Mostafa_Essa_-_Ai_and_cloud.pdf
[DSC MENA 24] Mostafa_Essa_-_Ai_and_cloud.pdf
 
[DSC MENA 24] Yasser_El_Bendary - How NLP & LLMs model can excel in comprehen...
[DSC MENA 24] Yasser_El_Bendary - How NLP & LLMs model can excel in comprehen...[DSC MENA 24] Yasser_El_Bendary - How NLP & LLMs model can excel in comprehen...
[DSC MENA 24] Yasser_El_Bendary - How NLP & LLMs model can excel in comprehen...
 
[DSC MENA 24] Medhat_Kandil - Empowering Egypt's AI & Biotechnology Scenes.pdf
[DSC MENA 24] Medhat_Kandil - Empowering Egypt's AI & Biotechnology Scenes.pdf[DSC MENA 24] Medhat_Kandil - Empowering Egypt's AI & Biotechnology Scenes.pdf
[DSC MENA 24] Medhat_Kandil - Empowering Egypt's AI & Biotechnology Scenes.pdf
 
[DSC MENA 24] Youssef_Kamal - Data governance and quality.pdf
[DSC MENA 24] Youssef_Kamal - Data governance and quality.pdf[DSC MENA 24] Youssef_Kamal - Data governance and quality.pdf
[DSC MENA 24] Youssef_Kamal - Data governance and quality.pdf
 
[DSC MENA 24] Abdelrahman_Ghallab_-_Data_Product_mgmt.pdf
[DSC MENA 24] Abdelrahman_Ghallab_-_Data_Product_mgmt.pdf[DSC MENA 24] Abdelrahman_Ghallab_-_Data_Product_mgmt.pdf
[DSC MENA 24] Abdelrahman_Ghallab_-_Data_Product_mgmt.pdf
 
[DSC MENA 24] Asmaa_Eltaher_-_Innovation_Beyond_Brainstorming.pptx
[DSC MENA 24] Asmaa_Eltaher_-_Innovation_Beyond_Brainstorming.pptx[DSC MENA 24] Asmaa_Eltaher_-_Innovation_Beyond_Brainstorming.pptx
[DSC MENA 24] Asmaa_Eltaher_-_Innovation_Beyond_Brainstorming.pptx
 
[DSC MENA 24] Muhammad_Ezzat_-_Sustianable_Growth_Empowerment.pdf
[DSC MENA 24] Muhammad_Ezzat_-_Sustianable_Growth_Empowerment.pdf[DSC MENA 24] Muhammad_Ezzat_-_Sustianable_Growth_Empowerment.pdf
[DSC MENA 24] Muhammad_Ezzat_-_Sustianable_Growth_Empowerment.pdf
 
[DSC MENA 24] Basma_Rady_-_Building_a_Data_Driven_Culture_in_Your_Organizatio...
[DSC MENA 24] Basma_Rady_-_Building_a_Data_Driven_Culture_in_Your_Organizatio...[DSC MENA 24] Basma_Rady_-_Building_a_Data_Driven_Culture_in_Your_Organizatio...
[DSC MENA 24] Basma_Rady_-_Building_a_Data_Driven_Culture_in_Your_Organizatio...
 
[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf
[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf
[DSC MENA 24] Ahmed_Muselhy_-_Unveiling-the-Secrets-of-AI-in-Hiring.pdf
 
[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...
[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...
[DSC MENA 24] Ziad_Diab_-_Data-Driven_Disruption_-_The_Role_of_Data_Strategy_...
 
[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...
[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...
[DSC MENA 24] Mohammad_Essam_- Leveraging Scene Graphs for Generative AI and ...
 
[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf
[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf
[DSC MENA 24] Ahmed_Fahmy - Navigating the Future.pdf
 
[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...
[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...
[DSC MENA 24] Nezar_El_Kady_-_From_Turing_to_Transformers__Navigating_the_AI_...
 
[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx
[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx
[DSC MENA 24] Amira_Abdelaziz_-_AI_in_Financial_Services.pptx
 
[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...
[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...
[DSC MENA 24] Omar_Ossama - My Journey from the Field of Oil & Gas, to the Ex...
 
[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...
[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...
[DSC MENA 24] Ramy_Agieb_-_Advancements_in_Artificial_Intelligence_for_Cybers...
 
[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx
[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx
[DSC MENA 24] Sohaila_Diab_-_Lets_Talk_Gen_AI_Presentation.pptx
 
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
[DSC MENA 24] Amal_Elgammal_-_QUALITOP_presentation.pptx
 
[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf
[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf
[DSC MENA 24] Abdelrahman_Sleem_-_AI_For_Marketing_DSC.pdf
 
[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx
[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx
[DSC MENA 24] Ahmed_Refaay_- Where to Start Your Data Analytics Journey.pptx
 

Recently uploaded

Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 

Recently uploaded (20)

Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 

[DSC MENA 24] Hany_Saad_Gheit_-_Azure_OpenAI_service.pptx

  • 1. General Unleash AI Power in Your Software: Exploring Azure OpenAI Service
  • 2. General Hany Saad Technology professional with a rich background in software engineering and development field. Currently working as a Custom Development (.Net) TSP at ITWorx. Worked as lecturer and training manager at the Information Technology Institute (ITI), Ministry of Communications and Information Technology, where he contributes significantly to ICT capacity building in Egypt. Worked in other different positions with different organizations through more than 18 years. https://www.linkedin.com/in/hanysaad TSP (Technology solution professional) @ITWorx
  • 3. General Microsoft Azure 3 Microsoft Azure is a comprehensive cloud platform by Microsoft offering services for computing, storage, and networking, enabling users to build, deploy, and manage applications through global data centers.
  • 5. General AZURE OPENAI SERVICE Azure OpenAI Service is a cloud-based platform provided by Microsoft that integrates OpenAI's advanced AI models, including GPT (Generative Pre-trained Transformer), into Azure's cloud services. This service allows developers and businesses to incorporate powerful natural language processing, generation, and understanding capabilities into their applications, leveraging the scalability and reliability of Azure's infrastructure.
  • 6. General AZURE OPENAI SERVICE - MODELS Azure OpenAI Service models Models Description GPT-4 A set of models include GPT-4 and GPT-4 Turbo Preview GPT-3.5 A set of models that improve on GPT-3 and can understand and generate natural language and code. Embeddings A set of models that can convert text into numerical vector form to facilitate text similarity. DALL-E (Preview) A series of models in preview that can generate original images from natural language. Whisper (Preview) A series of models in preview that can transcribe and translate speech to text. Text to speech (Preview) A series of models in preview that can synthesize text to speech.
  • 7. General AZURE OPENAI SERVICE – FINE TUNING MODELS Fine Tuning: Is a machine learning process where a pre-trained model is further trained or adjusted on a new, typically smaller dataset, to specialize or improve its performance on specific tasks. This process leverages the knowledge the model has gained during its initial training, making it more effective and efficient for particular applications than training a model from scratch. Customize a model with fine-tuning Azure OpenAI Service lets you tailor our models to your personal datasets by using a process known as fine- tuning. The following models support fine-tuning: • gpt-35-turbo-0613 • gpt-35-turbo-1106 • babbage-002 • davinci-002
  • 8. General COMPARING AZURE OPENAI AND OPENAI Azure OpenAI Service gives customers advanced language AI with OpenAI GPT-4, GPT-3, Codex, DALL-E, Whisper, and text to speech models with the security and enterprise promise of Azure. Azure OpenAI co-develops the APIs with OpenAI, ensuring compatibility and a smooth transition from one to the other. With Azure OpenAI, customers get the security capabilities of Microsoft Azure while running the same models as OpenAI. Azure OpenAI offers private networking, regional availability, and responsible AI content filtering.
  • 10. General AZURE OPENAI SERVICE -KEY CONCEPTS • Prompt: is a text input given to an AI model to elicit a specific response or output, guiding the model's generation process or decision-making. • Completion: is the output or response generated by an AI model based on a given prompt, representing the model's attempt to complete, answer, or extend the input it received. • Tokens: For text tokens Azure OpenAI processes text by breaking it down into tokens. Tokens can be words or just chunks of characters. For example, the word “hamburger” gets broken up into the tokens “ham”, “bur” and “ger”, while a short and common word like “pear” is a single token. Many tokens start with a whitespace, for example “ hello” and “ bye”. • Image tokens: The token cost of an input image depends on two main factors: the size of the image and the detail setting (low or high) used for each image. • Resources: Azure OpenAI is a new product offering on Azure. You can get started with Azure OpenAI the same way as any other Azure product where you create a resource, or instance of the service, in your Azure Subscription. • Deployments: Once you create an Azure OpenAI Resource, you must deploy a model before you can start making API calls and generating text. • Endpoint: Is a URL used to access OpenAI models on Azure, enabling applications to send requests and receive AI-generated responses via API calls. • RAG: RAG, or Retrieval-Augmented Generation, is a methodology in natural language processing that combines the retrieval of relevant documents or data with a generative model to enhance the generation of text.
  • 11. General AZURE OPENAI SERVICE – GETTING STARTED 1. Prerequisites 1. An Azure subscription 2. Access to Azure OpenAI in the selected Azure subscription. • Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete this form 2. Create a resource 3. Configure network security 4. Deploy a model 1. Sign in to Azure OpenAI Studio 2. Choose the subscription and the Azure OpenAI resource to work with 3. Select Create new deployment and configure the needed fields Resources: Create and deploy an Azure OpenAI Service resource
  • 12. General AZURE OPENAI SERVICE – MAKING CALLS You can start making calls to your deployed model via: • From The Language Studio • Language Studio is a set of UI-based tools that lets you explore, build, and integrate features from Azure AI Language into your applications. • Getting started with Language Studio • Using SDKs • Getting started with the Azure AI SDK • Azure OpenAI client library for .NET • Using REST API • Azure OpenAI Service REST API
  • 13. General AZURE OPENAI SERVICE – MAKING CALLS (REST API) Create a completion POST https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/completions?api- version={api-version} Parameter Type Required? Default Description prompt string or array Optional <|endoftext|> The prompt or prompts to generate completions for, encoded as a string, or array of strings. <|endoftext|> is the document separator that the model sees during training, so if a prompt isn't specified the model generates as if from the beginning of a new document. max_tokens integer Optional 16 The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens can't exceed the model's context length. Most models have a context length of 2048 tokens (except for the newest models, which support 4096). temperature number Optional 1 What sampling temperature to use, between 0 and 2. Higher values mean the model takes more risks. Try 0.9 for more creative applications, and 0 (argmax sampling) for ones with a well- defined answer. We generally recommend altering this or top_p but not both. role string Yes N/A Indicates who is giving the current message. Can be system,user,assistant,tool, or function.
  • 14. General Microsoft Semantic Kernel 14 Semantic Kernel is an open-source SDK that lets you easily build agents that can call your existing code. As a highly extensible SDK, you can use Semantic Kernel with models from OpenAI, Azure OpenAI, Hugging Face, and more! By combining your existing C#, Python, and Java code with these models, you can build agents that answer questions and automate processes. It integrates Large Language Models (LLMs) like OpenAI, Azure OpenAI, and Hugging Face with conventional programming languages like C#, Python, and Java. Semantic Kernel achieves this by allowing you to define plugins that can be chained together in just a few lines of code. What makes Semantic Kernel special, however, is its ability to automatically orchestrate plugins with AI. With Semantic Kernel planners, you can ask an LLM to generate a plan that achieves a user's unique goal. Afterwards, Semantic Kernel will execute the plan for the user.