Generative AI Development Guide for ITDMs
Generative AI Development Guide for ITDMs
Chapter 1
Comparing approaches: Generative AI-enabled software devel-
opment vs standard software development 05
Chapter 2
Five common applications of building with generative AI 07
Chapter 3
Select the right model for your use case 09
Chapter 4
Building a generative AI development team 13
AI engineer
Data professional
Domain SME
Data scientist/machine learning (ML) professional
Chapter 5
Azure AI Foundry: A comprehensive platform 17
Deploy generative AI responsibly with Azure AI Foundry
Integrated data security and privacy
Chapter 6
Key insights and next steps 25
Generative AI: A guide for building your own AI applications 3
Introduction
Executive Summary
Generative AI is transforming organisations and the people who drive them. It
allows software to be more intuitive and helpful, raising employee productivity
and user satisfaction. At the same time, generative AI poses a new set of
challenges and risks.
This e-book delves into the strategic considerations for those who want to build
their own AI applications using foundation and generative AI models, or those
that want to add generative AI to their existing applications. It covers details on
generative AI, offering guidance tailored for ITDMs on harnessing this technology
to fulfil specific business needs and achieve competitive advantages.
Intended audience
This e-book is specifically geared towards IT decision-makers (ITDMs), such as
Chief Technology Officers (CTOs) or Chief Information Officers (CIOs) at companies
of all sizes, including Independent Software Vendors (ISVs), who are interested in
building an AI application using a foundation model.
Below are five types of applications that organisations are building with generative AI. They combine intuitive
interfaces, links to proprietary knowledge bases and enterprise systems:
Add hyper-personalisation
Tailor interactions to individual users at scale. Hyper-personalisation can range from
customising marketing messages and adjusting website interfaces in real-time based on user
actions, to personalising product recommendations at an individual level and enhancing
customer engagement and satisfaction.
Access insights
When important information is scattered across incompatible systems, analysts can spend
hours just assembling the data for routine reports, such as end-of-quarter performance and
prospect profiles. With new agent architecture, organisations are now using generative AI to pull
information from multiple systems, assemble it in standard visualisations and draft a narrative.
This enables analysts to spend their time building and adding value since the computer has
already done the rote work.
Generative AI: A guide for building your own AI applications 9
Model power
Evaluate the model’s computational power and
Small Language Models (SLMs)
sophistication. This determines its capability to handle
complex datasets and produce nuanced outputs. With SLMs, which are trained on smaller
Higher power might be required for intricate tasks, amounts of data with fewer parameters,
impacting operational demands and associated costs. you get the benefit of a model that can work
with limited computing resources, while
Time efficiency/latency allowing for increased specificity. SLMs can
The model’s speed is vital, especially for tasks that be run locally – an advantage for regulated
need fast data processing or instant decision-making. industries and in cases where lag time is
Efficiency not only affects performance but also extremely important – and can be fine-tuned to
influences user satisfaction and operational efficiency. specific tasks and work with narrow context. This
can be an excellent choice for specific industries
looking to complete a specific task. For instance,
Cost effectiveness
a financial services organisation can benefit
Analyse all associated costs, including initial set-up, from SLMs when processing claims but wants to
ongoing operations and maintenance. It’s essential to determine the precise training to use.
strike a balance between the model’s capabilities and
your budget. Learn more about Microsoft’s recent
advancements with SLMs.
Generative AI: A guide for building your own AI applications 10
Groundedness
Azure AI Content Safety-based Prompt-only-based
groundedness groundedness
The model’s generated answers are evaluated Measures how well the model’s generated
based on their alignment with information from answers align with information from the
the source data, such as retrieved documents in source data (user-defined context).
RAG, question and answering, or documents used
for summarisation. The evaluation process flags
output that lacks grounding.
Relevance Coherence
The extent to which the model’s How well the language model can
generated responses are pertinent produce
pr output that flows smoothly,
and directly related to the given reads
r naturally and resembles
questions. human-like language.
Fluency GPT-similarity
How well written and easy to How close the answer is to a user-
understand the answer is. provided ground truth and only
applies when you’ve supplied ground
truth and are using a generative AI
model to compare them.
Generative AI: A guide for building your own AI applications 12
Further details on the roles of domain SMEs and other team members will be explored later in
this e-book, providing deeper insights into the collaborative and dynamic nature of generative
AI development.
Generative AI: A guide for building your own AI applications 13
Building a generative AI
development team
Developing with generative AI requires a hybrid approach – standard software
development blended with AI expertise. Roles like the AI engineer have
emerged to provide this connection between software development and AI.
Overall project Picks the tech Develops the Iterates the Hardens for
lead stack app prompt(s) deployment
AI Engineer
a gene
ing
,
Iterates process-
Builds data r ing, chunking and
pipelines
ld
at
indexing
Bui
Data
ive
ro
Data Pro Science
Validates data Pro Leads evaluation (in
inputs and conjunction with the
m
AI
elopment t
d
Building a generative
AI development
Domain SME team
AI engineer
AI engineers are typically central, orchestrating the AI engineer learning resources
development initiative. Often, they are software
Looking for specific AI engineer educational
developers who have been informally upskilled to fill
resources? Get started with:
this role on the team. Consequently, the AI engineer
assumes the dual role of a leader and an integrator, AI engineer certification path
bridging the gap between AI capabilities and business Azure AI Fundamentals
needs without the necessity to delve deeply into data
Introduction to Azure AI Foundry
science, which is typically handled by data science
professionals. The AI engineer also takes information
from the domain SME and adjusts the application
based on their testing.
Data professional
A critical component of building with generative AI is pulling data from business systems and getting it to the
model. The data professional is the one who builds the pipelines that make this happen safely and efficiently.
Therefore, expertise in the nuances of data sources can be critical to create quality generative AI applications. The
data professional must also navigate the complexities of data privacy regulations to ensure all data collection and
usage comply with legal standards.
Domain SME
The domain subject matter expert (SME) collaborates closely with the AI engineer to ensure precise data collection.
They also continually monitor key performance metrics set by the AI engineer. In generative AI development,
domain SMEs tend to play a bigger role in than in standard software or machine learning because the system
outputs are not easily validated.
Domain SMEs take on the role of evaluating the correctness of responses, which can be time-consuming. Their
role is pivotal in bridging the technical and business aspects of AI implementations. To streamline their input,
domain SMEs can work with the rest of the team to create test prompts and ground truth answers. AI engineers
can then use Microsoft’s automated evaluation metrics to assess the application’s response quality over time and
compare performance across different models.
Generative AI: A guide for building your own AI applications 16
Data scientist/machine-learning
professional Looking for specific AI data
Not every generative AI team has a data scientist, science educational resources?
but they are often present on complex and business-
Get started with:
critical projects. The data scientist plays an advisory
role, responsible for developing formalised test plans Microsoft Certified: Azure Data
and setting evaluation criteria, which alleviates some of Scientist Associate
the domain SME’s workload.
Azure AI Foundry:
A comprehensive platform
Organisations need tools that simplify AI development,
allowing them more time to focus on big-picture
business needs. Azure AI Foundry, Microsoft’s McDonald’s China transforms
generative AI platform, is designed to democratise its operations, elevates service
the AI development process for developers, bringing levels with Azure AI
together the models, tools, services and integrations
necessary to begin quickly and efficiently developing What was their goal?
your own AI applications. McDonald’s China needed to level up their
customer service, quality and operations
to accommodate the growing number of
locations and the rapid pace of innovation.
87% They needed a way to adhere to their
brand mission through increased digital
of organisations believe that AI will give
transformation.
them a competitive edge1
How did they achieve it?
66% With the support of Microsoft, McDonald’s
of surveyed board members report pressure China established the AI Lab, allowing
to accelerate AI adoption2 them to integrate AI into their existing
operations, predominately by leveraging
large language models (LLMs).
Learn more
Learn more
Generative AI: A guide for building your own AI applications 19
provide substantial value to users The platform facilitates the scalable deployment of
models, flows and apps, incorporating continuous
include:
monitoring and fine-tuning capabilities within a secure
Responsible AI tools and best practices: and governed environment. Organisations can scale
Azure AI Foundry empowers developers to safely, their AI solutions as needed without compromising
securely and responsibly innovate and shape the future on security or performance, providing developers with
with AI. The comprehensive platform accelerates the a flexible and robust infrastructure and ensuring that
development of production-ready agents to support users enjoy consistent, reliable AI services.
enterprise chat, content generation, data analysis and
more. Developers use their protected data to build
custom models and solutions with collaborative, The centralised nature of the Azure AI
responsible AI tools and best practices. Foundry platform provides a collaborative
development environment so generative
API and model choice:
AI teams can efficiently work together
Users can access and deploy the latest models as and stay in sync. Azure AI Foundry helps
APIs, facilitating rapid, serverless and fine-tuned users build AI solutions faster with prebuilt
model deployment. This reduces development time capabilities and templates to ultimately
and resource costs, accelerating time to market for accelerate solution development.
developers and providing end-users with state-of-the-
art AI capabilities quickly. The Assistants API makes it
easier for developers to create automated applications
with sophisticated, agent-like experiences that sift
through data, suggest solutions and automate tasks
using advanced tools like code.
Complete AI toolchain:
Azure AI Foundry offers tools to ground models on
specific data, orchestrate complex AI workflows and
evaluate model outputs for quality and safety, ensuring
robust end-to-end management. Developers find it
easier to integrate and manage AI projects, enhancing
productivity and operational efficiency, while users
experience more reliable and effective AI applications.
Generative AI: A guide for building your own AI applications 20
Evaluation and Monitoring in Azure AI Foundry: In addition to mitigating problematic inputs and outputs,
developers can continuously measure the effectiveness of their mitigations during development and in production
environments using pre-built evaluation and monitoring metrics for risks and safety. As data and user behaviour
change over time, these measurement tools help developers and domain SMEs understand their application’s
behaviour and intervene quickly when performance degrades or an end user is attempting to manipulate the
application to behave outside its prescribed purpose.
Security: Microsoft provides the multi-layered security backbone of your applications, using built-in security
controls and unique threat intelligence to help identify and secure against evolving threats.
A focal point of Microsoft security is Microsoft Defender for Cloud – Microsoft’s cloud-native application
protection platform (CNAPP) – which provides comprehensive security to proactively mitigate risks and identify
threats to AI applications from code to cloud.
Safety system message: Steer your model’s behaviour towards safe, responsible outputs using system message
templates developed by Microsoft Research.
Safety evaluations: Assess an application’s vulnerability to jailbreak attacks and content risks using your own test
dataset or a test dataset generated with AI assistance.
Risk and Safety Monitoring: Understand what model inputs, outputs and end users are triggering content filters
to inform mitigations.
System message and grounding layer: This is where retrieval augmented generation (RAG) comes in. Instead
of using the model as a source of information, the model serves as a reasoning engine over data sources that
are relevant to the query. The system message helps guide the model to use grounding data effectively and
can help steer overall behaviour for more predictable, responsible model outputs.
User experience layer: At this level, there is a litany of user-centred interventions, guidance and best practices
that can be provided to users to ensure that the system is used as intended.
These enhancements to Azure AI Foundry’s safety features demonstrate Microsoft’s commitment to responsible
AI, ensuring that your applications are not only effective but also align with the highest standards of data integrity
and security.
Learn more
Generative AI: A guide for building your own AI applications 24
Vulnerability management