Unlocking Growth - Introduction to GenAI - Part 2 of 2
rvkoushik
50 views
24 slides
Sep 12, 2024
Slide 1 of 24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
About This Presentation
Unlocking Growth - by the power of AI and Generative AI
Size: 3.45 MB
Language: en
Added: Sep 12, 2024
Slides: 24 pages
Slide Content
WwW N i
Growth
enerative Al
tion to if
RI: Real Intelligence
Diving into the Technical Nuances of Al
Artificial intelligence is a machine’s ability to perform some cognitive
functions we usually associate with human minds.
The evolution of artificial intelligence
Artificial intelligence
The science and
engineering of Machine learning
making intelligent Amajor
machines breakthrough Deep learning
in achieving Al An advanced
branch of machine
learning
Alis the broad field of | Machine learning Deep learning uses neural
developing machines | algorithms detect networks, inspired by the
that can replicate patterns in large ways neurons interact in the
human behavior, data sets and learn — [human brain, to ingest data
including tasks related | to make predictions — [and process ft through
to perceiving, by processing data, | multiple iterations that learn
reasoning, learning, rather than by increasingly complex
and problem-solving. receiving explicit features of the data and
programming make increasingly
instructions. sophisticated predictions.
How does GenAl work?
WHAT IS
GENERATIVE Al?
VISUALLY EXPLAINED... BY GENERATIVE Al
ChotGPT, DALL-E. MidJourney, DeepMind—generative Al technologies
hove exploded into mainstream consciousness. With access to these
technologies increasing doy-by-doy. we asked Al to help demonstrate
the power ond influence of this new tech trend
How does GenAl work?
+ Generative Al, or generative artificial intelligence, refers to a class of algorithms
and models designed to generate new content that is similar to, but not identical
to, existing data. One of the most popular types of generative Al models is based
on deep learning, particularly using architectures like Generative Adversarial
Networks (GANs) or Variational Autoencoders (VAEs). Here's a simplified
explanation of how generative Al works:
+ Training Data
+ Lot of data on the topic (examples can be on cats, space travel or poems)
+ Architecture
+ Generative Adversarial Networks (GANs) consist of two neural networks - a
generator and a discriminator.
+ Training Process:
The generator starts with random noise and creates synthetic data.
The discriminator is trained to differentiate between real and generated
data.
The generator is trained to improve its ability to produce data that the
discriminator cannot easily distinguish from real data.
This adversarial training process continues iteratively, with the generator
and discriminator improving their capabilities over time.
How does LLM work?
Large Language Models (LLMs) are a type of artificial intelligence model that has
been trained on vast amounts of text data to understand and generate human-like
language. Few of the most prominent examples of LLMs is the GPT (Generative Pre-
trained Transformer) series, ChatGPT, Google Bard, Anthropic Claude 2 and XAl's Grok
Architecture - Transformer Model - This is proven to be effective for NLP Tasks
Attention Mechanism - Paying attention to different parts of input
Pre-training and Fine-tuning - Corpora for pretraining and domain for fine tuning
Tokenization - Text is tokenized into smaller units
Layers and Parameters - Layers of transformers with parameters
Contextual Embeddings - These are used in output as parameters
Inference - Next word prediction
Adaptability - Various natural language understanding - translation, q&a, summary -
without a need to change architecture
| Large Language Models (LLM) |
ES oF
Massive Dataset Deep Learning Transformer Architecture
+ Light LLMs can support use cases where massive (or heavy) LLMs are
infeasible.
+ Open-source LLMs are deep-learning foundation models distinguished by the
terms of use, distribution granted to developers and the developers’ access to
the source code and model architecture.
+ Multistage LLM chains are libraries that connect different LLMs to complete
multiple tasks.
+ Model hubs are repositories that host pretrained and readily available machine
learning (ML) models, including generative models.
+ Diffusion Al models are generative models that use probabilistic variation to
add noise to data and then reverse the process to generate new samples of
data.
+ Al models as a service (AlMaaS) provide Al model inference and fine-tuning
and are offered as a consumable service by cloud providers.
Theme 2: Model preference and Al Safety
+ User-in-the-loop Al (UITL) is a workflow that requires users to be looped into any
stage of the Al system development pipeline.
+ Hallucination management refers to managing incidents when LLM-generated
content is nonsensical or blatantly factually incorrect.
Retrieval-augmented generation (RAG) is an architecture pattern that combines a
search function with a generative capability to ground the output from generative
completions.
* GenAl extensions are tools that augment the capabilities of GenAl models by
giving the models the ability to retrieve real-time information, incorporate
business data, perform new types of computations and safely take action on a
user's behalf.
+ Prompt engineering tools provide inputs, in the form of text or images, to GenAl
models to specify and confine the set of responses the model can produce.
+ Provenance detectors identify whether text, audio or video content was produced
using GenAl.
Theme 3: Model build and data related
+ Knowledge graphs (KGs) are machine-readable data structures that represent
knowledge of the physical and digital worlds, including entities and their
relationships, which adhere to a graph data model.
+ Multimodal GenAl models allow multiple types of data inputs and outputs, such as
images, videos, audio, text and numerical data, within a single generative model.
+ Al-generated synthetic data is a class of data that is often derived and
extrapolated from a set of real data but is artificially generated rather than
collected from real-world events.
+ Scalable vector databases provide vector (semantic) search capability and are
used in conjunction with LLMs to apply the model's ability to respond to natural
language with information that is custom or specific to an enterprise or domain.
+ GenAl engineering tools enable enterprises to operationalize models faster,
balancing both governance and time to market.
Theme 4: Al-enabled applications
Simulation twins leverage the best of digital twins and what-if of Al technologies.
GenAl-native applications consist of software designed with GenAl technology and
capabilities at its core.
Workflow tools and agents are functions that agents (Al programs/algorithms) can use to
interact with the world.
Embedded GenAl applications are existing software applications that have been enhanced
by embedding GenAl capabilities to improve on existing use cases or deliver new ones.
Al molecular modeling uses simulation techniques to rapidly test a wide range of
potential treatments by modeling how different compounds will bind and interact with
target molecules.
Multiagent generative systems (MAGs) fuse computational software agents and LLMs to
simulate an environment of complex multiagent system behaviors and interactions.
Al code generation uses LLMs to generate code based on prompt instructions a user
submits.
GenAl-enabled virtual assistants (VAs) represent a new generation of VAs that leverage
LLMs to deliver superior functionality.
Prompts Powerhouse
Your Ultimate Reference Library for Generative Al
Indicative Productivity Y
Planning
+ Task Planning: ‘Please help me create a detailed plan for completin
(specific task or project) by [deadline] sl PRODUCTIVITY
Time Management: ‘Provide me with a daily schedule or time-
blocking plan to optimize my workday, balancing tasks and breaks." y
Problem Solving: "Help me brainstorm solutions for the issue I'm
facing in [describe the problem or challenge]."
Research Assistance: "Find and summarize key information on O
[topic] from reliable sources, including relevant statistics and recent
developments.”
ay %
+ Content Generation: "Generate a draft for a blog
post/article/presentation on (topic), including a clear outline and o
main points.
+ Email Composition: Compose a concise and professional email eng tee
response to (specific email or inquiry), highlighting key information
and addressing concerns."
Code Debugging: “Assist me in debugging the code for (specific
programming issue), explaining the errors and suggesting fixes."
Learning Aid: "Create a study guide or summary for (subject or
course]. covering essential Concepts, key equations, and important
references.
N
Innovation and” ™
Research (Role Play) \
Product Design Brief: You are a product designer. Assist I
me in creating a design brief for a new [insert product),
including features, target audience, and design
considerations.
Innovation Challenge Facilitation: You are an innovation
expert. Guide our team through an innovation challenge
to improve [insert product/service], are
brainstorming exercises, idea evaluation, and prototyping
guidance.
Innovation Research: You are an expert researcher.
Conduct research on [insert technology, trend, or
innovation) and provide an overview, Current
applications, challenges, and future potential.
Product Innovation Workshop: You are an innovation
facilitator. Guide our team through a virtual workshop to
INNOVATION AND RESEARCH brainstorm new features for our [insert product/service).
Include creative exercises and prompts.
Market Research Survey: You are a market researcher.
Design a survey to gather insights about consumer
preferences in our [insert industry}. Include questions
hat will help us understand their needs and pain points.
Innovation and ideation workshops are designed to stimulate creativity, foster collaboration, and generate actionable ideas. Here are actionable
[Prompts that can guide these sessions:
“imagine a specific customer persona [define persona) using our product/service in 2030. What are their needs, challenges, and dires?"
“Describe a world in 2035 where renewable energy sources are the only power options. What new products or services are in demand?"
"Ust and explain five unique functions a futuristic ‘smart wallet could have beyond just holding money”
“Merge the concepts of healthcare and augmented realty (specify concepts). What innovative applications might emerge?”
“Outline a users experience journey when fist interacting with a virtual shopping assistant (specify product feature) powered by Al”
“i Company X and Company Y (pick two leading companies in different sectors) collaborated, what innovative product might result?"
“Propose a business model for (specific industry or brand] that ensures ethical sourcing, environmental responsibilty. and community
empowerment”
“if you were a competitor to our company. what revolutionary product or service would you introduce to challenge our market dominance?”
“if we were our main competitor, how would we approach (describe challenge) differently?"
Prompts for disruptive
thinking
+ Industry crossover: "How would our business operate if it were run by
leaders from a completely unrelated industry (eg. aerospace, fashion, or
gaming)?"
+ Extreme constraints: "If our budget were cut by 80% but we still had to
meet our objectives, how would we do it?"
+ Elimination exercise: "What if our primary product/service no longer
existed? How would we adapt and still serve our customers?"
+ Reverse assumptions: ‘List all the assumptions about our industry. Now.
what would it Look like if the opposite of each assumption were true?”
+ Customer redefinition: "If our primary target audience suddenly became
[choose a different demographic, eg. seniors, children, or rural
populations]. how would our product/service change?"
* Function overhaul: "What if our product/service could only perform one
primary function? Which one would it be, and how would it transform its
use?"
Historical inspiration: "How did companies in our industry operate 50 or
100 years ago? Are there forgotten practices or tools that could be
reinvented with today's technology?”
Futurecasting: It's the year 2050. What are the potential challenges our
industry will face, and how can we preemptively address them now?"
+ Tech infusion: "How would our business change if we integrated the latest
(Al. AR, VR, blockchain, etc.) technologies into our core offerings?”
u tee
1110100011001 10 111
1100 100111 0000116
001100 010010000001 o
0100 010001101001 110
101100 o m 11000
0000001110100 1 N
0101 1100 1 0 o \
1001001100 0 1 Jon
011 01000111 à 4
011010010 11 mo 010
10101100 110000
00°00 110100 m 1
01011011100 1 0 oni
100100117 001101
y no
voor
1
Coding prompts,—
Review prompts
Generate a basic Python function to calculate the factorial of a nurbell,
“Can you write a JavaScript function to sort an array of objects by a
property?"
“Show me how to create a RESTful API endpoint in Node.js Express.”
"Generate a basic Java class that models a car with properties like mall
model. and year.”
“Create a PHP function that validates an email address based on a
specific regex pattern.”
“Can you write a Python script to scrape data from a website and save it
toa CSV file?”
Can you review this Python script for any potential bugs or
optimizations?”
“Is this JavaScript code following best practices?”
+ “Review my PHP code for SQL injection vulnerabilities.”
“Can you review this HTML/CSS code and provide feedback on its
structure and styling practices?”
‘Ive written a JavaScript function for form validation. Can you review it
for any potential security vulnerabilities?”
“Review my Java code for a binary search algorithm and suggest any
optimizations or improvements.”
Networking and security
-ML&AI
Analyze the given network architecture or design for potential
security vulnerabilities: (architecture or design description).
Write a secure (language) function or module that performs (specific
task or operation] while preventing (security threat or vulnerability).
Suggest improvements to the following (language) code or
See to enhance its network performance or security: (code
snippet).
Design a secure and efficient protocol for (specific use case or
application).
Evaluate the security of the given (language) code or configuration
when interacting with [external service or API]: (code snippet).
Suggest a machine learning algorithm or model to solve the '
problem: (problem description]
Improve the performance of the given machine learning model for
(specific use case): (model or code snippet]
Design a machine learning pipeline for a (domain) application that
includes (data preprocessing, feature extraction, model training, and
evaluation).
Propose a deep learning architecture for (specific task or operation)
considering (constraints or requirements,
Gemini Samples - |
Prioritizing Your Day
+ Prompt: “Analyze my Google Calendar for today. Create a
prioritized task list, considering deadlines, estimated time for
completion, and any notes attached to events.” X
Smart Email Management
+ Prompt: “Summarize the key points from my unread emails
and categorize them into urgent, follow-up, and low-priority.” e
Meeting Agendas and Notes
+ Prompt: "For my meeting titled (Meeting Name), create a
detailed agenda including discussion points from the previous
meeting's notes and any relevant open tasks.” >
Research Assistant
+» Prompt: “Research (topic). Provide a summary of the key
concepts, identify reliable sources, and compile a list of
opposing viewpoints.”
Optimized Workflow
+ Prompt: “Analyze my work patterns over the past week.
Identify any recurring time-consuming tasks and suggest
ways to automate or optimize them.”
Gemini Samples - Il
Project Management
+ Prompt: ‘For the project titled (Project Name), create a detailed
task breakdown with estimated timelines. Flag potential
roadblocks and suggest resources to mitigate risks.”
Personalized Learning Plan
* Prompt: “| want to improve my (skill). Create a learning plan that
includes online courses, recommended reading materials, and
practice exercises tailored to my current knowledge level.”
Content Ideation
+ Prompt: “Generate 10 blog post titles on the topic of (topic). Make
sure they are engaging, keyword-rich, and suitable for my target
audience.”
Editing and Proofreading
+ Prompt: “Proofread this document for grammar, punctuation,
and clarity. Suggest ways to improve sentence structure and
word choice for a more professional tone.”
Travel Planner
* Prompt: ‘I'm planning a trip to (location) from (start date] to (end
date). Create an itinerary including popular attractions, dining
recommendations, and transportation options.”
ChatGPT Prompts
for SEO
Write a 150-character max meta description on (topic). (
paste the article's introduction so ChatGPT can pull from it.
y and
Write five FAQs with answers using these keywords [insert keywords].
Write 10 subheadings for a blog post titled (title).
Write schema markup with JSON and HTML code for the following,
(questions/topics/recipes).
Generate a list of at least 20 keywords related to (topic).
Summarize this article about X and link to it. (Insert article),
Create a keyword list for my SEO agency around {topic word or
phrase) and cluster the lst based on the sales funnel. from top to
bottom of the funnel keywords.
Create a list of high-authority websites in (industry).
List all the long-tail queries related to (keyword)
Create an outline for an article about (topic). The brand voice is
[description]. Start with (first section idea), then go into [second
section idea), then finish with (last section idea).
Generate hreflang tags for a web page targeted to [country] in
(language)
Create an XML sitemap including these urls (URLs).
Create a code to use the Google Search Console AP! to index all of my
webpages, not just a sample of 1.000.
7
CHatGPT Prompts for
Social Media Marketing
Structure an attention-grabbing Instagram carousel post
highlighting [insert brand/product features)
Create a Twitter thread featuring tips and tricks for (insert topic).
Include this information: (insert information).
Write a Facebook post inviting followers to share (topic).
Craft a short Linkedin post about [topic/keyword). Use this
supplementary information: (insert a paragraph here).
Create a Pinterest pin description dedicated to [topic] and
(features).
Create (number) Linkedin polls about [insert topics).
Write a short social media post for (social media channels)
explaining our holiday hours are (insert times) but letting people
know they can shop online.
Generate (number] post ideas for (social media platforms] for a
[company industry] company, focusing on [company-related
topics). Create (number) Pinterest board ideas for a [company
type) company.
Write a [social media channel] post sharing this inspirin;
customer success story and how our (product or service) made a
positive impact: [insert customer story).
Develop a series of Linkedin posts sharing industry insights and
thought leadership on emerging marketing trends in (topic).
Here's a list of trends to get Started [trends list).