AI Product Management - Complete Course - 3.5 hours - Masterclass | AI Agents, RAG, Evals, LLMs. — Transcript
Full transcript
- 0:00If you are someone who's looking to get
- 0:02into AI product management, then this is
- 0:04a mustwatch video for you. Few days ago,
- 0:07I conducted a free master class for
- 0:09above 500 people who joined this session
- 0:12and then they were able to understand
- 0:14how AI product management is done. Now
- 0:17I've decided to make this video
- 0:19available for everyone so that everyone
- 0:20can take the benefit. My only request is
- 0:22that before you go ahead and start
- 0:24watching this video, keep a notebook and
- 0:26pen with you so that you are able to
- 0:28take notes and have your full attention
- 0:30in the session. I'm sure this is going
- 0:32to help you out and if it helps, go
- 0:34ahead and let me know in the comments.
- 0:36Thank you and happy learning.
- 0:40So, we have divided this two-day master
- 0:42class into three components. The first
- 0:46component is geni fundamentals where
- 0:48we'll talk about the geni value tech
- 0:50types of AIPM and nature of large
- 0:51language models. Then we will talk about
- 0:54inside EIPM. We'll talk about context
- 0:56engineering, rag, prompt engineering,
- 0:57finetuning, AI agents and AI events.
- 1:00Even if you're not able to understand
- 1:01anything right now, it is my promise
- 1:02that by the end of tomorrow, you should
- 1:04be able to understand these topics. And
- 1:06then we are going to talk about giving
- 1:08you actual examples how products such as
- 1:10chat, PR, granular, gamma, AI, notebook,
- 1:13LM are actually built. Right? So this is
- 1:16going to be the session agenda for these
- 1:18two days.
- 1:20And the motivation or the purpose of
- 1:22this session is not to make you an
- 1:24expert in AI product management because
- 1:26that cannot happen in 4 hours. But the
- 1:28motivation of this session is to make
- 1:30sure that you feel motivated
- 1:33after completing these sessions that yes
- 1:36I have a clear road map. If I can learn
- 1:39this much I can also go ahead and learn
- 1:41and explore the entirety of AI product
- 1:44management. So this is to give you the
- 1:45confidence so that you are able to get
- 1:47started. Right? And tomorrow and today
- 1:49and in today's session I'm going to ask
- 1:51you in the end that
- 1:53whether you are feeling feeling
- 1:54motivated after the session or not right
- 1:58now
- 2:02let's talk about the Gen AI revolution.
- 2:05Right? The companies that you are seeing
- 2:08on the screen, they are now among the
- 2:12world's most valuable companies and many
- 2:14of these companies have able to get this
- 2:17kind of amazing transition just after
- 2:212022.
- 2:23So from 2022 to 2023,
- 2:26this company Open AI has got a valuation
- 2:30of 500 billion. This anthropic company
- 2:33which was not existing few years ago now
- 2:35has a valuation of $183 billion and then
- 2:38we have something called as XAI Elon MRI
- 2:41which has the valuation of $200 billion.
- 2:44Not only the new companies are doing
- 2:46well
- 2:48but the older companies which are
- 2:50betting on AI as a revolution which is
- 2:52Microsoft has gone from so Microsoft was
- 2:55founded in
- 2:59Yes. Microsoft
- 3:02was founded in about 1980s 1983 and from
- 3:06then to 2021 they were able to get a
- 3:09market cap of 1.8 trillion but in the
- 3:12last 3 years they have grown from 18.8
- 3:14to 3.8 almost twice increase. Similarly
- 3:18Google after betting on AI they have
- 3:19grown their valuation almost 2.5x
- 3:23similarly meta has grown too much from
- 3:260.3 billion or 300 billion to 1.8 8
- 3:29trillion and then Nvidia which is the
- 3:31most
- 3:33which is the company which has most
- 3:34benefited from this AI revolution it has
- 3:37gone almost 10x of their valuation right
- 3:40and then we have also seen some very new
- 3:42age companies which are actually created
- 3:44in this period only so ker the company
- 3:47did not existed few years ago is now
- 3:49worth $9 billion glean is worth $7
- 3:52billion 11 labs is worth $6 billion and
- 3:55perplexity is is worth $15 billion
- 3:59So now there is a sharp change that has
- 4:02happened in the market recently because
- 4:05of which people are able to understand
- 4:06that there is this new technology called
- 4:08Genai which can go ahead and do so many
- 4:11things together. Okay, but understand as
- 4:14many people have predicted this can well
- 4:16be a bubble. So how do you check if
- 4:18something is a bubble or not? It might
- 4:19be possible that all of these companies
- 4:21are overvalued in some of the other way.
- 4:24But let me ask you a very honest
- 4:25question. Okay, everyone go ahead and
- 4:28answer me in the chat.
- 4:30When was the last time that you have
- 4:31used chat GP and Gemini?
- 4:42Yeah, I'm sure for many of you your one
- 4:44of the tab is chat GP right now.
- 4:58Yes. Cool.
- 5:01Right. So, understand there have been
- 5:04many technologies that have came and
- 5:06gone. For example, there was a
- 5:10uh there was a revolution on blockchain,
- 5:12there was a revolution on
- 5:13cryptocurrency, there was a revolution
- 5:15on NFTs. Although you were listening
- 5:17about all of these things on news on
- 5:20multiple websites and Twitter but they
- 5:23could not become a part of your daily
- 5:25life right so the verdict is that it
- 5:29might be possible that these things that
- 5:31we are talking about the valuation and
- 5:32all these could be larger than life
- 5:34valuation that is completely possible
- 5:36I'm not disagreeing with that but we
- 5:38also have to understand that genai is a
- 5:40technology that has been able to prove
- 5:43itself that it is actually very helpful
- 5:46Because technology if it is only
- 5:49increasing the valuation that might mean
- 5:50that yes it could be a bubble but if it
- 5:53is generally helping you in your daily
- 5:54life then it just means that it is just
- 5:56a matter of time that we are able to
- 5:58find its relevant use cases and utilize
- 6:00it for work and more of our personal
- 6:02life right but how has it happened like
- 6:06what is there in the genai revolution so
- 6:08understand the genai revolution has
- 6:10happened because of a innovation in
- 6:13technology which is called as large
- 6:16language model. Okay. So what is a large
- 6:18language model? A large language model?
- 6:21A large language model is a neural
- 6:24network trained on massive amounts of
- 6:26text to learn patterns in language
- 6:28enabling it to understand, generate and
- 6:30reason with natural language by
- 6:32predicting the next more likely most
- 6:34likely word or token in the context.
- 6:37Right? This is the Wikipedia definition
- 6:39of large language models. But what
- 6:41exactly is a large language model? Let
- 6:43me go ahead and tell you. Please
- 6:44everyone focus on the session super
- 6:46important part.
- 6:48Yes. So we are talking about
- 6:54large
- 6:55language
- 6:57model.
- 7:00So a large language model is
- 7:03it is kind of a code
- 7:06or an algorithm.
- 7:09It is kind of a code or algorithm or a
- 7:11piece of technology
- 7:13that is very good at predicting the next
- 7:16word in the sequence. That is get very
- 7:19good in predicting the next word of the
- 7:22sequence.
- 7:25Right? For example, I just take this
- 7:28sentence.
- 7:35I will take this sentence. I will
- 7:38increase the size.
- 7:45Right? So let's say if I enter
- 7:51this particular thing to a large
- 7:53language model, if I tell a large
- 7:54language model that a large language
- 7:56model is a then it is going to return me
- 8:00neural. It is going to return to me the
- 8:02next word. If I give it a complete
- 8:05sentence that a large language model is
- 8:07a neural then it is going to return me
- 8:10network and then I will keep on
- 8:12iterating so that I'm able to get the
- 8:14complete sentence. So what is a large
- 8:16language model? Large language model is
- 8:21the next
- 8:24word or token predictor.
- 8:30And when you do this repeated number of
- 8:32times, you get the complete sentence,
- 8:35the complete book, the complete essay,
- 8:36the complete summary. Right? So this is
- 8:40the basic fundamental how a large model
- 8:42works. You give it some sentence and
- 8:44complete sentences. It will try to
- 8:46complete it. And how this how does it
- 8:48completes it? Let me go ahead and tell
- 8:50you. Okay. So understand first of all if
- 8:53you guys are able to observe I have
- 8:54written token in the bracket. So what
- 8:57happens is
- 8:59whenever you give a word to a large
- 9:02language model. Okay. So let's say I
- 9:03give a word to language model that
- 9:06he lives
- 9:09near the
- 9:12river bank.
- 9:16He lives near the river bank. Okay. So
- 9:20large language model is a machine. It's
- 9:23an algorithm. It's a code.
- 9:26it will not be able to understand what
- 9:28are these exact words. In order to make
- 9:31sure that the machine is able to
- 9:32understand everything, what we do is
- 9:36we convert this into numbers. So in
- 9:38order to make sure that the machine is
- 9:40able to understand things efficiently,
- 9:42we convert these into numbers. These
- 9:44numbers are called as tokens.
- 9:47Let me show you how it works. So I'll go
- 9:50to a website called as tick tokenizer
- 9:53where if I write this sentence
- 9:58the sentence is
- 10:01he lives near the
- 10:05river bank right now the large language
- 10:09model has converted this
- 10:14the large language model has converted
- 10:16this into these tokens. So these are the
- 10:19tokens
- 10:21right? Every model can generate
- 10:24different kind of tokens. Every model
- 10:27has different kind of combination of
- 10:28tokens. Okay. The tokens are generated
- 10:31to make sure that the large language
- 10:34model is able to efficiently utilize its
- 10:36memory and context because numbers are
- 10:39easier to interpret for machines rather
- 10:41than the words.
- 10:45Right? And in total in English language
- 10:48we have around 26 alphabets and we would
- 10:52have so many maybe millions of
- 10:54applications, millions of spellings,
- 10:56right? Vocabulary. In GPT4 we have 100k
- 11:02tokens,
- 11:05right? So what is a token? Token is a
- 11:07numerical representation of your text.
- 11:11Token is a numerical representation of
- 11:13your text. Right. And at a high level,
- 11:18three words in English is equal to sorry
- 11:24at a high level in English
- 11:26two words are equal to three tokens
- 11:32at a high level like not this is not
- 11:34completely true in all the cases but for
- 11:36most of the times on an average two
- 11:38words is equal to three tokens. Why
- 11:40tokens are important? to understand if
- 11:42you go to any of these application let's
- 11:44say let's understand open AI pricing
- 11:48so if you look at pricing of any of
- 11:50these models you'll be able to
- 11:52understand that they work on tokens
- 11:55how many tokens are input how many
- 11:57tokens are generated how many tokens are
- 11:59cashed
- 12:01right so for every 1 million tokens that
- 12:03you give to charge GP it is going to ask
- 12:05you for the input it is going to take
- 12:07$1.25 $25 from you. Right? So what is a
- 12:10token? Token is a
- 12:13conversion of your words
- 12:16into mathematical numbers so that the
- 12:19model is able to understand them very
- 12:21very efficiently.
- 12:23Right? How many tokens are possible in a
- 12:26model is called as
- 12:29the vocabulary
- 12:33size of the model.
- 12:37How many tokens are possible in a model
- 12:40is called as the vocabulary size of the
- 12:44model.
- 12:46Right? So this is
- 12:50this is called as
- 12:53the tokenization. Right? Now what
- 12:56happens the purpose of an LLM is that if
- 13:00you give it a set of tokens let's say 1
- 13:022 3 4 5 it will try to predict what is
- 13:05the next token then if you run it again
- 13:09then this becomes your full sentence up
- 13:12to six then it will generate seven and
- 13:15then you have new sentence 1 to 7 and
- 13:17then it will generate eight. So it is
- 13:19going to go ahead and complete the
- 13:20sequence. Right? That is at the most
- 13:24fundamental level how large language
- 13:26models work.
- 13:29Right?
- 13:31Everyone a quick yes or no if you're
- 13:32able to understand everything so far.
- 13:36A quick yes or no before I could go
- 13:38ahead.
- 13:42Wonderful. Great. Now let me go ahead.
- 13:46But this is a simple explanation. But
- 13:48how does it happen? How does it
- 13:49predicts? Okay. So what happens is
- 13:55this is how
- 13:57a large language model works. Okay. So
- 13:59there are three stages. Whenever you we
- 14:01create
- 14:03whenever we create
- 14:07a large language model,
- 14:10we use these three stages. Every large
- 14:13language model is created by going
- 14:15through these three stages. The first
- 14:17stage is called as a pre-training stage.
- 14:22The second stage is called as the
- 14:24training stage. And the third training
- 14:25is called as a post
- 14:28training stage. Right? So in the
- 14:31pre-training state, understand what
- 14:32happens is
- 14:35the models are able to predict the next
- 14:37token very accurately
- 14:39because they are very good with pattern
- 14:42recognition. So what we do is we need to
- 14:45train this model on a lot of data. We
- 14:48need to train these models on a lot of
- 14:50data. Okay. But before that let me tell
- 14:54you let me help you understand why this
- 14:56data is necessary. Okay. So how many of
- 14:58you
- 15:02can tell me what is this?
- 15:06Tell me in the chat what is this
- 15:10guys? Go ahead and tell me in the chat
- 15:12what is this?
- 15:21Wonderful. That means you guys have
- 15:25studies in the uh in the elementary
- 15:28mathematical classes, right? So y= mx is
- 15:32nothing. It is a very simple equation.
- 15:35It is the equation of a line. any
- 15:37straight line. This is y-axis. This is
- 15:39x- axis. This is the slope and maybe
- 15:43this is the intercept.
- 15:50Right? So this is a simple equation that
- 15:53is y = mx + c. Right? Now if I want to
- 15:57know
- 15:59what is the value of y at this value of
- 16:03x. If I want to know what is the value
- 16:07of y at this value of x. So x is the
- 16:10input
- 16:12and y is the output.
- 16:17So now if I want to know what is the
- 16:19value of x at this what is the point of
- 16:22y at this value of x because there are
- 16:25two things right now I might not be able
- 16:28to understand because there are two
- 16:30parameters which are unknown to me I
- 16:32will not be able to understand but what
- 16:34if I already know two values of input
- 16:37and two values of output so let's say
- 16:39somehow I was able to find
- 16:42that if x were our one if x is equal to
- 16:461 then y = 2 and when x =0 then y = 1.
- 16:56Right? So let's say somehow it is given
- 16:57to me
- 17:00that this is true. This is called as
- 17:03training data. Training data is
- 17:04something where the output and the input
- 17:07is known to me. Right? Right now what
- 17:11I'll do is I will try to find out the
- 17:13value of m and c. So y = mx + c. I'll
- 17:19put the value of x and I'll put the
- 17:22value of y. So 2 is equal to 1 into m +
- 17:26c. 2 = m + c.
- 17:30So c = 2 - m.
- 17:35Right? I also have the second value. So
- 17:38what I'll do is y = mx + c. That means 1
- 17:41is equal to
- 17:43m into 0 + c. c = 1. Right? Now c = 1
- 17:51and c = 2 - m which means m = 2 - c. 2 -
- 17:581 is equal to 1. So c= 1 and m= 1. Now
- 18:03the equation becomes
- 18:06I have found all the parameters. I was
- 18:10able to find the value of M. I was able
- 18:11to find the value of C. So C is 1 and M
- 18:15is also one. So the equation is Y = X +
- 18:181. Now you give me any kind of input in
- 18:21the world. Give me any kind of output in
- 18:23the world. Give me any kind of input in
- 18:25the world and I'll be able to tell you
- 18:27what is going to be the output.
- 18:30Right? You give me any kind of input in
- 18:32the world and I'll be able to give you
- 18:34the output. Right? Now if you go ahead
- 18:37and amplify the same thing, if you go
- 18:41ahead and amplify the same concept to
- 18:43billion number of times. So now what
- 18:45happens is
- 18:48a large language model
- 18:52is a equation like this
- 18:56but it contains almost
- 18:59greater than a billion parameters.
- 19:03Right? So in order to find two parame in
- 19:06order to find two
- 19:08value of parameters m and c I needed to
- 19:12have two values of input and output also
- 19:16called as training data. Training data
- 19:17that I already know right
- 19:21in the case of a large language model a
- 19:23large language model is nothing. It is a
- 19:26very complicated mathematical equation
- 19:30plus the equation contains a lot of
- 19:32parameters. How many parameters? Maybe
- 19:35billions of parameters.
- 19:39Right? So in order to determine these
- 19:41parameters, what I need to do? I need to
- 19:44have billions of
- 19:48training data, which is I need to have
- 19:50large training data,
- 19:52right? And then this is repeated
- 19:55multiple number of times to get the
- 19:57values of these parameters. So how do we
- 20:00get this training data? We get this
- 20:01training data from the pre-training. So
- 20:03before we train any model, what we do is
- 20:06we crawl the internet.
- 20:09We look at the forums.
- 20:11We take
- 20:13the books that are written already,
- 20:15literature, well-written books. And then
- 20:17we convert this data, we clean this
- 20:20data, and then we train on this data.
- 20:23How do we train? How do we train on this
- 20:25data? Understand?
- 20:27Any piece of text that you have
- 20:31that piece of text can be converted into
- 20:33two parts
- 20:35the input and the output. For example,
- 20:39let's say in the training data I was
- 20:42able to get this.
- 20:44So I have written a blog around a IML
- 20:47product management. Okay. So let's say I
- 20:50have this
- 20:52sentence. So I will collect
- 20:56I will collect a lot of data. I will
- 20:58break down this data into small parts so
- 21:00that I'm able to feed it to the large
- 21:01language model and that then what I'll
- 21:03do is let's say one of the training data
- 21:05is this
- 21:10one of the training data is this. So
- 21:12what I'll do is
- 21:18I know that this sentence is correct. So
- 21:20what I'll do is I will just feed this
- 21:23part
- 21:26I will feed this part
- 21:30as the input and this part as the output
- 21:33because what does a large level model
- 21:34does if you go ahead and give it
- 21:40if you go ahead and give it any sentence
- 21:43it will try to complete it. So I'll give
- 21:46multiple billions of rows and billions
- 21:48of uh let's say components of data in
- 21:51the form of input and output and when
- 21:53the large language model will learn it
- 21:54will learn from these patterns and then
- 21:56it will be able to give you almost real
- 21:58kind of reasoned answers
- 22:01right a quick yes or no everyone if you
- 22:04are able to understand this
- 22:07I have tried to help you understand
- 22:10large language models with the help of a
- 22:12very simplistic
- 22:14A linear equation.
- 22:28Yes. Cool. Now let's go ahead.
- 22:38Yes.
- 22:43Cool. Now we have understood this. Now
- 22:46let me go ahead and take you one step
- 22:49ahead. Okay. So now everyone please look
- 22:51at this very carefully.
- 22:53So how does a model trains itself. What
- 22:55happens is this is what the structure
- 22:57is. You have the training data. In the
- 23:00training data, let's say you have this
- 23:02sentence. You are going to break this
- 23:05sentence into two parts.
- 23:08One part is this the initial part of the
- 23:10sentence. Other part is this the later
- 23:13part of the sentence. The initial part
- 23:16of the sentence is the input
- 23:18and the later part of the sentence is
- 23:20the output.
- 23:22So ideally what you want is you want the
- 23:24model
- 23:26you want the model to behave in a way
- 23:29that whenever you write how LLMs
- 23:32it should complete with work. Okay, this
- 23:36is what you want. So what you'll do is
- 23:37you will break the sentence. This is one
- 23:39sentence. This other sentence you are
- 23:42going to tokenize it. Tokenize as in you
- 23:44are going to convert it into
- 23:47maybe some kind of numbers. Okay. And
- 23:51every model that you are running they
- 23:53would have their own method. So there
- 23:55are some free and available APIs
- 23:57available through which you can go ahead
- 23:59and tokenize your content into any kind
- 24:01of numbers. Okay. So we have done the
- 24:04tokenization.
- 24:06Now
- 24:08whatever are the input tokens tokens for
- 24:12how LLMs are going to be feed as an
- 24:14input
- 24:16right and the output token is going to
- 24:18be here I'll take I'll tell you how it
- 24:21is going to work right so now it will be
- 24:23feed into a large language model okay a
- 24:27large language model is a specific kind
- 24:29of uh I would say uh right now we are
- 24:32talking about a large language model
- 24:33which is a neural network and the Type
- 24:35of the neural network is transformer.
- 24:37I'll talk about what a transformer is in
- 24:39brief in tomorrow's session. Okay. So a
- 24:42transformer what is a transformer? It is
- 24:44nothing but
- 24:46a mathematical expression
- 24:48a non- mathematical expression
- 24:50understand it thousand times more
- 24:52complicated than the line equation that
- 24:54I have given you. And it contains the
- 24:56parameters the constant that I have told
- 24:57you right. And the purpose of this large
- 25:02language model training is to identify
- 25:04the value of these parameters to
- 25:07identify the value of M, C and other
- 25:09parameters that it has. It can have
- 25:10billions of parameters. Right now what
- 25:14will happen? It will initially when it
- 25:16is not trained, it will try to generate
- 25:18anything random. Okay? And also
- 25:21understand one thing that the large
- 25:23language models
- 25:26are not deterministic.
- 25:28Listen to this very carefully. This is
- 25:30super important to understand the
- 25:31language of large language models. I
- 25:33told you that they are next
- 25:37token
- 25:39predictors. Predictors means they will
- 25:42not tell you that this is a token after
- 25:44this. They will give you some
- 25:47probabilities. So
- 25:51he is
- 25:53a this is the input and the large
- 25:56language model is going to give you
- 25:58probabilistic outputs. So it is going to
- 26:00give you many options. It is it will
- 26:02tell you he is a man, he is a boy,
- 26:08he's a father,
- 26:11he's a singer. So there are multiple
- 26:13probabilities, right? And then he's it
- 26:15is also going to tell you the L language
- 26:17model that what is the probability. So
- 26:18let's say man the probability is 0.5 boy
- 26:22the probability 0.4 father probability
- 26:24is 0.05 single probability is 0.05.
- 26:30Right? So it will not tell you the one
- 26:32answer. It will not just give you one
- 26:33answer. It will give you the
- 26:35probabilities of what other words could
- 26:38be there and then you can go ahead and
- 26:39choose the top word or second word
- 26:41whatever your large language model can
- 26:43go ahead and pick up. Okay. So always
- 26:45remember the large language models are
- 26:49not
- 26:52deterministic. They are stochastic
- 26:56which means
- 26:59they can go ahead and pick random words
- 27:02which are going to be correct in some
- 27:04context but if you go ahead and give
- 27:05same prompt to same model at the same
- 27:08time it can go ahead and give you
- 27:09different kind of outputs
- 27:12right so this is important nature of an
- 27:16LLM to know and this is also going to be
- 27:18of foundation of when we go ahead and
- 27:20learn about AI evaluations Right?
- 27:25And how does it generates this? It
- 27:27generates on the basis of training. So
- 27:28it would have seen a lot of data and
- 27:30based on that data it generates that yes
- 27:33I think this should be the probability
- 27:34based on what I have learned.
- 27:37Right?
- 27:40Yes.
- 27:46Cool. Now
- 27:49going back to a diagram. So what will
- 27:51happen here is what we have done so far
- 27:53is
- 27:54we have done the tokenization we have
- 27:56taken the input part we have feed it
- 27:58into the transformer the transformer has
- 28:00generated some random results and then
- 28:02what will happen we have the real actual
- 28:05token the actual token is going to be
- 28:10the meaning of work like the the the
- 28:14numerical token for work. Okay. And here
- 28:17it is going to generate something. Now
- 28:19it will be compared that work should
- 28:22have a probability of one or work should
- 28:25be at the top of the predicted numbers
- 28:28or the predictive tokens and then we are
- 28:31going to calculate the difference that
- 28:33it should be word it should be work but
- 28:35it is not work. So it is going to share
- 28:37this feedback
- 28:40with the transformer and then what
- 28:43transformer will do is transformer will
- 28:45correct the parameters inside
- 28:48and then this model will run on multiple
- 28:51training sets for billions and trillions
- 28:54of time and then you are going to go
- 28:56ahead and get a model that is going to
- 28:58accurately predict what should be the
- 29:00next probable word.
- 29:03Right? So what we do is we give it the
- 29:05training model. We have the output. We
- 29:07have the input. Then we check we check
- 29:11the difference between the real output
- 29:12and the expected output. Right? Then we
- 29:16calculate the difference which is called
- 29:17as a loss function
- 29:20which is called as a mathematical loss
- 29:21function. This is passed as a feedback
- 29:23feedback to the large language model.
- 29:25And then when it keeps on doing this
- 29:27billion number of times it is able to
- 29:28set a very accurate value of these
- 29:31parameters.
- 29:35Right? If you run it a number of times,
- 29:37you will have a pretty accurate model or
- 29:39a large language model. Right?
- 29:41Understand? If the number of parameters
- 29:44are in a race of billions, this is
- 29:47called as a large language model. If it
- 29:49is less than billions, maybe in the
- 29:51ratio of millions, it will be called as
- 29:52a small language model. Example of a
- 29:54large language model. Example of a large
- 29:57language model is Gemini chat GPT spell
- 30:00uh example of a small language model is
- 30:03Google's Gemma
- 30:09right
- 30:11yes quickly everyone a quick yes or no
- 30:14in the chat if you're able to understand
- 30:15this at least at a high level
- 30:22wonderful great you guys are intelligent
- 30:24great amazing
- 30:32So loss function understands the
- 30:35difference between
- 30:38what is the predicted token and what is
- 30:40the actual token and then it pass on
- 30:42this feedback to the transformer. The
- 30:45transformer adjusts everything
- 30:47accordingly.
- 30:50Right
- 30:52now
- 30:54a bigger question that is that should
- 30:55aride arise in your mind is that why all
- 30:58of these things are happening after 2021
- 31:01like uh why all of these things are
- 31:03happening very recently why not before
- 31:05okay so understanding
- 31:08language
- 31:10understanding language is not an easy
- 31:13task for machines why because of this
- 31:16reasons so let's say my sentence is
- 31:19he lives
- 31:22near the
- 31:24river bank.
- 31:28Right?
- 31:30Initially, traditionally what people
- 31:31used to do was if they want to create
- 31:34any kind of AI, if they want to create
- 31:36any kind of predictive model or
- 31:38intelligent model, what they will do is
- 31:40they will work on word by word.
- 31:45You might have seen autocorrect in your
- 31:46mobile phones, right? Whenever you try
- 31:48to write something, it will only catch
- 31:50the last word and then based on it, it
- 31:51is going to predict. It will not look at
- 31:53the entire sentence. Okay. But people
- 31:55who are able to understand, people who
- 31:57understand NLP or natural
- 32:00language
- 32:02processing or programming, they were
- 32:04able to understand that it's not enough.
- 32:08They were able to understand
- 32:12that if if we want to really understand
- 32:15language, we need to understand the
- 32:18meaning of each word with respect to
- 32:20that sentence.
- 32:22For example,
- 32:24in this particular sentence
- 32:29I have written he lives near the river
- 32:32bank.
- 32:34So in this bank means the side of the
- 32:37river.
- 32:38Right? But if I did not know this
- 32:41sentence, I could have as well concluded
- 32:43that this bank is a financial
- 32:46institution.
- 32:49So in 2017,
- 32:53a group of computer researchers
- 32:57created a research paper, published a
- 33:00research paper. They all were working in
- 33:02the Google brain and deep mind team. And
- 33:05the name of the paper was
- 33:08attention is all you need.
- 33:14And they told they came up with the
- 33:16hypothesis that if we really want to
- 33:19truly understand the language models, if
- 33:21we truly want to understand the language
- 33:24rather than looking at things token by
- 33:26token, we should try to find out what
- 33:29are the relationships of these word with
- 33:32entirety of the sentence. Initially
- 33:34these these predictive models can only
- 33:37look at one word at a time but now with
- 33:40this approach
- 33:42we were able to go ahead and consume all
- 33:44the sentences and essays and whatever is
- 33:46the context window at once. So every
- 33:48word is now able to map it relationship
- 33:50with other words. So these words are
- 33:53created into tokens and vectors and then
- 33:56the relationship between all the vectors
- 33:58is calculated real time and then as a
- 34:01whole we are able to understand what
- 34:03does this paragraph what does this
- 34:04sentence what does this context says
- 34:07that was a very big shift of how genai
- 34:11was born okay but now because of that
- 34:14one problem occurred the problem was the
- 34:17sequential
- 34:19processing of data was easy It can be
- 34:22done on a CPU but if you need to process
- 34:25multiple sentences multiple parts of the
- 34:28sentences at once understand when I'm
- 34:30talking about the sentence
- 34:33he lives
- 34:36near the river bank
- 34:40at once the algorithm or the computer
- 34:44has to calculate
- 34:47this relationship of he with lives with
- 34:50near with the with river with bank. Then
- 34:54parallelly it needs to understand the
- 34:57relationship of lives with he near the
- 35:01river bank and then it also needs to
- 35:03understand the relationship of this with
- 35:05this. So now understand this is
- 35:07complicated maths.
- 35:11This is resource
- 35:15intensive maths. Resource intensive
- 35:17maths. It will take time. It will take
- 35:20effort. It will take a lot of processing
- 35:22power, right? So in order to create a
- 35:25good solid large language model, you
- 35:27need two things. First, you need a lot
- 35:30of data on which you can train so that
- 35:31AI is able to find patterns. Plus, you
- 35:34need
- 35:37super huge
- 35:39processing power.
- 35:42And now people started thinking where do
- 35:44we get this processing power from?
- 35:45because quantum computers are not yet
- 35:48invented at least at the scale for
- 35:50practical purposes and CPUs are very
- 35:53much limited.
- 35:56Then people thought that these kind of
- 35:58metric multiplication like one to many
- 36:00multiplication also happen at
- 36:04gains
- 36:06and games are running on GPUs.
- 36:09So people understood that yes
- 36:12transformer is an architecture. So the
- 36:15neural networks or the algorithms
- 36:18that operate in this way by calculating
- 36:22the uh the relationship of one word with
- 36:24every other word. These kind of
- 36:27algorithms are called as transformers.
- 36:31They work on the mechanism of attention
- 36:33which is one word is paying attention to
- 36:35every other word in the sentence.
- 36:37Attention means one word is paying
- 36:39attention to every other word in the
- 36:41sentence to derive its meaning. Right?
- 36:43And then the neural networks or the
- 36:46algorithms that use attention as a
- 36:47mechanism to predict are called as
- 36:49transformers.
- 36:51Right? And transformers are best run on
- 36:57the same technology that runs these
- 36:59complicated games with is GPUs.
- 37:02Right? So this is a history about how
- 37:05GPUs were best suited for running large
- 37:08language models. And that is also the
- 37:10reason why we were able to get a huge
- 37:14jump here. We were able to get a huge
- 37:18jump here.
- 37:21Right
- 37:24everyone, a quick yes or no if you're
- 37:25able to understand this.
- 37:29Yes. If I see one more LinkedIn link in
- 37:32the chat, I'm going to block you. Don't
- 37:35distract other guys, please.
- 38:05That's so large language models run on
- 38:09GPUs. They are trained on GPUs.
- 38:14Right? Now,
- 38:16so we have understood this. Now let's go
- 38:18ahead. Okay. Now the third part, I have
- 38:21told you about the two parts already.
- 38:23The third interesting part of a large
- 38:24language model.
- 38:27So we have talked about pre-training,
- 38:31we have talked about pre-training, we
- 38:32have talked about training. Now the
- 38:34third part is post-training.
- 38:36Now after you generate, after you train
- 38:39a large language model on all the
- 38:40internet data that is available, you get
- 38:44a personality like a baby. A baby has
- 38:47the ability to think. It has the ability
- 38:50to perceive its surroundings and they
- 38:53will also be able to go ahead and maybe
- 38:54blabber a few words, right? But they
- 38:57don't have a personality yet. So
- 38:59depending upon a baby is born in a Hindu
- 39:01family or a Muslim family or a
- 39:03particular culture, they are going to
- 39:04get their nature. So if you are reading
- 39:07Quran, you are going to think this is
- 39:09the God. If you are going to read maybe
- 39:10Gita, you are going to understand that
- 39:12maybe this is the God. Okay? Reality
- 39:14could be something else altogether.
- 39:16But based on how you are conditioned,
- 39:20based on how you are trained after you
- 39:22are in the world, that is called as
- 39:24postraining. That gives you a
- 39:26personality. So postraining is very
- 39:28important. It converts
- 39:32the next token predictor machine
- 39:38next token predictor machine to a
- 39:41helpful
- 39:44assistant.
- 39:47It converts the next token predictor m
- 39:49machine to a helpful assistant. Right?
- 39:51So what we do is we hire real human
- 39:56laborers like
- 39:58what what do we call it? People who go
- 40:01ahead and label the data. So these
- 40:04people give accurate information to the
- 40:06large language models and then this data
- 40:09is feed again into the training and then
- 40:12the large language model gets a
- 40:13personality. For example, there is one
- 40:16thing that large language models have
- 40:19struggled for a long period of time.
- 40:20Okay. So large language models generally
- 40:23tend to hallucinate. Although the
- 40:25hallucination has reduced very
- 40:29uh very recently but still there is
- 40:32let's say a lot of hallucination still.
- 40:33Okay. So Meta came up with this very
- 40:35interesting perspective. What they did
- 40:37was they just give some sample input
- 40:42and output to the large language models.
- 40:46In the input they told some random
- 40:48question like question for which the
- 40:50answer is not possible
- 40:53right for example they created some
- 40:55random names and ask GPT or ask let's
- 40:58say llama that who is this person
- 41:01initially before this training llama or
- 41:04chat GPT they are going to give you
- 41:05random answers even if the person does
- 41:07not exist they will try to frame
- 41:08something that is called a hallucination
- 41:10they are going to give you wrong answer
- 41:11but they'll give you with complete
- 41:12confidence right so what meta did was it
- 41:15gave them some questions which did not
- 41:17have any answer and in the output they
- 41:19mentioned they asked the llama model to
- 41:23give the answer as I do not know about
- 41:25this I do not know about this and then
- 41:28once the large language model started
- 41:30understanding that yes I can give the
- 41:31answer that I do not know about this
- 41:33that is okay
- 41:36right to show you some other sample data
- 41:39okay so this is how the data looks like
- 41:41for example we want to understand about
- 41:42summarization we want to make sure that
- 41:44our model is able to summarize. So we go
- 41:47give this kind of input. Summarize the
- 41:49following passage about neural network
- 41:50in one paragraph. A neural network is
- 41:52composed of layers of neurons that
- 41:53transforms inputs. Okay. So we'll give
- 41:55this prompt and then this is the desired
- 41:58output. This will also be feeded into
- 42:00the large language model and then we
- 42:04will be able to retrain it again and
- 42:05again in this data to make sure that we
- 42:08are able to get the right answer.
- 42:11Right? we are able to go ahead and get
- 42:13the right answer. Okay. And then these
- 42:16are the methods in which we are going to
- 42:18test. It has to be clear factual summary
- 42:20and neutral to right. So we give all of
- 42:23these feeds to large language model
- 42:26after it is created to the base model
- 42:27and then we are able to get a more
- 42:29intelligent model.
- 42:31Right? Now guys, all of this data, all
- 42:33of these files, all of these
- 42:34presentations, the notes and everything
- 42:36would be given to you if you remain till
- 42:38the end of the session today and then we
- 42:40are going to go ahead and uh and you go
- 42:43ahead and give the submit the feedback
- 42:45form. Okay.
- 42:47Yes.
- 42:51Cool. So I hope everyone was able to
- 42:53understand how large language models
- 42:54works. Everyone please tell me on a
- 42:56scale of 1 to five if you're able to
- 42:58understand whatever I have told you so
- 42:59far. On a scale of 1 to five, please.
- 43:01One you did not understand, five you
- 43:02understood it well.
- 43:10Cool. We have 821 people. Amazing.
- 43:13Great.
- 43:19Super. Super guys. Amazing. Amazing.
- 43:21Thank you.
- 43:23Yes.
- 43:24People who are not able to understand,
- 43:26just look at the recording. I'm sure
- 43:27you'll be able to go ahead and
- 43:28understand this well. Yes. Cool. People
- 43:31are not able to understand, please focus
- 43:33better. Please focus better in the
- 43:35session.
- 43:37Yes.
- 43:51Cool. Let me just go ahead.
- 43:56Yes. So now based on whatever I have
- 43:59told you
- 44:01now let us go back to economics. Okay.
- 44:03So we have talked about mathematics, we
- 44:05have talked about computer science, we
- 44:06have talked about psychology of a model.
- 44:08Now let's back go back to economics and
- 44:10the business. Okay. So
- 44:13as a product manager you need to
- 44:16understand at what levels
- 44:19is the value created in the large
- 44:21language models by the large language
- 44:23models. Okay. So the first layer is the
- 44:27infrastructure layer. This is the layer
- 44:29on top of which large language models
- 44:32operate.
- 44:34Okay. What they do is here we have
- 44:37companies such as Nvidia and Google's
- 44:39Vert.x AI which provides the tensors or
- 44:42the GPUs where these models can run. So
- 44:45they provide computation data platform
- 44:47GPUs and all right. So the core
- 44:50technology that you need which is
- 44:52infrastructure
- 44:53which is uh how where do you deploy
- 44:55these models is provided by these
- 44:57infrastructure layer companies.
- 44:59The second layer is the model layer
- 45:02companies who are creating and owning
- 45:04these models. Companies such as OpenAI,
- 45:06Anthropic, Meta, Grock
- 45:09uh and Deep Seek these are the companies
- 45:11which are owning these models and they
- 45:13will give you large language models,
- 45:16small language models. They will also
- 45:17give you fine-tuning. What is
- 45:18finetuning? We are going to discuss in
- 45:20the coming sessions. Right now, this is
- 45:22the core. Now, on top of this, there is
- 45:25a bigger opportunity that you as a
- 45:27product manager can utilize all of these
- 45:32technologies like these models in order
- 45:35to build some amazing use cases. So,
- 45:38lovable, gamma, chat, GPT, Gemini, they
- 45:42are all based on this model and the
- 45:45infra layer. So you as a product manager
- 45:49can play a very important role in the
- 45:50application. Application layer is how
- 45:53are you able to utilize the power of a
- 45:56large language model in order to solve
- 45:58the problems for your customers.
- 46:02Right? So internet is provided by
- 46:04someone else. The routers are provided
- 46:07by someone else. But Amazon has created
- 46:09an application on top of internet which
- 46:12is able to give you the e-commerce at
- 46:14your doorstep.
- 46:16Tinder has created an application on the
- 46:17top of internet so that you are able to
- 46:19find your next state. Similarly in AI
- 46:22you should be able to create a lot of
- 46:23applications on these on the top of
- 46:25these large language models so that you
- 46:28are able to create a lot of value
- 46:32right and the fourth layer is you can
- 46:34use these tools you can use these large
- 46:37language model based tools such as chat
- 46:40GPT such as GMA such as Kurser in order
- 46:43to make your clients and make yourself
- 46:45more productive. So service agency
- 46:48companies such as TCS, Realast and all
- 46:50they will use these tools and then they
- 46:52will help the company achieve their
- 46:54outcomes.
- 46:55Right? So this is the whole value chain.
- 46:59People create infra then some people
- 47:01create model some people create
- 47:02application based on model and some
- 47:04people create services. Okay. But this
- 47:06is where you can drive a lot of value
- 47:09without investing a lot of money.
- 47:12And this is value at scale.
- 47:15Right? All of the companies here, all of
- 47:18these companies
- 47:22are same companies. They don't own
- 47:23models. What they do is they work on top
- 47:26of models created by other companies,
- 47:30right? And they are able to generate a
- 47:31lot of value.
- 47:33Right? Now, based on this gen AI value
- 47:35stack, we can divide multiple kind of
- 47:37AIPM jobs. Okay? So, first of all,
- 47:40understand that every PM is an AIPM. If
- 47:43you are using any kind of AI technology
- 47:46in your life, GPT, Gemini or anything,
- 47:49you are an AIPM. So I divide AIPM into
- 47:52two parts. The first part is the AI
- 47:56enabled PMS.
- 47:58These are people who are using products
- 48:01like Chat GPT, Lovable, Jira or any
- 48:04other AI product
- 48:06in order to make themsel more productive
- 48:09in order to solve problems for their
- 48:11customers. in order to save time in
- 48:14order to provide more impact. So anyone
- 48:17any PM who is a user of any of these AI
- 48:20tools they are an AI enabled team. So
- 48:22100% of all of us are AI enabled PMs.
- 48:26Right. The second is AI product PM. Now
- 48:30this is where the value is. This is what
- 48:31we are going to talk about which we have
- 48:32talked in the last sess in the uh
- 48:34today's session as well initially and
- 48:36then we are going to talk about today
- 48:37more and in the next session as well.
- 48:40Okay. So AI product PMs can be divided
- 48:42into two parts. One is the core AIPM.
- 48:46These core AIPMs need to understand how
- 48:48the technology behind AI works. So
- 48:52training, pre-training, post-raining,
- 48:55how do you create a large language
- 48:57model? How do you store? How do you make
- 48:59it efficient? How do you consider memory
- 49:01of a large language model? All of these
- 49:03core things are the responsibility of a
- 49:04core AIPM. So people who are creating
- 49:07the infra or the model are the core
- 49:09AIPMs. These people need to be technical
- 49:12and they should have a solid
- 49:13understanding of machine learning in
- 49:15order to become a core IP.
- 49:18Whatever I have told you so far about
- 49:19how GP works and all this is a work of a
- 49:21core IPM.
- 49:23The second kind of PMS where most of you
- 49:26should be going is applied AIPM. Now
- 49:30applied AIPM are the people who are
- 49:32creating useful applications by using
- 49:35these core technologies. So people who
- 49:37are building notion AI, Grammarly,
- 49:39lovable, chat, GPT, people who are
- 49:41building these products are applied AI
- 49:45PMs. Applied AI means the people who are
- 49:50actually using AI tools like AI
- 49:52technologies such as models and infra in
- 49:55order to build something helpful for
- 49:57their customers.
- 49:59Okay. So these are the only the users.
- 50:02These are the core technology creators
- 50:04and these are the product creators.
- 50:07Right? So can you guys tell me where do
- 50:09you fall right now?
- 50:12What is your best description right now?
- 50:15Where do you fall right now?
- 51:19Yes,
- 51:26wonderful. So all of you fall under the
- 51:28AI enabled part right now but eventually
- 51:30you should go ahead and
- 51:34Yeah
- 51:36guys, everyone is trying to focus and
- 51:38learn. Please do not put any kind of
- 51:40links in the chat. I've already blogged
- 51:42a couple of people. Do not let me to do
- 51:44it more. Let us go ahead and focus on
- 51:46the session.
- 51:49Cool. Now
- 51:52this is the differentiation. Everyone is
- 51:54here.
- 51:56If you are coming from already a very
- 51:58strong technical background, you should
- 51:59try to move here. But everyone, even if
- 52:01you are coming from a technical or
- 52:02nontechnical background, you can always
- 52:04move here. This is where I want you to
- 52:06move.
- 52:09Okay. Now let's go ahead. Okay. So tell
- 52:15me everyone.
- 52:17Tell me everyone if you are able to
- 52:19understand this meme. Look at this very
- 52:22carefully and tell me if you are able to
- 52:23understand this meme.
- 52:42Yes, cool. So understand there are like
- 52:45so much valution that has been created
- 52:47in all of these things. Okay, this is
- 52:49sitting on the top of LLMs. Okay, so I'm
- 52:52going to give you some examples of how
- 52:56various kind of technology the various
- 52:59kind of technologies are working on top
- 53:01of these large language models. Okay,
- 53:04but we are right on time. We will take a
- 53:07quick break here. We will take a quick
- 53:09break of five minutes and then we will
- 53:12come back. Okay.
- 53:14So now let me go ahead and tell you
- 53:17how do So now you have understood that
- 53:20yes a large language model. Okay. So
- 53:25there is something called as
- 53:30a large
- 53:33language model.
- 53:36which is provided by companies such as
- 53:39Open AI,
- 53:42Anthropic,
- 53:45Meta,
- 53:47Google and many more. Okay, these are
- 53:50the large language models that are
- 53:51provided by so many companies. Now,
- 53:57right now, this large language models
- 54:01can do three things for you.
- 54:04Okay,
- 54:06the first thing is they can understand
- 54:10content.
- 54:12They can understand what you are trying
- 54:14to say because they have seen so many
- 54:16patterns of data. They're able to
- 54:18understand what you are trying to say.
- 54:20Okay. So if you ask it to generate a
- 54:22summary, it will be able to understand
- 54:23the whole paragraph and then it will
- 54:24generate the summary. Okay. The second
- 54:27is it is able to transform content.
- 54:34Transform means if you ask it to create
- 54:37a summary of some content, it will
- 54:39transform that into summary. If you ask
- 54:42it to create a quiz on some content, it
- 54:44will be able to transform that into
- 54:45code. Okay. And the third part is it is
- 54:48able to generate content. So if you want
- 54:50it to generate images, code anything it
- 54:53because it is data it should be able to
- 54:54generate because it has seen enough code
- 54:56in its life right. So it will be able to
- 54:59go ahead and generate. So as a large
- 55:00language model the capabilities of a so
- 55:03as a product manager you should
- 55:04understand that there are three core
- 55:06capabilities of a large language model.
- 55:08The first is it can understand second is
- 55:11it can transform and third is it can
- 55:13generate data.
- 55:16Right? So you can use it for multiple
- 55:18ways. You can use it
- 55:21to generate summary. You can use it to
- 55:24generate answers for your questions. You
- 55:27can use it to generate code. And you can
- 55:29generate for almost everything that you
- 55:32want,
- 55:34right? And because they have been
- 55:35trained on tons of data, tons of
- 55:38terabytes of data, generally the
- 55:40accurations are very accurate. So now
- 55:42what happens? So far whatever the
- 55:44software that we used to create so far
- 55:47whatever the software that we were used
- 55:50to create
- 55:52these softwares were generally of four
- 55:54types. Okay. So any software that we
- 55:56have used so far what they will do is
- 55:57they will generally create a data they
- 56:00will read data they will update the data
- 56:02or they will delete the data. So all the
- 56:04software that we have seen let's say
- 56:05Facebook on Facebook what happens you go
- 56:07ahead and create a profile and then on
- 56:10your profile some database element is
- 56:12created and then your people can see
- 56:13your profile some people can go ahead
- 56:16and upload some videos and then you are
- 56:17able to see these videos and entertain
- 56:19yourself so generally most of the
- 56:21application before the AI world were
- 56:25actually create read update and delete
- 56:28this is called as application but now AI
- 56:31has been able to give
- 56:33a brain
- 56:36to your softwares. So as a product
- 56:39manager, you need to understand what
- 56:41this large language model can do and how
- 56:44can I utilize it to create better
- 56:46products.
- 56:48Right? So
- 56:51I'm going to give you this understanding
- 56:53with the help of few examples. Okay? So
- 56:57there is a product called as granola.
- 57:01Okay. And this product is similar to
- 57:04many other products. So it's a very
- 57:05simple product that if you go ahead and
- 57:07use granula,
- 57:09it will
- 57:11go ahead and get added to your calendar
- 57:13and whenever you are joining the
- 57:14meeting, it will take the transcription
- 57:17and recording of that meeting and it is
- 57:19going to summarize the meeting for you
- 57:20so that you do not have to pick up a
- 57:22notebook every time. What happens is
- 57:24whenever we are joining the meetings we
- 57:25have to write down that what are the
- 57:27things that are discussed so that we do
- 57:28not forget and then we create a minutes
- 57:30meeting like the minutes of the meeting
- 57:33right so there are multiple tools like
- 57:34granola there is fireflies otter fathom
- 57:37most of you most of them which you can
- 57:39see also on the uh the attendee list
- 57:41right because many people have added
- 57:44their note takers so now how these
- 57:47noteers are created what is the value
- 57:49behind them so I'm going to show you a
- 57:50simple tear down Okay.
- 57:54So,
- 57:57everyone a quick yes or no in the chat
- 57:59if you understand what a AI noteaker is.
- 58:14Amazing. Great.
- 58:17Yes.
- 58:20Yes. So now let us try to understand how
- 58:22this product works and this is like a
- 58:25very important case. It will help you
- 58:28understand how AI products are built.
- 58:30Okay. So first of all understand
- 58:31everyone whenever you create any product
- 58:34as a product manager
- 58:36you have to look at five angles.
- 58:40Don't just go ahead and just think about
- 58:44technology. Technology is one important
- 58:46part but it is not the most important
- 58:49part. But AI is just a piece of
- 58:51technology. So do not focus on just
- 58:53using AI. Focus on solving the problem
- 58:55of the user. So whenever you look at any
- 58:57product, please ask yourself five
- 59:00questions. Right? The five questions are
- 59:04what problem does it solves in people's
- 59:07life?
- 59:09Right? What problem does it solves in
- 59:11people lives? Okay. So
- 59:15can you guys tell me? to think about it
- 59:16for a moment and then tell me in the
- 59:19chat what do you think what are the
- 59:21problems that granola solves in people's
- 59:23life
- 59:26think about this as a product manager
- 59:28this is the most important value that
- 59:29you need to add that how am I being
- 59:32useful to the users what problem does it
- 59:34solve so tell me what is a problem that
- 59:36these note takers solve
- 59:49Yes. Very good. So
- 59:52at a task level, it helps you record and
- 59:56summarize your meetings.
- 59:58But that is just an output. The outcome
- 1:00:01is that it is able to save you time and
- 1:00:05it will help you be more accurate
- 1:00:07because when you are writing something
- 1:00:09it might be possible that yes you are
- 1:00:11missing something and you also have to
- 1:00:13invest a lot of time and attention when
- 1:00:15you are writing things right so granular
- 1:00:19saves you time it makes you more
- 1:00:21efficient and accurate always remember
- 1:00:24it is okay if you're not using AI in
- 1:00:26your product AI is not a silver bullet
- 1:00:29that will improve your But if the
- 1:00:31product does not have a value, if you
- 1:00:33are not able to clearly define why this
- 1:00:35product should exist, then please do not
- 1:00:37create the product. Okay, this is the
- 1:00:40most effective value that you add as a
- 1:00:41product manager. Okay, now the second
- 1:00:44part which is a business value.
- 1:00:48Why should the business per pursue this
- 1:00:50opportunities?
- 1:00:52Okay, think about this for a moment
- 1:00:54everyone and then tell me in the chat
- 1:00:56why should the business pursue this
- 1:00:58opportunities?
- 1:01:01How do you find this out?
- 1:01:03Let us keep it collaborative so that
- 1:01:05everyone is able to learn accordingly.
- 1:01:20Yes.
- 1:01:22So now what we'll do is now what we will
- 1:01:25do is we will try to understand that if
- 1:01:28we are creating a meeting assistant
- 1:01:32how many people in the world are first
- 1:01:34looking for this kind of solution.
- 1:01:37So you will have a prediction that
- 1:01:39people who are a part of small
- 1:01:40businesses or large businesses they are
- 1:01:42going to love this kind of solution
- 1:01:44because they are going to save time and
- 1:01:46then you are going to understand how
- 1:01:48many people are there who are working in
- 1:01:50these small businesses. how many small
- 1:01:51businesses are there and then you are
- 1:01:53going to size a market opportunity.
- 1:01:56Okay, that is one way that it is going
- 1:01:58to help the business because there is a
- 1:02:00large market opportunity and in order to
- 1:02:02do this research you can go ahead and
- 1:02:03use chat GPT notebook LM Gemini or
- 1:02:06anything right that is the business
- 1:02:08value now the other kind of business
- 1:02:09value is let's say we are not talking
- 1:02:12about granola we are talking about zoom
- 1:02:15right so because zoom already has a lot
- 1:02:19of users who are using its platform to
- 1:02:22conduct meetings it is an strategic
- 1:02:25opport opportunity for Zoom. It is a
- 1:02:28strategic business opportunity for Zoom
- 1:02:30to create an inbuilt meeting assistant.
- 1:02:35Right? So it aligns with the strategy
- 1:02:36and it also aligns with the market
- 1:02:38opportunity.
- 1:02:40Right? So understand everyone as a
- 1:02:43product before being an AI product
- 1:02:45manager, you are a product manager and
- 1:02:47the purpose of a product manager is to
- 1:02:49bring the user value and to bring the
- 1:02:51business value.
- 1:02:53Right? Now the third thing is how do we
- 1:02:57make sure that
- 1:03:01the product is intuitive for the user to
- 1:03:03use. How do we make sure that the
- 1:03:05product is very intuitive.
- 1:03:08Right? So in all of these tools you
- 1:03:09would have found that you do not have to
- 1:03:12do anything. You just install the tool
- 1:03:14you add it to your calendar.
- 1:03:15Automatically whenever a meeting occurs
- 1:03:18the person the the meeting note taker
- 1:03:20would be automatically added. Granola
- 1:03:22goes to the next level that right now
- 1:03:24this meeting is recorded with granular
- 1:03:26but you do not know why because it is
- 1:03:28installed on my computer. It is taking
- 1:03:29over the microphone and the video and it
- 1:03:31is doing it by itself. So now you have
- 1:03:33to do optimizations on the design part
- 1:03:36so that you are able to reduce the
- 1:03:38friction for the user. If I have to add
- 1:03:40a granular every time, if I have to add
- 1:03:44uh uh this fireflies every time when I'm
- 1:03:46doing a meeting that is going to be
- 1:03:47resistance for me right? So this is
- 1:03:51called as being a proactive software.
- 1:03:56So they are able to get meeting into
- 1:03:58meetings automatically. So you don't
- 1:03:59have to do the work automatically it is
- 1:04:01happening. Right? So this is the
- 1:04:03intuitiveness and then they have created
- 1:04:06an interface so that I'm able to see
- 1:04:07what are the meetings that I have
- 1:04:08conducted. I can go ahead and ask
- 1:04:10questions based on my meetings. Right?
- 1:04:13So this is the value part, business part
- 1:04:15and the design part. The next part that
- 1:04:18we are going to understand today is how
- 1:04:21will this be engineered.
- 1:04:23Engineered part is feasibility part. But
- 1:04:25please remember this line. User value
- 1:04:29and business value as a product manager
- 1:04:31should be your first focus and
- 1:04:33feasibility should be the next focus.
- 1:04:36Feasibility should not be the number one
- 1:04:38focus of a product manager right now.
- 1:04:40Please start with
- 1:04:42the user problem and the business
- 1:04:44problems. That is what you add the most
- 1:04:47to the company. That is where you are
- 1:04:48being most impactful rather than only
- 1:04:50talking about engineering and
- 1:04:52feasibility because there are people who
- 1:04:53are more eligible than you who can do
- 1:04:55the task. Okay. So how will this AI
- 1:04:58product be orchestrated? But before that
- 1:05:00everyone a quick yes or no in the chat
- 1:05:03if you are able to understand the three
- 1:05:05parts user value, business value and
- 1:05:07design value.
- 1:05:11Amazing.
- 1:05:21Wonderful.
- 1:05:28Yes. So there is one person who has said
- 1:05:30no four number of times.
- 1:05:33Great. So
- 1:05:37yes. So now we have understood the three
- 1:05:40parts. Now let me give you a bit about
- 1:05:42engineering. Okay. So this is how this
- 1:05:45product looks at the back end. Now look
- 1:05:47at this very carefully. Super important.
- 1:05:49If you just under understand this one
- 1:05:51product, I can assure you that you can
- 1:05:53reverse engineer almost any AI product.
- 1:05:55So please focus on this slide. Okay. So
- 1:05:58behind granula
- 1:06:01whenever you do any meeting on zoom on
- 1:06:04meet or anyone
- 1:06:07granola or fireflies or otter or any of
- 1:06:12the meeting recording tools even the
- 1:06:13zoom tool they will be connecting to the
- 1:06:17meeting either they can join the meeting
- 1:06:20as a bot
- 1:06:22or they will capture the content from
- 1:06:24your screen whatever you are speaking
- 1:06:26they will take over your mic
- 1:06:28or they are going to ask the API. API as
- 1:06:31in they will ask Zoom or Google Meet to
- 1:06:34share the recording or the transcript
- 1:06:37if you have given the permission. Okay?
- 1:06:40So they will get
- 1:06:42the audio of the meeting,
- 1:06:48right? Once they get the audio of the
- 1:06:51meeting, they are going to convert that
- 1:06:53audio into text transcription.
- 1:06:56There are multiple APIs available for
- 1:06:58the same. So, OpenAI has an API called
- 1:07:01as whisper where you give it audio. It
- 1:07:04will be able to give you the transcript
- 1:07:05of that audio. There is also Google text
- 1:07:08to speech like uh speech to text where
- 1:07:11you can just go ahead and give it a
- 1:07:13audio. It will be able to convert into
- 1:07:15accurate transcript.
- 1:07:18Right? There are some smaller players as
- 1:07:20well which are assembly.ai and other
- 1:07:22players who can also do this job. Okay?
- 1:07:25So now what we have is we have a
- 1:07:27transcript.
- 1:07:29Now this transcript is available with
- 1:07:31us. What these people will do is what
- 1:07:33granula or fireflies will do is they
- 1:07:36will take this transcript and then they
- 1:07:39will add a system prop.
- 1:07:43Okay. So this is a system prop.
- 1:07:53So now everyone please look at this very
- 1:07:55carefully. Look at this very very
- 1:07:57carefully. So it is going to add this
- 1:08:00prompt. The prompt is you are an expert
- 1:08:03chief of staff and noteaker.
- 1:08:05Given the following raw meeting
- 1:08:07transcript, generate a structured and
- 1:08:09actionable summary that includes the
- 1:08:10following sections. meeting title,
- 1:08:14data and participants, date and
- 1:08:16participants, key decision made, action
- 1:08:17items, open questions, summary, notable
- 1:08:20quotes and then you have written some
- 1:08:22more instructions.
- 1:08:24Right? So this prompt might be created
- 1:08:28by a product manager at granula
- 1:08:32which will convert a raw transcript that
- 1:08:35is generated into very helpful meaning
- 1:08:39notes, meeting notes, right? And this
- 1:08:43prompt plus this transcript would then
- 1:08:47be sent
- 1:08:50to a large language model.
- 1:08:53Right? This will be sent to a large
- 1:08:57language model such as Gemini or Jad
- 1:09:00GPD, right? And then it will do its
- 1:09:03magic. It will create summary
- 1:09:05actionables and tasks. Okay? So this is
- 1:09:08how these meeting tools work. And then
- 1:09:12what happens? You can take it to the
- 1:09:14next step. You can make it more agentic.
- 1:09:15Agentic means they will take action. So
- 1:09:17what can happen is they can also go
- 1:09:19ahead and push these tasks to your slack
- 1:09:22to your calendar or to your Jira. So now
- 1:09:26you are just adding a meeting notetaker
- 1:09:30like a meeting assistant to your
- 1:09:32calendar and then it will get the
- 1:09:35recording. It will do the transcript. It
- 1:09:38will go ahead and create
- 1:09:41the summary with the help of system
- 1:09:43prompts and the transcript. then it can
- 1:09:45go ahead and convert into multiple task
- 1:09:46and then it can also if you give it the
- 1:09:48permission it can also go ahead and add
- 1:09:49it to your Slack calendar or Jira right
- 1:09:53so this simplistic architecture which is
- 1:09:55dependent on multiple LLMs and things is
- 1:09:58now
- 1:10:00a possibility because large language
- 1:10:02models are possible
- 1:10:08right everyone a quick yes or no if you
- 1:10:12are able to understand This
- 1:10:15right? So I want you guys to think in
- 1:10:18this manner. Okay. I want you guys to
- 1:10:22think in this manner.
- 1:10:46Everyone a quick yes or no in the chat
- 1:10:48please.
- 1:10:52Yes. So now large language models have
- 1:10:55unlocked intelligence for you. Okay. Now
- 1:10:59you can use them like an expert in order
- 1:11:02to go ahead and do a lot of things.
- 1:11:05Right? So now this is like a simple
- 1:11:07orchestration. Now you can think about
- 1:11:08how you can innovate on top of the same
- 1:11:13right. So the history of granular is
- 1:11:15that that before granular there were
- 1:11:17players like fireflies, autoi and fedum.
- 1:11:19What happened because of these was they
- 1:11:21will keep themselves added on. They will
- 1:11:24keep themselves added on.
- 1:11:30Yes. They will keep themselves added on
- 1:11:37multiple meetings and people generally
- 1:11:39get irritated if so many bots are
- 1:11:40joining the meeting. Okay. And it was
- 1:11:43also not very privacy intense in
- 1:11:45incentive for intensive for other
- 1:11:47people. Okay. That people do not want
- 1:11:49your bots to join their meetings. Okay.
- 1:11:51So Granla came up with a AI with a UI
- 1:11:54innovation. With Granla you don't have
- 1:11:56to add anything. It will operate in your
- 1:11:58computer. It will listen to the audio
- 1:11:59and then it will it is going to
- 1:12:01automatically transcribe the meeting for
- 1:12:02you and give you the context right so
- 1:12:06you can do these optimizations in order
- 1:12:07to make sure that you are able to go
- 1:12:09ahead and
- 1:12:11yes you are able to go ahead and create
- 1:12:13a lot of things
- 1:12:15right now the magic that you can add as
- 1:12:18a product manager is understand AI is
- 1:12:20not difficult you just have to
- 1:12:22understand the concept that I'm telling
- 1:12:23you after that the next real skill that
- 1:12:26you have to develop is customer empathy
- 1:12:28Understanding
- 1:12:30what customers want and giving them as
- 1:12:32soon as possible in the best design
- 1:12:34possible. That is the value that you add
- 1:12:36as a product manager.
- 1:12:39Okay. Now we have talked about granular.
- 1:12:43Now let's go to the next level. Okay. So
- 1:12:46granular is a very simple example. Okay.
- 1:12:50The next example that we need to
- 1:12:51understand is
- 1:12:54okay. Okay. So one part is left.
- 1:12:57That part is understand just building a
- 1:12:59product which is useful and business
- 1:13:01wants to build it and it is good design
- 1:13:03it is good feasibility
- 1:13:06doesn't make sure that product is
- 1:13:08actually very very helpful
- 1:13:10right doesn't make sure that the product
- 1:13:12is very very helpful
- 1:13:16so there is one more thing okay
- 1:13:22there is one more thing
- 1:13:25that is needed to make a product achieve
- 1:13:27its potential and generate revenue out
- 1:13:29of the for the company which is how do
- 1:13:32we grow this product in this market
- 1:13:35which is creating a go to market
- 1:13:37strategy
- 1:13:38building
- 1:13:40a product that is actually loved by the
- 1:13:42users creating distribution for the
- 1:13:44product making sure that people are
- 1:13:46actually using the product that is
- 1:13:48called as the growth part so how do you
- 1:13:49grow in this market so all of these
- 1:13:52meeting assistants they are viral by
- 1:13:55default
- 1:13:56So let's say I and you did a meeting
- 1:13:59together and because I believe in
- 1:14:03productivity I do not believe in taking
- 1:14:04notes manually. I have added a noteaker
- 1:14:08called as fireflies. Now when you see
- 1:14:11this that in the meeting there is
- 1:14:13another thing which is fireflies. You
- 1:14:15are going to get curious that what is
- 1:14:17this? I should also go ahead and check
- 1:14:18what is this. Okay. So by using virality
- 1:14:21they are going ahead and creating a
- 1:14:24distribution right. Similarly whenever
- 1:14:27the meeting has ended most of these
- 1:14:30people are going to send you emails. Let
- 1:14:32me show you one of the emails. Just give
- 1:14:34me a moment.
- 1:14:38Let me check if I have those kind of
- 1:14:40emails. What is the name? Fireflies.
- 1:14:56Yes. Cool. So, let's say
- 1:15:09cool. So,
- 1:15:12this is the link. Okay. So generally
- 1:15:15when we do the meeting this is the link
- 1:15:17that we received after that. Okay. So
- 1:15:20someone added me to their meeting and
- 1:15:22they also added fireflies because they
- 1:15:23were using fireflies and after the
- 1:15:25meeting has ended it always sends me
- 1:15:27this thing that this is what you have
- 1:15:29done. This is a summary this is the
- 1:15:31action item and it also tells me to go
- 1:15:34ahead and if I click on view the meeting
- 1:15:35and all it will ask me to sign up.
- 1:15:39Right? So these are some growth tactics
- 1:15:41that these people are implementing in
- 1:15:43order to make sure that it is able to
- 1:15:44grow. The product is actually able to
- 1:15:46succeed. So marketing and growth is also
- 1:15:49a good responsibility or a must have
- 1:15:52responsibility for a product manager,
- 1:15:54right? And understand guys, product
- 1:15:56management is multi-dimensional.
- 1:15:59Not that you just create a great product
- 1:16:01and put all of your efforts into it and
- 1:16:02it is going to work. You need marketing,
- 1:16:04you need stakeholder management, you
- 1:16:06need a bit of understanding of
- 1:16:07technology, you need a bit of
- 1:16:08understanding of analytics so that you
- 1:16:10know if you are moving in the right
- 1:16:11direction. It's a multi-dimensional job.
- 1:16:15Right? So this is the story behind
- 1:16:17granola. Now let me go ahead and give
- 1:16:21you some more complicated examples.
- 1:16:23Okay? So
- 1:16:28tell me everyone
- 1:16:30if you ask chat GPT
- 1:16:33if you ask chat GPT that what is the
- 1:16:36most important item in my Google
- 1:16:38calendar tomorrow would it be able to
- 1:16:40answer?
- 1:16:42If you ask GP that what is the most
- 1:16:44important item in my calendar tomorrow
- 1:16:45would it be able to answer
- 1:16:55yes if you have not connected a Google
- 1:16:57calendar it would not be able to answer
- 1:17:00right and if I take example of let's say
- 1:17:04this particular product called as
- 1:17:05calendar is connected to Google but if I
- 1:17:07ask about notion then Gemini will also
- 1:17:09be not be able to answer Right.
- 1:17:12So now we have so much data in our
- 1:17:16calendar, in our to-do list, in our
- 1:17:18Jiraa dashboard, in our stripe document
- 1:17:19like stripe dashboard. But how do we
- 1:17:22make sure that all of this content is
- 1:17:25available to large language models so
- 1:17:27that they can go ahead and give us the
- 1:17:28answers. So rather than asking like
- 1:17:30rather than thinking that where is the
- 1:17:32PD what is the task that I need to do
- 1:17:33today from my Jira or notion I should
- 1:17:37just ask a query that what are the three
- 1:17:39things that I need to get done today and
- 1:17:40then it should give me the answer. Okay
- 1:17:42if I want to go to this level what I can
- 1:17:45do is a very simple approach that I can
- 1:17:48do is I can just go ahead and give all
- 1:17:50the data from my notion or stripe or
- 1:17:53atlation to the large language model.
- 1:17:58Okay. But when I give a lot of data to
- 1:18:00the large language model, what happens?
- 1:18:05The model runs out of context.
- 1:18:09Okay? Because these models
- 1:18:12cannot carry infinite context. Context
- 1:18:15means the kind of input that you can
- 1:18:18provide to these models.
- 1:18:20Right? So now we have to work we have to
- 1:18:23work hard to make sure that these models
- 1:18:24work. Okay? And also although companies
- 1:18:27are trying to increase the context
- 1:18:29window as much as possible,
- 1:18:32there has been research that is done by
- 1:18:34great people at Chroma which is a
- 1:18:36vector-based database company. They were
- 1:18:38able to find that as you increase the
- 1:18:42context, as you increase the context,
- 1:18:45the performance of the model goes down.
- 1:18:48Even if these people claim that our
- 1:18:50model can work in so much context, when
- 1:18:52these people actually tested multiple
- 1:18:54models, they were able to find in almost
- 1:18:57all the models that as the context or
- 1:18:58the input size increases, if you
- 1:19:01increase the size of your prompts, then
- 1:19:04the quality of performance actually
- 1:19:07reduces after a certain level. Right? So
- 1:19:11now understand as a product manager, so
- 1:19:13even if someone is not able to
- 1:19:14understand this or this, at least you'll
- 1:19:16be able to understand this. Okay. So
- 1:19:19when you give concise input context to
- 1:19:22the large language models, they appear
- 1:19:24to be very intelligent and very
- 1:19:26insightful and very careful. But when
- 1:19:29you go ahead and give them too large
- 1:19:30input, then they don't know what they
- 1:19:32are doing and they get confused.
- 1:19:34Okay. So now how to solve this? What we
- 1:19:37do is we have another methodology called
- 1:19:41as context engineering. Context
- 1:19:43engineering means how do you carefully
- 1:19:47curate what should go as an input to the
- 1:19:50large language model so that it is
- 1:19:53accurate so that you have given the
- 1:19:55right kind of information so that you
- 1:19:57are able to get the right kind of
- 1:19:59insight or output from the large
- 1:20:01language model
- 1:20:03right so this is called as context
- 1:20:05engineering so context engineering I am
- 1:20:07going to quote the person who has
- 1:20:11acquainted this term which is and
- 1:20:13Karpathi. So he says that context
- 1:20:16engineering is the delicate art and
- 1:20:19science
- 1:20:20of filling the context window with just
- 1:20:23the right information for the next step.
- 1:20:25Art and science means you have to apply
- 1:20:27your mind. You have to think creatively
- 1:20:30to give enough context to the large
- 1:20:31language model so that it is able to
- 1:20:33answer you in the most accurate format.
- 1:20:37Right? So this is context engineering
- 1:20:39and in context engineering we do
- 1:20:42multiple things. Okay. One of the point
- 1:20:44of context engineering is prompt
- 1:20:47engineering. How well you write the
- 1:20:49prompt is a part of context engineering.
- 1:20:52Okay. But apart from prompt what happens
- 1:20:54is you need to give some data about your
- 1:20:57software. For example,
- 1:21:00if you want to build a software called
- 1:21:02as notion AI. Okay. So
- 1:21:06let's say you will to you want to build
- 1:21:08a software called as not not motion AI
- 1:21:10but let's say you want to build a
- 1:21:17Bloomberg chatbot.
- 1:21:20What is a Bloomberg chatbot? Bloomberg
- 1:21:22is an organization which has access to a
- 1:21:25lot of financial data available in the
- 1:21:27world.
- 1:21:28Right? So now what you want to do is
- 1:21:31that whatever the data is available with
- 1:21:33Bloomberg you should be able to send a
- 1:21:35question to a large language model in a
- 1:21:37natural language and then it should be
- 1:21:39able to give you answer based on the
- 1:21:42content that is available with
- 1:21:43Bloomberg.
- 1:21:45Right? So here the problem is you cannot
- 1:21:49store all the content that Bloomberg has
- 1:21:53in the context window. You cannot have
- 1:21:55all this content as the input. Why?
- 1:21:56because it is going to run out of
- 1:21:58context. So what you will do is you will
- 1:22:01carefully build something called as a R
- 1:22:05a
- 1:22:06pipeline. Now this is a very important
- 1:22:08concept.
- 1:22:10Even if you remotely want to become an
- 1:22:12AI product manager or AI practitioner,
- 1:22:15you need to understand this. This is
- 1:22:16like a very basic thing that every
- 1:22:19person who calls themsel AI enabled has
- 1:22:22to understand. Okay. So rag means
- 1:22:27retrieval,
- 1:22:32augment
- 1:22:33and generate.
- 1:22:37retrieval, augment and generate.
- 1:22:41Okay. So what happens
- 1:22:44when
- 1:22:46someone comes to your house and they
- 1:22:49tell you that I need some sugar. Okay.
- 1:22:54When they tell you, "I need some sugar."
- 1:22:56You don't go to
- 1:22:58your study room and you do not look for
- 1:23:01sugar in you do not start by looking for
- 1:23:04sugar in your cupboard or in your
- 1:23:07wardrobe or in let's say your library or
- 1:23:10maybe under your sofa. What you do is
- 1:23:12you straight away understand that sugar
- 1:23:14is an item that might be available
- 1:23:18in my kitchen in a particular shelf. It
- 1:23:21might be possible you don't know that
- 1:23:23which part of shelf that it is put on
- 1:23:24but you know a particular shelf or maybe
- 1:23:26you at least know that it is going to be
- 1:23:27found in the kitchen. Similarly, if your
- 1:23:30kid asks for a book or if they ask for
- 1:23:32money, you do not go ahead and go
- 1:23:35anywhere else in the house. You know
- 1:23:36where the money is put. You are going to
- 1:23:37just pick the room where the money is.
- 1:23:41Then you are going to pick a particular
- 1:23:42wallet and then you are going to see in
- 1:23:45the wallet that yes in all of these four
- 1:23:47to five pockets there could be a place
- 1:23:49where I have put the money. Right? So at
- 1:23:52a high level you know that where this
- 1:23:53information is the same analogy can be
- 1:23:56drawn to rag. So in rag what we do is
- 1:24:01the first part is
- 1:24:04we get all the data. We get all the
- 1:24:07data. For example, we have PDFs or a
- 1:24:09better example is we have Bloomberg
- 1:24:11data.
- 1:24:13So Bloomberg data is they have a lot of
- 1:24:15files. So we are going to break down
- 1:24:18files into small small chunks maybe in
- 1:24:22the form of paragraphs. Okay. So we have
- 1:24:24one chunk, we have another chunk, we
- 1:24:26have another chunk. We are going to
- 1:24:27create all of these chunks which are
- 1:24:29small enough and meaningful enough.
- 1:24:32Okay. We are going to break down this
- 1:24:33data.
- 1:24:35Now in this data what we'll do is
- 1:24:40what we'll do is now we have the
- 1:24:41chunking of data. Now what we'll do is
- 1:24:43we will convert these data chunks into
- 1:24:47something called as vector embeddings.
- 1:24:49Now listen to this very very carefully.
- 1:24:50Super important. If you miss this you
- 1:24:52will miss rag. Okay I'll repeat this
- 1:24:55again.
- 1:24:57You will take the data whatever data is
- 1:25:00available you will break it down into
- 1:25:03small chunks and then when you have
- 1:25:05these small chunks you will create you
- 1:25:07will convert these chunks into vector
- 1:25:09embedding. So what is a vector
- 1:25:10embedding? So quick oneonone on vector
- 1:25:12embedding that
- 1:25:15like large language models we have also
- 1:25:18created algorithms
- 1:25:20which are able to create any form of
- 1:25:23text
- 1:25:26into a
- 1:25:28numerical
- 1:25:30representation
- 1:25:32numerical representation as in let's say
- 1:25:39I have a word called as cat
- 1:25:44right so I have created a mathematical
- 1:25:47representation of cat okay what is a
- 1:25:49mathematical representation I have
- 1:25:51assigned some numbers okay so let's say
- 1:25:53the number is 1a 2a 3 this is let's say
- 1:25:56x-axis y ais z ais okay right now to
- 1:25:59show you because we can only look at 3D
- 1:26:01I'm showing you three dimensional but in
- 1:26:03reality it can be n dimensional which is
- 1:26:05n is a very large number okay so we take
- 1:26:08words we take sentences
- 1:26:10Then we generate vectors from these
- 1:26:12sentences. Vector is this like this
- 1:26:14point
- 1:26:16right? And then what we do is
- 1:26:19we keep on generating these vectors.
- 1:26:23Just a moment.
- 1:26:30Yes. So we keep on generating these
- 1:26:32vectors and the beauty of these vectors
- 1:26:35is that somehow
- 1:26:39when you search for cat and when you
- 1:26:41search for lion
- 1:26:43lion okay because these belong to a same
- 1:26:47family they are going to be very closer
- 1:26:50to each other
- 1:26:53right? When you plot something like a
- 1:26:56pat it is going to be much closer but
- 1:26:59when you go ahead and plot something
- 1:27:01like a table then it is going to be far
- 1:27:04from cat.
- 1:27:06So mathematically
- 1:27:08computer scientist has been able to
- 1:27:10create this vector thing. So what this
- 1:27:12vector thing does is it will take a
- 1:27:14sentence or a piece of information. It
- 1:27:17will convert it into a numerical
- 1:27:19identity which is a vector and then
- 1:27:22these vectors are created in such a way
- 1:27:23that if you go ahead and compare these
- 1:27:26vectors with other words based on the
- 1:27:29distance you will understand how much
- 1:27:30this word is similar to that word or not
- 1:27:32in the meaning
- 1:27:34right. So this is vector embedding.
- 1:27:38Okay. So what is happening here? We have
- 1:27:42had the content and the text. We have
- 1:27:44converted them into long sentences of
- 1:27:46vector embedding which is numerical
- 1:27:48numbers. Okay. Now what happens?
- 1:27:52And then we are going to store these
- 1:27:54vector embeddings into a vector
- 1:27:55database.
- 1:27:58Right? So now we have the data ready. We
- 1:28:00have data ready to be searched. So now
- 1:28:02what will happen whenever
- 1:28:07just a moment where is that?
- 1:28:12Yes. So this is rag.
- 1:28:15Look at this very carefully everyone. So
- 1:28:17there are two parts of rag. First we are
- 1:28:18creating the knowledge base. What we
- 1:28:20have done is we have taken all the
- 1:28:22content whether it is text, PDF,
- 1:28:24transcript code or any Bloomberg data.
- 1:28:27We have converted that into small small
- 1:28:29chunks, small information of data and
- 1:28:32after that we have created vector
- 1:28:34embeddings and then once we have created
- 1:28:36vector embeddings understand there are
- 1:28:38standard
- 1:28:40programming code or functions to create
- 1:28:42these vector embeddings.
- 1:28:44Okay, once the vectors embeddings are
- 1:28:46created they are stored in vector
- 1:28:47storage. There are multiple databases
- 1:28:50that give you by default vector storing
- 1:28:53which is pine cone, superbase, AWS S3,
- 1:28:57vector storage. It gives you all of
- 1:28:59that. Okay. Now what happens? A user
- 1:29:03gives a query. The query is how has
- 1:29:05Tesla performed in the last quarter?
- 1:29:08Okay. Now what will happen?
- 1:29:11This query
- 1:29:13would be converted into an embedding. It
- 1:29:15will again be converted into vector. Now
- 1:29:17what will happen? We have two vectors.
- 1:29:19One is the vectors that are stored.
- 1:29:22Other is this vector. So if we want to
- 1:29:24see what are the vectors which are
- 1:29:25similar to this vector which is where
- 1:29:27this information is stored. Right? Where
- 1:29:30is that let's say what where is that I
- 1:29:34would say wardrobe or where is that
- 1:29:36place where where in my kitchen the
- 1:29:39sugar might be stored. Okay. So it is
- 1:29:42going to go ahead and understand this
- 1:29:44embedding and then you are going to
- 1:29:46search for things which are similar to
- 1:29:49this embedding in this database.
- 1:29:52Okay. And you are going to pick maybe 1
- 1:29:552 3 5 10 things based on your algorithm
- 1:29:59based on your needs which are most
- 1:30:01similar to this particular vector. So
- 1:30:05you will have things which are most
- 1:30:06similar to this particular vector. Then
- 1:30:07what you will do is you will have some
- 1:30:09information. The information is you will
- 1:30:11go ahead and get this information and
- 1:30:14then this will be your final prompt. So
- 1:30:16now you have taken the vector you have
- 1:30:19found what are other similar vectors.
- 1:30:21Now you have created a list of the
- 1:30:22vectors which you have found. Now
- 1:30:24finally you will get this.
- 1:30:29Now finally you will have this. So you
- 1:30:32will give this prompt to the large
- 1:30:36language model. Just a moment.
- 1:30:42Yes, you will give
- 1:30:46this prompt to the large language model.
- 1:30:48Please observe this very carefully.
- 1:30:50Answer the question using the context
- 1:30:52below. This is the context. So, chunk
- 1:30:54one, chunk two, whatever has been
- 1:30:56retrieved from there. Whatever
- 1:30:57information, okay, that information in
- 1:31:00the text form, it will be written there.
- 1:31:03Plus this is the question from the user
- 1:31:05which is the query which is this
- 1:31:08how has Tesla performed in the last
- 1:31:09quarter
- 1:31:11right and then eventually you are going
- 1:31:13to go ahead and get give this prompt
- 1:31:16to the large language model cloud
- 1:31:18Germany or anything and then you are
- 1:31:19going to go ahead and get your answer.
- 1:31:21This is rag in a nutshell. So we first
- 1:31:24create a vector knowledge base
- 1:31:28then we get a query. We match that query
- 1:31:31for all the similar terms in the vector
- 1:31:32database. Then we get all the
- 1:31:35information. We create a prompt. Then we
- 1:31:36send it to the LLM and then we get the
- 1:31:38answer. So now with rag what happens is
- 1:31:42you do not have to store all this
- 1:31:43information into your model or in the
- 1:31:47context. You can just cherrypick the
- 1:31:49information that is very relevant to
- 1:31:51that particular information the prompt
- 1:31:53and then you can get all the information
- 1:31:54at once.
- 1:31:56Okay, everyone a quick yes or no if you
- 1:32:00are able to understand this.
- 1:32:08Amazing. Great. Super.
- 1:32:14Yes, people are not able to understand.
- 1:32:16uh if you just go ahead and uh submit
- 1:32:19the feedback form in the last like in
- 1:32:22the next 10 minutes I will give you the
- 1:32:24recording so that you can go ahead and
- 1:32:25do a revision. Cool.
- 1:32:28Yes.
- 1:32:32Cool. Uh guys, tokens and embeddings are
- 1:32:34different. Embedding is actually a
- 1:32:38meaningful representation of that
- 1:32:40particular sentence. Okay. But token is
- 1:32:43just let's say a vocabulary. Okay. It is
- 1:32:47just a numerical representation of
- 1:32:49particular word. Okay. Now this is rag.
- 1:32:53Now in order to help you understand
- 1:32:55better I have created a small app that I
- 1:32:58have white coded very recently. Let me
- 1:33:00show it to you.
- 1:33:08Yes. So this is a simple rag process
- 1:33:11visualizer
- 1:33:13which I created in just 10 minutes using
- 1:33:16cursor and chat GPD. Okay. And in the
- 1:33:18program that we offer at LOPM, we are
- 1:33:20going to teach you how to do all of
- 1:33:21this. Okay. So let me show you what
- 1:33:24happens in that. So I've told you that
- 1:33:26in DAG, what happens? You have a piece
- 1:33:28of information. You first convert it
- 1:33:30into chunks, right? After that you
- 1:33:33create embeddings.
- 1:33:35After that you convert it into and save
- 1:33:37it to vector.
- 1:33:39And once the vector is created, you are
- 1:33:41going to write a query,
- 1:33:43you are going to write a query and then
- 1:33:46from that query, you are going to match
- 1:33:48what are the matching chunks, how many
- 1:33:49chunks you want to match and then you
- 1:33:51will go ahead and compose the query as
- 1:33:53in the prompt is going to be composed
- 1:33:55and then you will generate the answer.
- 1:33:57Okay. So let us see how it works. So I
- 1:34:00will take this thing. So I have written
- 1:34:02like a this log a very long time ago. So
- 1:34:05let me go ahead and do this.
- 1:34:07So I have taken this piece of
- 1:34:09information. Let's say till this I can
- 1:34:11take any kind of information.
- 1:34:14I will go to this. I will paste this
- 1:34:17content.
- 1:34:18Now the chunk size is 350 which is it is
- 1:34:22going to take 350 characters in a
- 1:34:24particular chunk and the overlap of 80
- 1:34:27which is the there would be overlap of
- 1:34:3080 characters between the first and the
- 1:34:31second and the third chunk. Okay. So I
- 1:34:34will just go ahead and create chunk
- 1:34:36document.
- 1:34:38Now look at this chunks are created.
- 1:34:40This is the first chunk. This is the
- 1:34:43second chunk. This is the third chunk.
- 1:34:46This is the four chunks. Understand this
- 1:34:49chunk was removed here. So it is in this
- 1:34:52detail 4,000 words guide setting the
- 1:34:54context how to build then rather than
- 1:34:56how. Okay. So now there is overlap in
- 1:34:58this chunk. So 50 characters are over
- 1:34:59overlapped so that all the chunks have a
- 1:35:02meaningful information. So now we have
- 1:35:04created the chunks.
- 1:35:07Okay. So what is chunking? Breaking down
- 1:35:10information into smaller parts so that
- 1:35:11they are meaningful and smaller enough.
- 1:35:13Okay. Understand? You cannot use the
- 1:35:16same chunking method methodology for
- 1:35:18every application. If you're using rag
- 1:35:21for code in order to retrieve code and
- 1:35:23in order to generate code the chunking
- 1:35:25has to be done mostly at the functional
- 1:35:27level. If you are creating for a book
- 1:35:30then maybe it can be done at a chapter
- 1:35:31level. If you're doing it for a meeting
- 1:35:33it can be done at a maybe uh at a
- 1:35:36paragraph level. So chunking depends
- 1:35:38upon the product that you are creating
- 1:35:39and tomorrow I'm going to tell you an
- 1:35:40evaluation that is how to decide your
- 1:35:42chunking strategy. Okay. So this is
- 1:35:44chunk. Now I will create embeddings.
- 1:35:46I'll create on embeddings
- 1:35:48and then the embeddings are created.
- 1:35:50Okay. So if I look at this these are the
- 1:35:51embeddings guys.
- 1:35:54These are the embeddings. Okay. Okay. So
- 1:35:56for every chunk I have created vector
- 1:35:59embeddings. Okay. And this graph that
- 1:36:01you are able to see let me zoom it up a
- 1:36:04bit.
- 1:36:09So this graph that you are able to see
- 1:36:10is a representation of the vector. Now I
- 1:36:13will press the next button
- 1:36:16to save to vector DB and then it will be
- 1:36:18saved locally. Okay. This is not
- 1:36:21connected to any server. So this is
- 1:36:22going to be saved locally. And after
- 1:36:25this,
- 1:36:29yes. And after this
- 1:36:32I will write a query. The query is
- 1:36:37what is AI
- 1:36:39product
- 1:36:41management.
- 1:36:43Okay. And I want to retrieve three
- 1:36:45chunks. Retrieve relevant chunks. And
- 1:36:48then these are the chunks.
- 1:36:52So these chunks because there is product
- 1:36:54management and all it is is being
- 1:36:57accessed here. So these are the most
- 1:36:59relevant piece of information that I
- 1:37:00need to store here. So this is chunk
- 1:37:02number eight, chunk number two, chunk
- 1:37:04number three. If I click on this, I'll
- 1:37:05be able to see the complete chunk. Okay,
- 1:37:08this is the cosine which is how distant
- 1:37:12these things are from each other and
- 1:37:13from my vector.
- 1:37:15Okay. And then eventually what I'll do
- 1:37:17is I'll just create on compost query.
- 1:37:21Now the query is composed.
- 1:37:23And this is the query. Answer the
- 1:37:25following query based on only the
- 1:37:27provided data. User query. What is data
- 1:37:29product management? What is I product
- 1:37:31management? And these are
- 1:37:33these are the chunks three chunks.
- 1:37:37Okay. And then when I click on this,
- 1:37:39this will be sent to a large language
- 1:37:41model and then I'll get the answer. But
- 1:37:42I have not connected the LM because I
- 1:37:44don't want to pay. And then we have this
- 1:37:46answer. Okay. But I can always go ahead
- 1:37:48and put my open AI key here API key in
- 1:37:51order to do this. Then the answer would
- 1:37:53be generated.
- 1:37:56Okay. Everyone tell me on a scale of 1
- 1:37:58to five if you're able to understand rag
- 1:38:00now.
- 1:38:03Cool.
- 1:38:12Wonderful.
- 1:38:15People who are four, I would recommend
- 1:38:16you to watch the recording once more and
- 1:38:18then you'll be able to understand.
- 1:38:23Yes.
- 1:38:25Cool. So, this was about rag. Super
- 1:38:26important concept everyone needs to
- 1:38:28understand. It will also improve your
- 1:38:30problem solving capabilities. Now, the
- 1:38:31next part is
- 1:38:33prompt engineering. Okay. So guys, I'll
- 1:38:37only take 10 more minutes and then I
- 1:38:41will share the feedback form. So if you
- 1:38:42have been here in this session for so
- 1:38:44long, please remain for another 10
- 1:38:45minutes so that we can share the
- 1:38:47feedback form and you can learn the
- 1:38:48prompt engineering as well. Okay.
- 1:38:55Yes.
- 1:38:59Cool. So now we'll talk about prompting.
- 1:39:02So understand guys,
- 1:39:05you need to understand how to give
- 1:39:07instructions to your model.
- 1:39:10In order to give the right data, you
- 1:39:11have understood you have to use rag.
- 1:39:14But in order to give instructions, you
- 1:39:16need to understand that you need to
- 1:39:17learn prompt engineering. Prompt
- 1:39:19engineering, no matter what the world
- 1:39:21says, it is a super important skill in
- 1:39:23today's world. Okay? because you are
- 1:39:27using let's say AI and LLMs for so much
- 1:39:32of your time in a day. It is worth
- 1:39:34investing a couple of hours in order to
- 1:39:36learn prompt engineering and also if you
- 1:39:39are working as a product manager as an
- 1:39:41AI product manager prompt engineering is
- 1:39:44your way to interact with the LLMs.
- 1:39:47Okay. So it is worth investing few hours
- 1:39:49of your time in order to build great
- 1:39:51products. Okay. So this is also a guide
- 1:39:53on prompt engineering. So understand
- 1:39:56this products such as Fireflaws,
- 1:39:57Firefly, Gong, Granola which are almost
- 1:40:00a billion dollar companies or at least
- 1:40:02multi-million dollar companies. They are
- 1:40:03based on these kind of prompts. So you
- 1:40:05should know how to learn these prompts
- 1:40:07and I'm going to go ahead and give you
- 1:40:09some I'll also share this guide with
- 1:40:11you. But right now let me share with you
- 1:40:13few tips to improve the prompt.
- 1:40:17Okay. So right now everyone
- 1:40:21tell me out of 1 to5 how would you rate
- 1:40:23yourself on your prompt engineering
- 1:40:24skills? How would you rate yourself on a
- 1:40:27scale of 1 to five on your prompt
- 1:40:28engineering skills?
- 1:40:31Three. Don't give yourself three. Three
- 1:40:33is a very diplomatic answer.
- 1:40:44Yes.
- 1:40:46Many modest answers. Yes. any
- 1:40:49reflective answers. Okay. So, first of
- 1:40:50all is first is please take a step back.
- 1:40:54So, I'll not give you a very uh
- 1:40:55exhaustive guide that you're not able to
- 1:40:57even read.
- 1:40:59I'll give you a very simple guide and
- 1:41:01this guide follows the parto principle.
- 1:41:03If you invest what is like if you learn
- 1:41:06these 20% of the skills as a prompt
- 1:41:08engineer 80% of your efforts like
- 1:41:10problems are going to get solved. The
- 1:41:12first piece of advice is please take a
- 1:41:15step back. Okay, understand the value of
- 1:41:19prompts.
- 1:41:21What happens is the unfortunate reality
- 1:41:23is that when you go to chat GPT or
- 1:41:28Gemini when you give it an very awful
- 1:41:31prompt, it will still be able to give
- 1:41:34you an answer most of the time because
- 1:41:37it has given you an answer. Okay, answer
- 1:41:39you go ahead and move forward from there
- 1:41:42and then you start working on whatever
- 1:41:43you are working on. Okay. But understand
- 1:41:45always remember
- 1:41:48in many phrases in many places in your
- 1:41:51life
- 1:41:54good
- 1:41:56can be the enemy of best.
- 1:42:00Okay. In many places in your life
- 1:42:03good
- 1:42:05can be the
- 1:42:07enemy
- 1:42:09of best. which means you have to
- 1:42:13understand and recognize what is the
- 1:42:15value of this task and is it worth
- 1:42:17investing a couple of more minutes or
- 1:42:19five seven more minutes in order to
- 1:42:21write this prompt well. Okay. So the
- 1:42:23first advice that I have for you is
- 1:42:25please take a step back and understand
- 1:42:27if it is worth investing time in that
- 1:42:29particular prompt if it is giving you
- 1:42:30that many results. Okay. The second part
- 1:42:33is right role. Whenever you go ahead and
- 1:42:36start using an NLM please try to give it
- 1:42:38a role. role means try to say it, try to
- 1:42:40tell it that act as a person with 160
- 1:42:46plus IQ or act as a seasoned product
- 1:42:49manager
- 1:42:50or act as someone who is a seasoned
- 1:42:54psychological therapist. Right? So give
- 1:42:57these personas to the LLM so that it is
- 1:43:00able to perform well. If you want to
- 1:43:02experiment, you can share two prompts
- 1:43:04with chat GPT or china or anything. In
- 1:43:06one give a very like give it a very
- 1:43:09solid persona in one don't give it a
- 1:43:10persona. You'll be able to observe the
- 1:43:12answers.
- 1:43:14Right? So the first piece of advice is
- 1:43:15please give it a right. The second piece
- 1:43:18of advice is please write the output
- 1:43:21expectation. Output expectation as in
- 1:43:25you want JSON as an output. You want a
- 1:43:28table. You want to make sure that these
- 1:43:30mistakes are not repeated. Please write
- 1:43:32it explicitly. You have to be very very
- 1:43:34specific. If you're not specific, it is
- 1:43:36going to do anything and then you cannot
- 1:43:37go ahead and control it. Right? The
- 1:43:40third part is multistep. Multistep means
- 1:43:44rather than telling your large language
- 1:43:46model to give you answer at once, ask it
- 1:43:49to think in a step and give you a
- 1:43:50step-by-st answer. If you know the step,
- 1:43:52you can tell it the step. If you do not
- 1:43:53know the step, go ahead and ask it to
- 1:43:56tell you the step. For example, rather
- 1:43:58than asking chat GPD that how would I
- 1:44:00improve this product LinkedIn, I would
- 1:44:02ask it that I want to improve LinkedIn.
- 1:44:05Please follow these steps in order to
- 1:44:06suggest me the improvements. First
- 1:44:08understand who are the different users.
- 1:44:10Then understand their important
- 1:44:12problems. Then give me what are the uh
- 1:44:15what are the top priorized three
- 1:44:16problems. Then give me the solution of
- 1:44:18these problems. Then prioritize these
- 1:44:20problems and prioritize the solution and
- 1:44:22then give me a particular solution. Now
- 1:44:24when you are focus like forcing chat GPD
- 1:44:26to work in this manner you are more
- 1:44:28probably like to get a better answer.
- 1:44:31Okay. So please do the thinking. Let it
- 1:44:34do the thinking in multiple steps. Okay.
- 1:44:37After this give examples. This is also
- 1:44:39called as few short prompting.
- 1:44:43Few short prompting means you are giving
- 1:44:45it few examples.
- 1:44:48You are giving it few examples that this
- 1:44:51is the format that you should follow or
- 1:44:52these are the examples that make sure
- 1:44:54that you are able to go ahead and get
- 1:44:56the right content. Right? And then we
- 1:44:58have constraints. So in example what you
- 1:45:01can do is whenever you are writing any
- 1:45:04piece of blog or any piece of article
- 1:45:06that you want to learn from
- 1:45:09go ahead copy the best author that you
- 1:45:13know copy their blog and then give it to
- 1:45:15Chad Gigi. Okay. For example, what I do
- 1:45:18is whenever I write some piece of
- 1:45:19content because I have put a lot of
- 1:45:22efforts in writing this particular
- 1:45:24guide, I copy this guide and I go to
- 1:45:27chat GPT and I ask that go ahead. So let
- 1:45:29me show it to you.
- 1:45:33So this is Chad GPT. I am asking Chad
- 1:45:35GPT to write a detailed
- 1:45:39article on AI
- 1:45:44on
- 1:45:45mistakes that people make while learning
- 1:45:51AI product management.
- 1:45:57Right now we will see the output.
- 1:46:05Yes. So you can see that it is writing.
- 1:46:08It is doing like a pretty interesting
- 1:46:10job, right?
- 1:46:16In the meanwhile, I'll also open a new
- 1:46:18chat.
- 1:46:26Right? So it has written this. You can
- 1:46:28see that it is uh well created. This is
- 1:46:30point number one. Point number two,
- 1:46:32point number three, four, this, this,
- 1:46:35this, this, this. Right? I'm still
- 1:46:38writing. Right? This is good one. Right?
- 1:46:40Now, what I'll do is I will copy this
- 1:46:42article.
- 1:46:46I will copy this complete article.
- 1:46:50Maybe a Ctrl C.
- 1:46:57Right. So, okay.
- 1:47:01First I'll go to this
- 1:47:10then I will write. So I've written the
- 1:47:11sim similar prompt. Now I'm writing
- 1:47:14make sure to follow the similar
- 1:47:20structure
- 1:47:26voice and helpfulness.
- 1:47:30from this example.
- 1:47:34Okay. And I can go ahead and either I
- 1:47:36can go ahead and uh give it the link. It
- 1:47:39will be able to crawl the link or I can
- 1:47:40just go ahead to be
- 1:47:43assured I can go ahead and give it
- 1:47:47this content.
- 1:47:49Okay.
- 1:47:50So now I have given an example. Let us
- 1:47:52see how it works.
- 1:48:01Yes. Now you look at this. Okay. Rather
- 1:48:05than straight away jumping to what you
- 1:48:08should do, what you should not do,
- 1:48:09rather than straight away jumping to
- 1:48:11actionable, it is first setting the
- 1:48:12context. Why do you need this? This is a
- 1:48:15quick context and then it is able to
- 1:48:17give you
- 1:48:20multiple mistakes and then how you can
- 1:48:21go ahead and avoid these mistakes.
- 1:48:25Right? This is a slightly better
- 1:48:27structure than you could have got in the
- 1:48:29first way. So this is called as few
- 1:48:32short prompting where you give examples
- 1:48:36to your large language model as in how
- 1:48:37they should operate.
- 1:48:39Right? And
- 1:48:42the other part is the similar example
- 1:48:44which is constraints.
- 1:48:46Please give constraints. Constraint as
- 1:48:49in be helpful like this. Okay. Or
- 1:48:52constraint as in if you want constraint
- 1:48:54in terms of
- 1:48:56what do we call it? If you want large
- 1:48:59language model to not do something then
- 1:49:01you should always include them as
- 1:49:03explicit constraints. Okay. For example,
- 1:49:06sometimes large language models assume a
- 1:49:09lot. Large language models actually
- 1:49:12assume a lot.
- 1:49:15Large language models assume a lot. So
- 1:49:17you can go ahead and tell them that
- 1:49:18please do not assume only take check the
- 1:49:21information that is available in this
- 1:49:23context that I have shared with you.
- 1:49:25Similarly, you'll understand more about
- 1:49:27constant when we talk about iteration.
- 1:49:28So understand prompt engineering is
- 1:49:31called engineering. Prompt engineering
- 1:49:33is called engineering because it is
- 1:49:35iterations
- 1:49:37which is you tweak your way around. You
- 1:49:39give it a prompt. You understand that I
- 1:49:42got the output but the output does not
- 1:49:44follow these rules or the output is not
- 1:49:47good in this particular way. So you are
- 1:49:49going to understand the output and then
- 1:49:51you are going to give it the constraint
- 1:49:52that boss make sure that you are not
- 1:49:54taking unnecessary assumptions. Make
- 1:49:57sure that you are not using examples
- 1:49:59which are let's say very much vague or
- 1:50:02generic. Use specific examples. Okay. So
- 1:50:05when you go ahead and apply all of these
- 1:50:07steps and when you keep on iterating
- 1:50:10on top of all of these six steps you are
- 1:50:14going to learn how to design better
- 1:50:16products.
- 1:50:17Okay. Now even after I give you all of
- 1:50:20this I know that most of the people are
- 1:50:22lazy and they are not going to follow
- 1:50:23this. So now I'm going to give you a
- 1:50:25prompt guide for busy people. Okay. So
- 1:50:28four things that everyone should learn
- 1:50:30and then we are going to wrap up the
- 1:50:31session. First is please build a prompt
- 1:50:33directory. Whenever you come across good
- 1:50:36prompts have a notion document or a
- 1:50:38Google doc where you are storing all of
- 1:50:39these things. Okay? So that you don't
- 1:50:41have to find your way through good
- 1:50:43prompts every time. Right? Second is
- 1:50:45quick shortcuts. Okay? Keep a bookmark
- 1:50:49where you are able to access this
- 1:50:51library as soon as possible. So what I
- 1:50:53do is whenever I want to write something
- 1:50:56I do not want to find a writing pad.
- 1:50:57What I do is I just click on this new
- 1:50:59tab and then I have all of my notes from
- 1:51:02notion available here.
- 1:51:05Okay, Chrome new tab is the name of the
- 1:51:07extension and then it is going to load
- 1:51:08here. Right now I think notion is down
- 1:51:10so it is not loading but now it has
- 1:51:11loaded. Okay, so all of my notes and
- 1:51:14everything is here. So what I've done is
- 1:51:16I have set up a Chrome extension where
- 1:51:18whenever I click on this new tab button
- 1:51:20it will automatically load my dashboard.
- 1:51:22so that I don't have to run here and
- 1:51:23there. I can just go ahead and click on
- 1:51:25this and then I can start writing my
- 1:51:26notes and my prompt directory is also
- 1:51:28there. Right?
- 1:51:31The other piece of advice is use a
- 1:51:34prompt manager. Okay? So there are
- 1:51:36multiple prompt managers. You can use
- 1:51:38any one of them. And you can also use
- 1:51:41this prompt wild card. Okay. If you are
- 1:51:43too lazy to write your own prompt, you
- 1:51:45can also get this wild card which is
- 1:51:47analyze the following prompt idea.
- 1:51:51Analyze the following prompt idea.
- 1:51:53Insert prompt here. Rewrite the prompt
- 1:51:55for clarity and effectiveness. Identify
- 1:51:57potential improvements or additions.
- 1:51:59Refine the prompt based on identified
- 1:52:00improvements. Present the final
- 1:52:02optimizing prompt. Okay. And also there
- 1:52:05is a prompt
- 1:52:08creator from anthropic. Okay. So there
- 1:52:11is a prompt creator called as
- 1:52:15anropic
- 1:52:19prompt
- 1:52:21creator. Okay, where you can go ahead
- 1:52:24and create prompts. So it would be
- 1:52:27somewhere or have to login in order to
- 1:52:29see this. But you should be able to go
- 1:52:31ahead and generate this from cloud
- 1:52:32console.
- 1:52:34Okay. Once you log in, it will give you
- 1:52:36a prompt uh creator so that you can go
- 1:52:37ahead and create your own prompts which
- 1:52:39are much better than what you would have
- 1:52:40gone ahead and written by yourself.
- 1:52:43Okay. So this is about
- 1:52:46the guide to prompt engineering for busy
- 1:52:48people. Now in tomorrow's session what
- 1:52:50we'll do is we will talk about notebook
- 1:52:54LM how does it works. We will talk take
- 1:52:57the similar kind of case studies. We'll
- 1:52:58detail it enough. Then we'll talk about
- 1:53:00fine-tuning. Then we'll talk about how
- 1:53:03to choose between fine-tuning, prompt
- 1:53:04engineering and rag. And then we'll talk
- 1:53:06about AI agents. Then I'll give you how
- 1:53:09products such as lovable, bolt,
- 1:53:10emergent, and visero works. And then we
- 1:53:13are going to go ahead and talk about
- 1:53:15MCPS. And then eventually I'll give you
- 1:53:17some examples of how to write AI
- 1:53:19evaluations. Okay, this is going to be
- 1:53:21tomorrow. But guys understand whatever
- 1:53:23I'm telling you in these two sessions
- 1:53:26this is just 10% of what we offer in our
- 1:53:30bigger program at hello. Okay. So at
- 1:53:32hello we have created the world's most
- 1:53:35detailed AI product management program.
- 1:53:39Okay. If you want to understand anything
- 1:53:40about the program just go to this
- 1:53:42website called hellopm.co
- 1:53:44click on this video and then I'll
- 1:53:45explain you what that content is. Okay.
- 1:53:48This is the most detailed, the most
- 1:53:51practical and the most long-term support
- 1:53:53AI product management program that you
- 1:53:54can find. The content that I've told you
- 1:53:56today is just 10% of what we teach in
- 1:53:58the program just in the first two
- 1:53:59classes. We will make sure that tomorrow
- 1:54:01you'll get a much more power pack
- 1:54:04session. So thank you everyone. Bye and
- 1:54:07take care. If you have any queries, you
- 1:54:08can use the same form to publish these
- 1:54:09queries. Tomorrow we are going to meet
- 1:54:11at the same time. Make sure that you
- 1:54:13also go ahead and bring your friends.
- 1:54:15Thank you everyone. Bye and take care.
- 1:54:16You have been a great audience. I hope
- 1:54:18you got some value from this session and
- 1:54:19the two hours that you have invested.
- 1:54:21We'll meet everyone tomorrow. Thank you
- 1:54:24everyone. Take care. Today is the day
- 1:54:26two of AI product management masterass
- 1:54:30and we are going to give you almost
- 1:54:32everything that you need to get started
- 1:54:34in your journey as an AI product
- 1:54:36manager. This is the foundation. Now you
- 1:54:39can go ahead and explore the whole
- 1:54:41canvas in order to go into detail. But
- 1:54:44these are the major building blocks that
- 1:54:45you need to absolutely know if you
- 1:54:47really want to call yourself as an AI
- 1:54:49product management enthusiast. Right?
- 1:54:52And because AI product management is so
- 1:54:54new, even if you are coming from a very
- 1:54:56senior background or you are just
- 1:54:58aspiring to be a product manager just
- 1:55:00straight out straight out of college,
- 1:55:02this content is going to be equally
- 1:55:04useful for you. So yesterday what we
- 1:55:06have done, we have talked about the
- 1:55:08agenda. I talked to you about what is
- 1:55:09the GI revolution. lot of companies are
- 1:55:12building value on the top of this geni
- 1:55:13revolution then even in our normal lives
- 1:55:16AI has found its way right
- 1:55:21yes
- 1:55:23cool
- 1:55:25I will stop the chat for some time so
- 1:55:27that you guys are not getting distracted
- 1:55:29yes cool so AI has also found the way
- 1:55:34onto our daily lives and almost every
- 1:55:37day we are using chat GPT or Gemini or
- 1:55:39some of the other AI tools tools in
- 1:55:41order to make ourselves more productive
- 1:55:42and grow the impact of our work. Right?
- 1:55:45And then I talked about the most
- 1:55:49fundamental unit why this AI boom has
- 1:55:52started which is because of a particular
- 1:55:54technology called large language models.
- 1:55:57These large language models, these large
- 1:55:59language models are algorithms that are
- 1:56:02trained on massive amount of text and
- 1:56:05they have learned the patterns of
- 1:56:07language really well and they are now
- 1:56:09acting as the brain of the computers.
- 1:56:12And now what is happening? They are
- 1:56:13enabling us to understand, generate and
- 1:56:16reason with natural language by
- 1:56:17predicting the next token most likely or
- 1:56:19the token in the context. And I have
- 1:56:20told you yesterday how all of these
- 1:56:22things actually work. I have given you
- 1:56:24the whole architecture of what an LLM
- 1:56:26is. The content is like you will go
- 1:56:28ahead and take all the content as a
- 1:56:30training data from the internet. You
- 1:56:32will break it down into input and
- 1:56:33output. Then you are going to tokenize
- 1:56:36it. You are going to send the input from
- 1:56:37here. The neural network or the
- 1:56:40transformer is going to predict the next
- 1:56:42token. And then whatever is the right
- 1:56:44token from the uh training data, you are
- 1:56:46going to compare it. Then whatever is
- 1:56:48the difference, the feedback is going to
- 1:56:49be sent to the transformer again. And
- 1:56:51then it will keep on iterating. When
- 1:56:53this cycle happens billions and
- 1:56:54trillions of time, you will have a very
- 1:56:57mature model, right? But this model is
- 1:57:00only a base model. It is trained on some
- 1:57:04random data from the internet. So it it
- 1:57:06has certain kind of biases. It
- 1:57:07hallucinates a lot. So what we do is we
- 1:57:10go ahead and do something called as post
- 1:57:12training. Questioning means we are going
- 1:57:14to have some human labelers or we are
- 1:57:17going to have some data analytors who
- 1:57:18are going to give some specific input
- 1:57:21and output maybe in this particular
- 1:57:24format.
- 1:57:26Wait.
- 1:57:32Yes. Maybe in this particular format
- 1:57:35where
- 1:57:37we are going to insert this kind of data
- 1:57:39like well articulated inputs and well
- 1:57:41articulated outputs so that the human
- 1:57:44can the uh uh algorithm can go ahead and
- 1:57:47learn from the same. Okay. This is
- 1:57:49called a supervised learning. And one
- 1:57:51part of that learning is also called
- 1:57:52reinforcement learning through human
- 1:57:54feedback which is humans are telling how
- 1:57:57what is correct and what is incorrect.
- 1:57:59Right? Humans are reinforcing the
- 1:58:00correct things by giving the rewards to
- 1:58:02the LLM. Now after that
- 1:58:05we talk about the genai value stack. So
- 1:58:08there is multiple kind of values. For
- 1:58:09example there are companies who are
- 1:58:11creating infrastructure such as these
- 1:58:12big Nvidia and Google. Then there are
- 1:58:14company who are creating the models. You
- 1:58:16know about anthropic and open AI. Then
- 1:58:18there are companies who are building on
- 1:58:21top of these large language models. This
- 1:58:23is where most of the value unlock is.
- 1:58:25And then we have companies and people
- 1:58:27who are actually using these AI tools in
- 1:58:29order to make their clients happy, solve
- 1:58:32their problems and also solve their own
- 1:58:34problems. Right? And then I discussed
- 1:58:37about type of AI PMs. Everyone who is
- 1:58:39using AI is AI enabled PM AI tools such
- 1:58:41as chat GPD and all. Anyone who is using
- 1:58:43AI tools is a AI enabled PM. And then we
- 1:58:46have other type of PM which are more
- 1:58:47serious PMs. These are PMs who are
- 1:58:50either working on core technologies such
- 1:58:52as databases, models, infrastructure and
- 1:58:54then there are people who are working on
- 1:58:56the application layer and these are
- 1:58:58people who are actually using these LLMs
- 1:58:59and models and everything in order to
- 1:59:01build some truly AI products. Agents are
- 1:59:04one of the examples. Chat GP is one of
- 1:59:06the examples. Grammarly is one of the
- 1:59:08example. Lovable is one of the examples.
- 1:59:10So if you are building these products
- 1:59:12not building with these product you are
- 1:59:13building these products then you are an
- 1:59:15applied AIPM and the purpose of this
- 1:59:17session is to help you understand the
- 1:59:19core AIPM part and the applied AIPM
- 1:59:21part. Okay, for this part we have
- 1:59:23already uploaded a lot of content
- 1:59:25on our YouTube channel that you can see
- 1:59:28right then
- 1:59:31I talked about
- 1:59:33how this application these meeting
- 1:59:36assistant such as granola works okay and
- 1:59:38not only granola but if you take any of
- 1:59:40the meeting assistant such as fireflies
- 1:59:42fed them or anything everyone works in a
- 1:59:44similar format the format is whenever
- 1:59:47you want to
- 1:59:49create a product as a product manager
- 1:59:51manager understand please do not look
- 1:59:53only from the engineering or the AI
- 1:59:55angle. You are the product manager who
- 1:59:58is responsible to bring the user
- 2:00:00outcomes and the business outcomes. So
- 2:00:02please look at these five things. The
- 2:00:04first thing is what is the value that is
- 2:00:06being generated for the users? Why would
- 2:00:08the users use it? Second is what is the
- 2:00:10business value that is generated. Then
- 2:00:12there is how do you make design so
- 2:00:14intuitive that people are able to use it
- 2:00:16easily and then how it is feasible with
- 2:00:19the help of engineering. So all the
- 2:00:21system architecture is going to come
- 2:00:22here and then growth and adoption. In
- 2:00:24granular we knew that this product helps
- 2:00:27us save time by recording our meetings
- 2:00:30and sending us the summary. How does it
- 2:00:33helps a business? The business should
- 2:00:35invest in granular in creating granular
- 2:00:37because there is a large opportunity in
- 2:00:39meeting apps. So it is going to make
- 2:00:41money. Similarly, how do we make this
- 2:00:43intuitive to the users? By making the
- 2:00:45design very intuitive. How do we make it
- 2:00:47intuitive? We make the design intuitive
- 2:00:49by making sure that just after logging
- 2:00:52and connecting connecting granular
- 2:00:54fireflies. You don't have to do
- 2:00:55anything. Whenever a meeting is
- 2:00:57scheduled, it is automatically going to
- 2:00:59join that meeting. It is automatically
- 2:01:01going to generate the summary. It is
- 2:01:02automatically going to send the summary
- 2:01:04to everyone who was invited to that
- 2:01:05meeting. Right? With just few clicks,
- 2:01:07you should be able to do so without your
- 2:01:09involvement. So that is the
- 2:01:10intuitiveness. Similarly, how will this
- 2:01:13be engineered? So I have told you about
- 2:01:14this.
- 2:01:15So let's say Zoom and Google meet or any
- 2:01:18kind of platform
- 2:01:21is the place where you are conducting
- 2:01:22this meeting. Then Fireflies or granola
- 2:01:26is going to either use the API for Zoom
- 2:01:29or Google or they are going to do the
- 2:01:33audio capture through a bot. Okay, like
- 2:01:36you can see that there are a lot of bots
- 2:01:38in this meeting who are actually
- 2:01:40recording the meeting on the behalf of
- 2:01:41their administrators. Right? After that
- 2:01:44that audio is captured and then there
- 2:01:46are tools called as audio to text
- 2:01:48transcription machine learning models.
- 2:01:50Right? These models such as whisper by
- 2:01:54open AAI, speech to text by Google, they
- 2:01:57are going to convert the audio into text
- 2:02:00transcription right and then you are
- 2:02:03going to attach a system prompt. So you
- 2:02:05as a product manager of granular is
- 2:02:07going to add a system prompt and then
- 2:02:09you are going to add a transcript. Let
- 2:02:10me show you that system prompt that I
- 2:02:12have shown you yesterday.
- 2:02:17So this is the prompt that you will
- 2:02:20paste. The prompt is very simple. You
- 2:02:21are an expert chief of staff and note
- 2:02:23taker given the following things. Please
- 2:02:24go ahead and summarize
- 2:02:27the summary of the please go ahead and
- 2:02:28summarize the given transcript in this
- 2:02:30particular format.
- 2:02:32Right? So now what will happen? We have
- 2:02:34this sub we have the system prompt
- 2:02:38and then the system prompt is going to
- 2:02:39be combined with the transcript and then
- 2:02:41it will be sent to large language models
- 2:02:45such as Gemini or Google Gemini or open
- 2:02:48uh open AI's APIs right understand this
- 2:02:51is happening at the back end you do not
- 2:02:52know what is happening you are just
- 2:02:53using granular at the back end granular
- 2:02:55is doing all of this and then it will
- 2:02:57generate the summary actionables and the
- 2:02:59task and you can take a next step you
- 2:03:02can make it into an agent
- 2:03:03by actually sending the tasks on a
- 2:03:07calendar on your Jira or on your slack.
- 2:03:10So this is how any application
- 2:03:13which is a note takingaking assistant
- 2:03:15can work right even if you go ahead and
- 2:03:17understand a bit of by coding you can
- 2:03:19also go ahead and create your own
- 2:03:21personal AI meeting assistant. This is
- 2:03:24the simplest architecture that teams
- 2:03:26use, right? And after that we talk about
- 2:03:29a very important part that yes in this
- 2:03:32example we were able to work with prompt
- 2:03:34engineering but how do we go ahead and
- 2:03:37build applications
- 2:03:39which are able to work on the large set
- 2:03:42of data such as data which is on your
- 2:03:44Jira dashboard, data which is on notion
- 2:03:45AI, data which is on stripe.
- 2:03:50So what we do is we cannot let's say I
- 2:03:53have a notion database I want to ask
- 2:03:56some questions on the top of the
- 2:03:57database. So I cannot just go ahead and
- 2:03:59put all of these content in the text in
- 2:04:00the context. Why? Because the LLM is
- 2:04:03going to go out of context and then
- 2:04:06there are researches that are conducted
- 2:04:07which have proven that with increasing
- 2:04:10context the accuracy of the LLM incre
- 2:04:12decreases. With increasing context, the
- 2:04:15accuracy of the LLM decreases. And after
- 2:04:18this, we talked about the simple thing
- 2:04:20that if you have if you are working with
- 2:04:22LLMs, try to make your inputs concise
- 2:04:26otherwise they can go ahead and
- 2:04:27hallucinate too much and they are going
- 2:04:29to run out of context and give you
- 2:04:31irrelevant answers. And then we
- 2:04:33presented you to con context
- 2:04:35engineering. In context engineering, we
- 2:04:37first talk about rag. So what is rag?
- 2:04:41Super simple.
- 2:04:43What we do is rather than putting all
- 2:04:45the documents let's say I want to build
- 2:04:48a functionality where on my notion
- 2:04:51document or on my Google drive I ask a
- 2:04:53question that what is the
- 2:04:57main what are the tasks that I need to
- 2:04:59do tomorrow okay and somewhere in one of
- 2:05:03the PRDs one of the documents it is
- 2:05:05written that I have to do these tasks
- 2:05:06tomorrow okay so in a non ideal scenario
- 2:05:10what will happen I will try to get all
- 2:05:11the content of the Google Drive I will
- 2:05:14put it in the LLM context of the LLM and
- 2:05:16then I'll ask the question among all of
- 2:05:18this content what is something that I
- 2:05:20need to do tomorrow okay and then what
- 2:05:21will happen because it is lot of content
- 2:05:23the LM the LLM is going to run out of
- 2:05:27context so what we'll do is rather than
- 2:05:30going ahead and taking all the data at
- 2:05:32once to the LLM we are going to only
- 2:05:34find the content that is relevant right
- 2:05:36so what we do in the
- 2:05:39what we do here
- 2:05:42We simply go ahead.
- 2:05:45We simply go ahead first whatever data
- 2:05:48that we have we break that data. We
- 2:05:51break that data into chunks.
- 2:05:54And after chunking the data into small
- 2:05:57enough and meaningful chunks, we are
- 2:06:00going to convert it into vector
- 2:06:01embeddings. And after we have converted
- 2:06:03into vector embeddings, we are going to
- 2:06:05store in a vector storage. Once the
- 2:06:07vectors are stored, we will go ahead and
- 2:06:09get the user prompt, find all the
- 2:06:11relevant content from the vector
- 2:06:12storage, then convert it into text and
- 2:06:15then ask this question to the LLM that
- 2:06:19based on these information please try to
- 2:06:21answer this question and then it will
- 2:06:22give you answer answer the question from
- 2:06:24the limited context that you have given.
- 2:06:27Right? And I have also shown you a
- 2:06:28visual example with a rag model that we
- 2:06:31have created like a rag vibe app that we
- 2:06:33have created.
- 2:06:34Right? So this is about rank
- 2:06:39and then we talked about
- 2:06:42prompt engineering. Okay, I have shared
- 2:06:45with you some very simple but very
- 2:06:47effective tips which is try to
- 2:06:48understand the value of prompt
- 2:06:50engineering. Make sure that you are
- 2:06:51giving it the right role so that it is
- 2:06:53more authoritative and you are getting
- 2:06:54the right answers. Then mention the
- 2:06:57output expectation very clearly. give it
- 2:07:00do something called as chain prompting
- 2:07:02where you are going to mention ask the
- 2:07:04LLM to think in steps so that it is able
- 2:07:06to go ahead and give you what is the
- 2:07:07reason behind this thinking and then
- 2:07:09give examples this is called as few
- 2:07:11short prompting when you don't give
- 2:07:13example it is zero short prompting when
- 2:07:15you give example it is few short
- 2:07:16prompting right and then mention the
- 2:07:18constraints understand all of this is
- 2:07:20called as iterations because once you
- 2:07:22give it a prompt you will understand
- 2:07:24that maybe there is something missing I
- 2:07:25should have mentioned this clearly and
- 2:07:27then you are going to iterate on the
- 2:07:28prompt and then you'll understand what
- 2:07:29are the constraints that you need to put
- 2:07:31okay and then I have shared with you
- 2:07:32some advices and some wild card prompts
- 2:07:36so that you can go ahead and get better
- 2:07:38at prompt engineering and writing better
- 2:07:39prompts right understand prompts are
- 2:07:42your doorway to seize this AI
- 2:07:45opportunity right it is not just plain
- 2:07:48English you need to go ahead and think
- 2:07:49deeper about the prompts so as to get
- 2:07:51the better answers right you have a very
- 2:07:56o uh a very obedient and a very powerful
- 2:08:00individual at your disposal. If you ask
- 2:08:03it like uh awful questions, you are
- 2:08:05going to get awful answers. Now it's
- 2:08:07your responsibility to make sure that
- 2:08:08you're asking it better kind of
- 2:08:09questions. Right? Yes. So this is what
- 2:08:12we have done so far. I think we have
- 2:08:13spent 15 minutes just in the revision.
- 2:08:15Now everyone please tell me go ahead in
- 2:08:18the chat if you have understood
- 2:08:19everything so far. How many of you are
- 2:08:21aware about this product called as
- 2:08:23notebook?
- 2:08:24So in case someone has not used I'll
- 2:08:27just give you a glimpse. Okay. So let's
- 2:08:29say I want to learn about AI product
- 2:08:32management. Okay. This is the topic for
- 2:08:34today.
- 2:08:36But sadly I do not have time. I do not
- 2:08:38want to invest time. So what I'll do is
- 2:08:39I'll go to this platform
- 2:08:40notebook.google.com.
- 2:08:42Okay. I will click on new notebook.
- 2:08:46Right? And now what I can do is I can
- 2:08:49give it lot of documents, lot of
- 2:08:51resources and then I can ask questions
- 2:08:55and summarize these documents from this
- 2:08:56interface
- 2:08:59right on chat GBT when you give so many
- 2:09:01document documents it runs out of
- 2:09:03context but it is this particular
- 2:09:05platform notebook is working on rag that
- 2:09:07I have just told you so it will be able
- 2:09:09to answer let me show you how it works
- 2:09:10okay so let's say I want to understand
- 2:09:12about a IML product management so I'm
- 2:09:14going to insert some resources okay so
- 2:09:16the resources
- 2:09:18At hello PM we have gone ahead and done
- 2:09:20something called as the AI sprint
- 2:09:22which has everything that you need to
- 2:09:25understand as an AI product manager. So
- 2:09:28I will click on this.
- 2:09:38Yeah. So I'll click on my channel and
- 2:09:40then I'll click on playlist and then
- 2:09:43I'll click on the AI sprint
- 2:09:45>> and then
- 2:09:46>> okay so this is one video. So what I'll
- 2:09:49do is I'll copy the URL.
- 2:09:51I will go to notebook. I am now
- 2:09:53collecting the resources. Okay. So my
- 2:09:55resource are these URLs. So I'll click
- 2:09:57on YouTube. I will paste the URL here.
- 2:10:01Insert. So this would be inserted in
- 2:10:03some time. Second. So now what is
- 2:10:05happening the Google uh uh Google
- 2:10:09notebook alm is actually taking the
- 2:10:12transcript of the video it is breaking
- 2:10:14the transcript into small small parts
- 2:10:17and then it is vectorizing all of these
- 2:10:19transcripts okay all of the contents out
- 2:10:22there. Second,
- 2:10:25I will take maybe uh uh the second
- 2:10:28video.
- 2:10:33I will put it again in the YouTube part.
- 2:10:37Insert. Now I want a blog. So a IML
- 2:10:42this. So I've written a blog as well. So
- 2:10:45I will go ahead and just
- 2:10:47add it here.
- 2:10:49And then I would put a link of website.
- 2:10:53I can put multiple URLs as well. Okay.
- 2:10:56So now I have all of this context ready.
- 2:10:58These are long 1 and a half hour 2 hours
- 2:11:00videos and this is a very long I would
- 2:11:02say 3 4,000 words of vlogs. Okay. So now
- 2:11:06you understand that yes I have all the
- 2:11:07context available. I can go ahead and
- 2:11:09ask it any kind of question and then
- 2:11:11these questions would be answered from
- 2:11:12the data that I have given. Right? So I
- 2:11:14will ask a question how do I
- 2:11:19what
- 2:11:21skill does a
- 2:11:24AI product manager needs.
- 2:11:29Now this answer would be grounded in
- 2:11:31what is written in these sessions.
- 2:11:34Right? So if you want to do any research
- 2:11:36of the world you can just catch up some
- 2:11:38YouTube videos, some interesting
- 2:11:39podcasts from the founders and industry
- 2:11:41leaders. put up some blogs, put up some
- 2:11:43reports in PDFs from Mackenzie and other
- 2:11:45companies and then you should be able to
- 2:11:47do this. Okay, now it has given me the
- 2:11:49answer. But this is not the beauty. This
- 2:11:51is okay. This is cool. But it also has
- 2:11:54some wonderful features which is it can
- 2:11:56help me create mind map. Right? So if I
- 2:11:59click on this, it will create a
- 2:12:00beautiful mind map from all the
- 2:12:01concepts. Okay.
- 2:12:03Another important part is reports. So if
- 2:12:05I click on the reports,
- 2:12:07these are all the report that it will
- 2:12:09create. It will create a complete blog
- 2:12:10post which I can read. It will create a
- 2:12:13study guide so that it will be having a
- 2:12:14short answer, quizzes, some uh revision
- 2:12:17material, everything. Then a briefing
- 2:12:19doc so that I can go ahead and just
- 2:12:21understand what is important in these
- 2:12:23particular three four resources. And
- 2:12:24then there are multiple things. Okay,
- 2:12:27concept explainer, process overview and
- 2:12:29everything. So it is now able to
- 2:12:31understand the content and based on
- 2:12:33content it is suggesting me that this
- 2:12:35kind of reports are possible from this
- 2:12:37and I can also give my own report right.
- 2:12:40So let's say I want to get a briefing.
- 2:12:46So now it will take some time in order
- 2:12:48to generate this particular report.
- 2:12:51Okay. And then I can also go ahead and
- 2:12:53create mindm flashcards quiz and
- 2:12:55everything. And also eventually I can
- 2:12:57also create an audio overview. Okay. So
- 2:12:59this is what this product does. This is
- 2:13:01almost a number one research tool based
- 2:13:04on AI which almost every product manager
- 2:13:07and every individual should use. Okay.
- 2:13:10So this is notebook LM for you. There
- 2:13:11are so many use cases. You just think
- 2:13:13about it and notebook LM should be able
- 2:13:15to do these things. Right. So my
- 2:13:17recommendation to everyone would be that
- 2:13:18after this session go ahead and try to
- 2:13:21play around with notebook. Super helpful
- 2:13:23tool. Right? Yes. Everyone a quick yes
- 2:13:27or no if you're able to understand this
- 2:13:28tool.
- 2:13:35Amazing. Thank you. Yes. So now
- 2:13:39let us try to understand and also
- 2:13:43what I'm telling you is not just how
- 2:13:45notebook LM works but also any of the
- 2:13:49tools any of the AI tools which are
- 2:13:51based on documents. So in notebook we
- 2:13:54are giving it a lot of documents and
- 2:13:56transcripts and it is working on the
- 2:13:57same. On notion AI we are actually
- 2:13:59giving it all of our databases the
- 2:14:01notion document that we have created it
- 2:14:02is working on the same in Salesforce
- 2:14:05Einstein we have all the document that
- 2:14:07we have created in our salesforce all
- 2:14:08the sales record all the CRM all the
- 2:14:10emails all the customer conversations
- 2:14:12and then there is an LLM on top of it.
- 2:14:14So the mental model is that if you have
- 2:14:15a lot of data and if you want to put a
- 2:14:18LLM on top of it in order to make it
- 2:14:20more
- 2:14:21queryable with the help of a natural
- 2:14:23language then this is what you should
- 2:14:24do. This is the same architecture for
- 2:14:26all of these products. Okay. Yeah. So
- 2:14:28what we do is
- 2:14:31we follow the same format. Question
- 2:14:34number one is
- 2:14:36what problem does it solve in people
- 2:14:38lives? This is something that you need
- 2:14:41to answer as a product manager before
- 2:14:42even building the product. So why does
- 2:14:44notebook help why is notebook helping
- 2:14:46helpful? Because it helps people conduct
- 2:14:48research
- 2:14:50by helping them read so many documents
- 2:14:52and summarize these documents at once.
- 2:14:55It helps people read and learn about
- 2:14:57exhaustive full topics within a lot less
- 2:15:01period of time.
- 2:15:03It also helps people create some
- 2:15:05effective nodes for their learning, for
- 2:15:08their research, for building any product
- 2:15:09or for doing anything. Okay. So, there
- 2:15:11is definitely a value in the product,
- 2:15:16right? So, it will help people become
- 2:15:18more productive and take better
- 2:15:20decisions in shorter period of time,
- 2:15:22right? What is the business value? Now
- 2:15:25Google has understood that people are
- 2:15:27using chat GPD a lot and Google has
- 2:15:30understood that now if people keep on
- 2:15:32using chat GP and perplexity
- 2:15:34the research that people used to do on
- 2:15:36Google is now going to get reduced. So
- 2:15:39they have to create a product that will
- 2:15:41make sure that they are getting their
- 2:15:43lost foothold. And now notebook alum has
- 2:15:45become popular that people are have
- 2:15:47started using it. So it is a strategic
- 2:15:49bet for Google to create this kind of
- 2:15:50product. Right. Third is how do we make
- 2:15:54it intuitive to use? So Google has made
- 2:15:56it very simple. So you can see the UI.
- 2:15:58It is very simple. It tells you. So
- 2:16:02Google might have thought that why not
- 2:16:04we go ahead and allow people to just
- 2:16:06enter content. Okay. But content could
- 2:16:08also be in the form of YouTube. So they
- 2:16:10explicitly mentioned that yes people
- 2:16:12want to learn from YouTube so you can
- 2:16:13enter YouTube. People want to upload
- 2:16:16their PDFs. So they are allowing you to
- 2:16:17upload the PDFs. So they understood that
- 2:16:19from what kind of resources people would
- 2:16:22want to ideally get the information and
- 2:16:23they have enlisted all these resources.
- 2:16:26Similarly they were able to understand
- 2:16:27that most of the people are very lazy in
- 2:16:30terms of prompt engineering. So they are
- 2:16:32giving you some automatic templates of
- 2:16:34reports. So rather than you thinking
- 2:16:37that what is the question that I asked
- 2:16:38from this document they will give you
- 2:16:40automated question in the form of report
- 2:16:41that I have just shown you.
- 2:16:44Right? So this is how you make the
- 2:16:46product more intuitive. Right? And if
- 2:16:48you guys want to learn how to make the
- 2:16:49product more intuitive, a simple
- 2:16:51exercise is go ahead look at 10 top AI
- 2:16:55products and then reverse engineer what
- 2:16:57are the things that they are doing in
- 2:16:58order to make it more intuitive. You can
- 2:17:00follow the similar kind of principles.
- 2:17:02You will be ahead of 80% people who do
- 2:17:04not know anything about UI, right? And
- 2:17:06then we have how will this be
- 2:17:08engineered, right? How will this be
- 2:17:10engineered? This is the structure.
- 2:17:12Please look at this very very carefully.
- 2:17:15Okay.
- 2:17:17Yes, we have 510 people in the chat.
- 2:17:20Everyone please write focus if you are
- 2:17:22ready to go through this. Please write
- 2:17:24focus if you are ready to go through
- 2:17:25this.
- 2:17:37Amazing. Great. Cool. So focus here
- 2:17:40everyone. So here what is happening is
- 2:17:43first is the resources.
- 2:17:46Resources are in the format of articles,
- 2:17:49videos, PDFs and text which is videos it
- 2:17:55will not be able to understand. So what
- 2:17:56it does is it takes a YouTube videos and
- 2:17:59YouTube videos comes with a transcript.
- 2:18:01So it is understanding the transcript
- 2:18:03and not the video. Okay. Second is PDFs
- 2:18:08to convert PDF into text.
- 2:18:11We can either if the PDF is created
- 2:18:13digitally, we can go ahead and convert
- 2:18:15it into text like through some PDF
- 2:18:17extractors. However, if it is an image
- 2:18:19that we have taken photos of and then we
- 2:18:21have converted the PDF, then we have
- 2:18:23something called as OCR or optical image
- 2:18:25recognition, character recognition,
- 2:18:27right? So these things would be creative
- 2:18:29to understand it is not just that it
- 2:18:33building an AI product is only about
- 2:18:34implementing the LLM. You have to do
- 2:18:36this dirty work as well which is making
- 2:18:39sure that all the content is in the
- 2:18:40right format which is text
- 2:18:44right after this
- 2:18:47after this
- 2:18:50and even if let's say we have audio
- 2:18:52right now I don't think it allows audio
- 2:18:54but if it allows audio what it will do
- 2:18:56is it will get the audio from you it
- 2:18:58will give it to the back end like from
- 2:19:00the back end it will give it to Google
- 2:19:03speechtoext API or whisper API and then
- 2:19:06it is going to get the transcript and
- 2:19:07then the transcript is going to be added
- 2:19:09here. Okay. So as soon you add the
- 2:19:11sources the sources are extracted they
- 2:19:15are chuned and then
- 2:19:18they are chuned at two levels document
- 2:19:20level and the paragraph level. Right? So
- 2:19:23it tells you that from which document
- 2:19:25and which part of document is this
- 2:19:26content coming from. So whenever you are
- 2:19:28storing these chunks there would be a
- 2:19:31link to that document whole document
- 2:19:32like the source and there will also be a
- 2:19:34link to that particular part of the
- 2:19:36document which is the chunk right I have
- 2:19:39shown you this example yesterday with
- 2:19:40that thing right after this
- 2:19:44we have embedding so now this will be
- 2:19:47stored in Google's own database for
- 2:19:48embedding and understand whenever you
- 2:19:50change the content whenever you update
- 2:19:52the content this is going to get
- 2:19:54refreshed
- 2:19:56right till Here we have not used the
- 2:19:58genai so far. We are only using
- 2:20:01engineering computer science engineering
- 2:20:03so far and some machine learning
- 2:20:05algorithms. Right now what happens
- 2:20:10your platform notebook
- 2:20:13is going to understand what this content
- 2:20:16is all about. So it will try to go ahead
- 2:20:19and create highle summaries of all the
- 2:20:20documents that you have created like
- 2:20:22highle summary for every document
- 2:20:23automatically and then it will try to
- 2:20:25understand what are the different kind
- 2:20:27of reports that I can generate and for
- 2:20:29generating these reports it would have
- 2:20:31some kind of templates already. So let
- 2:20:33me show you
- 2:20:36so this is what Google might have
- 2:20:38created at the back end. Okay. So let's
- 2:20:40say
- 2:20:42if
- 2:20:44we think that there there could be a
- 2:20:47summary that we can create. So it will
- 2:20:48go ahead and give this kind of prompt
- 2:20:50which is summarize the key ideas in the
- 2:20:51plain English focus on main findings and
- 2:20:53implications. if they need to create a
- 2:20:55study guide. So here what is happening
- 2:20:56is we have these report prompts right it
- 2:21:00will show you that these are the things
- 2:21:01that you can do with this report and
- 2:21:04then the user input whatever the user
- 2:21:06has inputed the prompt and the retrieved
- 2:21:09context. Retrieve context means whatever
- 2:21:12is matching with that prompt. Whatever
- 2:21:15the words that you have mentioned in
- 2:21:16that prompt, whatever is matching in the
- 2:21:19vector database that is going to be
- 2:21:21fetched and then that is be that will be
- 2:21:24sent to the LLM. If it is Google, the
- 2:21:26LLM is most probably going to be Gemini.
- 2:21:28So this is the prompt library. Okay. So
- 2:21:30if the summary type the report type is
- 2:21:32summary, then this is the prompt. If it
- 2:21:35is a study guide, then generate a
- 2:21:36structured outline with key component,
- 2:21:38definitions, and questions for self-
- 2:21:40testing.
- 2:21:42Right? Mind map. Organize the main ideas
- 2:21:45hierarchically with branches for non for
- 2:21:47subconcepts and examples.
- 2:21:51Right?
- 2:21:52And then
- 2:21:54reports would be generated and then
- 2:21:56reports could be summary, mind web,
- 2:21:57guides, FAQs and then what will happen?
- 2:21:59You as a user will give you the feed
- 2:22:01will give the feedback that it is good
- 2:22:03or it is bad and then it is going to go
- 2:22:04ahead and autocorrect these prompts and
- 2:22:07you can also go ahead and put your own
- 2:22:09prompts. So what is happening this is
- 2:22:15augmenting
- 2:22:17this part
- 2:22:21is retrieval and this part is
- 2:22:24generation.
- 2:22:27Right? So we are first creating the
- 2:22:28documents then we are generating then we
- 2:22:31are uh going ahead and giving it to the
- 2:22:33LLM and then we are generating and going
- 2:22:35giving the output to the user right so
- 2:22:37this is how notebook LM works in a
- 2:22:40nutshell it is a pure play rag
- 2:22:42application right everyone a quick yes
- 2:22:46or no if you are able to understand
- 2:22:55H
- 2:22:58now one question to everyone
- 2:23:01question to everyone okay
- 2:23:04let's say if I ask the question to
- 2:23:06notebook alm
- 2:23:08that summarize all the contents
- 2:23:12summarize
- 2:23:13everything that you are like from all
- 2:23:15the resources summarize
- 2:23:17Now what do you think will happen? Think
- 2:23:20about it for a moment and tell me in the
- 2:23:21chat what will happen then? Let's say if
- 2:23:23I give it a query, give me a summary of
- 2:23:26this content. What will happen
- 2:23:37now? So summarization. Yes.
- 2:23:41Cool. So understand summarization is a
- 2:23:45non-typical task. Why? Because
- 2:23:49summarization
- 2:23:50is the most I would say popular task but
- 2:23:54it is a non-trivial task. Because in the
- 2:23:57prompt what would be mentioned?
- 2:23:59Summarize this document.
- 2:24:01When this is mentioned in the prompt
- 2:24:03when it will search in the rag model
- 2:24:05when it will search in the embedding
- 2:24:07what will it search for? Summarize
- 2:24:09article. And now how will it find that
- 2:24:13where is summarize and all because it is
- 2:24:14doing a vector like search. So it might
- 2:24:17find some chunks where summarize brief
- 2:24:20executive summary these kind of things
- 2:24:22are written but summary would not be
- 2:24:23accurate.
- 2:24:25Right? So what is the solution? The
- 2:24:26solution is we do not implement this
- 2:24:29normal rag pipeline in these kind of
- 2:24:31applications. What we do is
- 2:24:35we have something called as hierarchal
- 2:24:39hierarchal
- 2:24:40rag.
- 2:24:45I'm not sure what the spelling is. So
- 2:24:47hierarchal rag what it is is that I have
- 2:24:51source one,
- 2:24:54I have source two, I have source three.
- 2:24:58Okay. So now first of all understand the
- 2:25:00problem clearly. Okay, I have created
- 2:25:03chunks. Let's say there are 10 chunks
- 2:25:06that are from this document. There are
- 2:25:0910 chunks from this document and four
- 2:25:11chunks from this document. If I ask LLM
- 2:25:14the question that please
- 2:25:19summarize this, then what will happen?
- 2:25:22It will make the vector of summarize,
- 2:25:24right? And summarize vector might be
- 2:25:26equal to brief.
- 2:25:30Okay.
- 2:25:31or maybe some other things like synonyms
- 2:25:35of summarize right and it will go ahead
- 2:25:37and try to find summarize brief and some
- 2:25:39things in these chunks and whatever
- 2:25:41whatever are the chunks that are
- 2:25:42relevant it will go ahead and give these
- 2:25:44chunks let's say one chunk from here one
- 2:25:46chunk from here and one chunk from here
- 2:25:48so we have got three chunks
- 2:25:52right but understand these chunks are
- 2:25:54incomplete they have mentioned summary
- 2:25:57or brief or in short something but they
- 2:26:00do not contain the true summary they
- 2:26:02just contain these words
- 2:26:05right. So what we will do here is we
- 2:26:08maintain a summary
- 2:26:12we maintain a summary at a high level.
- 2:26:15So for all of these documents as soon as
- 2:26:18you upload this document in notebook LM
- 2:26:21it is first going to generate the
- 2:26:22summary of the whole document. So it
- 2:26:24will send it to the LLM. It will
- 2:26:26generate the complete summary
- 2:26:29so that it understands what the report
- 2:26:31is. Then for the other it is going to
- 2:26:33generate the summary. For other it is
- 2:26:34going to generate the summary without
- 2:26:35you saying anything. And then whenever
- 2:26:37you send a query of summary it will
- 2:26:39understand what the equation is. And
- 2:26:41then it is going to answer by
- 2:26:44concatenating or copying or taking all
- 2:26:46of these summaries into the context.
- 2:26:49That way context is also not increased
- 2:26:51but there would be some more LLM calls.
- 2:26:56Right? So how we have solved this
- 2:26:58problem? We have taken all the sources
- 2:27:01automatically without even the user
- 2:27:03saying so we have taken the summaries of
- 2:27:05every individual source.
- 2:27:08Right? And once we got the summary from
- 2:27:10the LLM now whenever a user is asking
- 2:27:12question about summary we are going to
- 2:27:13combine all of these summaries in order
- 2:27:14to get a better answer.
- 2:27:17Right?
- 2:27:19Yes, everyone a quick yes or no if
- 2:27:21you're able to understand this and like
- 2:27:23this guys
- 2:27:25although rag is simple okay rag is not a
- 2:27:29rocket science but you have to
- 2:27:31understand the nuances every product is
- 2:27:35unique so you have to understand these
- 2:27:37kind of nuances before going ahead and
- 2:27:39calling yourself an AI product manager
- 2:27:42okay so this is about how not works and
- 2:27:44all the rag applications works in the
- 2:27:46similar format you have the knowledge
- 2:27:48base, you convert the knowledge base
- 2:27:50into the vector database. After that,
- 2:27:52you go ahead and get the user query, you
- 2:27:54match the pattern, you get the uh uh top
- 2:27:57similar chunks and then you put the LLM
- 2:28:00on top of it along with the system
- 2:28:01block. Right? Yes.
- 2:28:05Now in the context engineering we have
- 2:28:08so far talked about rag
- 2:28:10we have talked about
- 2:28:12uh prompt engineering and the third part
- 2:28:15of context engineering is actually
- 2:28:17fine-tuning. So sometimes what happens
- 2:28:18is
- 2:28:21sometimes what happens is you have to
- 2:28:24retrain the model
- 2:28:26you have to change the parameters in the
- 2:28:28model for your use case. For example,
- 2:28:31Google has this amazing model called as
- 2:28:35alpha. Okay, Google alpha and
- 2:28:40Google alpha fold or something is the
- 2:28:42name alpha fold I think. Okay, so what
- 2:28:44it does is it is able to identify the
- 2:28:47patterns in protein and then it is able
- 2:28:49to suggest that what is going to be
- 2:28:51let's say the consequences which is the
- 2:28:53diseases which are identified from
- 2:28:55protein patterns and so many things.
- 2:28:57Okay, but understand when Chad GPT or
- 2:29:00Gemini was trained, it does not have any
- 2:29:03information about proteins and all. It
- 2:29:05has the information about how normal
- 2:29:07natural processing works, but it does
- 2:29:09not have any understanding about how to
- 2:29:10understand the protein models. Okay. So
- 2:29:12now what happens is
- 2:29:14we are going to take some new data which
- 2:29:17only contains information about these
- 2:29:19protein folds and then we are going to
- 2:29:22go ahead and retrain our large language
- 2:29:24model again. So that now we have
- 2:29:26contextual information about this. So if
- 2:29:29there is some information that is
- 2:29:31completely lacking that cannot be
- 2:29:33compensated with rag then we use
- 2:29:36fine-tuning plus sometimes when you have
- 2:29:39to change the personality of the model
- 2:29:41for example this is a real use case that
- 2:29:43one of the bigger banks they used chat
- 2:29:46GPT in order to answer the customer
- 2:29:49queries right and then they were able to
- 2:29:51find that chat GP is able to answer well
- 2:29:53but it does not have that personality of
- 2:29:56how their people were actually going
- 2:29:58ahead and answering. So what they did
- 2:29:59was they actually taken all of their
- 2:30:01past records of the chat which humans
- 2:30:03have done they have fine-tuned GPT and
- 2:30:07other models on the top of the same and
- 2:30:09then they were able to get a new model
- 2:30:11which is now able to act nicely right
- 2:30:14similarly Bloomberg has created a
- 2:30:16product called as Bloomberg GPD where
- 2:30:19they have trained complete Bloomberg on
- 2:30:22top of uh the a GPT on top of Bloomberg
- 2:30:25data so that if it has that kind of
- 2:30:27context
- 2:30:28Right? It kind that kind of information
- 2:30:30and knowledge. So finetuning is adopting
- 2:30:33a pre-trained large language model which
- 2:30:35is a chat GP or any base model with a
- 2:30:37domain specific data to make it more
- 2:30:39useful for a particular task. Right? So
- 2:30:42what we do is we take a base model llama
- 2:30:44GT sonnet. Then we do the fine tuning
- 2:30:47with curated data and examples and then
- 2:30:49we have a fine-tuned error. Okay. It is
- 2:30:51one line of code which you have to use
- 2:30:53in the openi terminal. OpenAI API
- 2:30:56fine-tune create t data.json JSON
- 2:30:58whatever the data that you have then
- 2:31:00this is the model that you want to train
- 2:31:02one line of code can go ahead and do the
- 2:31:03finetuning but understand finetuning is
- 2:31:06the costliest of all the three method
- 2:31:08that we have talked about finetuning
- 2:31:11takes a lot of money a lot of resources
- 2:31:13so unless you are not sure you should
- 2:31:15not start with finetuning first do
- 2:31:17prompt engineering then try to
- 2:31:20understand if the problem can be solved
- 2:31:21with rag if it is lack of information
- 2:31:23problem if it is not solved then you
- 2:31:25should go ahead and go to finetuning
- 2:31:30Right. And
- 2:31:33generally finetuning is of two types.
- 2:31:35One is full finetuning. Second is
- 2:31:38parameter efficient finetuning or PFP.
- 2:31:42Okay. So in full finetuning what happens
- 2:31:44is whatever are the billion parameters
- 2:31:46that we have in the large language
- 2:31:47models we are going to try to update
- 2:31:50them all. So it is very intensive right.
- 2:31:54So this is going to give you great
- 2:31:56results but it is also going to be very
- 2:31:59very intensive on the CPU and GPU and it
- 2:32:01is going to cost you a lot of money.
- 2:32:03Right? Similarly we have parameter
- 2:32:05efficient finetuning. Okay. Where what
- 2:32:08we do is rather than so I have talked
- 2:32:10about parameters in the last class. In
- 2:32:13parameter efficient finetuning
- 2:32:15rather than going ahead and uh uh
- 2:32:20optimizing and changing every parameter
- 2:32:22we only change few parameters to make
- 2:32:25sure that middle model is able to get
- 2:32:27that behavior without spending a lot of
- 2:32:29money on training
- 2:32:31right so it updates the subset of
- 2:32:33parameters it has lost cost and store
- 2:32:36right and the f the training can be done
- 2:32:38faster the examples are adopters and
- 2:32:40lora
- 2:32:42Right. So this is called as fine tuning
- 2:32:46in LMS. Now a major question is
- 2:32:49when should I choose what to do whether
- 2:32:52I should do prompt engineering or rag or
- 2:32:54fine-tuning. How should I choose? So
- 2:32:56this is a simple decision tree for you.
- 2:32:58Okay. If you want to decide the right
- 2:33:00contextualization method, this thing is
- 2:33:02called contextualization or context
- 2:33:03engineering. If the base LLM is good
- 2:33:07enough with careful prompting, then go
- 2:33:09with prompting. Experiment. Try with
- 2:33:11prompt first. Before going to advanced
- 2:33:14method, try with prompt first. If it is
- 2:33:15giving you the answer, go ahead and do
- 2:33:17this. There are multiple products that
- 2:33:18are based on the same. For example,
- 2:33:20granola and chat PD, they are only
- 2:33:22working on prompt engineering.
- 2:33:24Right? Second is if it is not working,
- 2:33:27prompt is not enough. Then if the
- 2:33:30problem is only about missing or dynamic
- 2:33:32knowledge then go ahead use rag is try
- 2:33:36notion AI notebook lm they are using rag
- 2:33:39right and the third is if the issue is
- 2:33:42about style tone or a domain specific
- 2:33:45behavior that you'll understand by
- 2:33:47asking questions to the LLM then you
- 2:33:49should go with this and examples are
- 2:33:51dual indo max and bloomberg GP that I
- 2:33:53have already given you examples of right
- 2:33:56so guys this was context engineering.
- 2:33:59Everyone tell me yes or no in the chat
- 2:34:00if you are able to understand everything
- 2:34:01so far.
- 2:34:04We talked about prompt engineering, we
- 2:34:06talked about rag, we also talked about
- 2:34:07fine-tuning,
- 2:34:11right? And the question is the question
- 2:34:14is that
- 2:34:16what you should use what you should use
- 2:34:20is
- 2:34:22usually decided by your context in your
- 2:34:26problem. Okay? Don't think that if some
- 2:34:28company was able to use something and
- 2:34:30get the results, you will also get it.
- 2:34:32Please try to understand the user
- 2:34:33problems, the context, the limitations,
- 2:34:36the trade-offs and then choose whether
- 2:34:38you should go with prompt engineering,
- 2:34:39rag or fine-tuning. You should always
- 2:34:42start with prompt engineering. If
- 2:34:44there's a issue with data, go with rack
- 2:34:46and then if the issue is with
- 2:34:47personality or the base data, then go
- 2:34:50with fine-tuning. Right? There is also
- 2:34:53an interesting thing that is coming
- 2:34:55across these days. I'll just give you a
- 2:34:57hint. We talk about this in detail in
- 2:34:59our bigger program which is an amazing
- 2:35:02thing which is called as
- 2:35:06transfer learning. Okay, this is an
- 2:35:09upcoming very I would say very promising
- 2:35:11field and many companies are going to
- 2:35:13adopt this. Just a moment.
- 2:35:26Yes. So there is something called as
- 2:35:29transfer learning.
- 2:35:31So what we do is the issue with large
- 2:35:34language models is that more intelligent
- 2:35:37the model okay more it is going to cost
- 2:35:41and more it is going to have latency
- 2:35:44which is it is going to take more time
- 2:35:46to respond. So if you go to the OpenAI
- 2:35:48API,
- 2:35:54okay, OpenAI API
- 2:35:58cost, okay, so if I go to pricing,
- 2:36:01understand that this GPT 5 is their best
- 2:36:05model and the cost of GPT5 is for output
- 2:36:08$10 per 1 million tokens, right? And
- 2:36:11then they have a small model which is GP
- 2:36:13nano which is $0.41 $4 for 1 million
- 2:36:16tokens
- 2:36:18almost 25x difference. Right? So models
- 2:36:23which are small models have less number
- 2:36:25of parameters are more efficient and
- 2:36:28cost effective but they do not have the
- 2:36:30right kind of they are not trained on
- 2:36:31more data and they do not have more
- 2:36:33parameter that means their output could
- 2:36:35be a bit here and there. Okay. So we
- 2:36:37have something called a transfer
- 2:36:38learning. What we do is we pick a small
- 2:36:40language model such as Gemma
- 2:36:44or a combination of or something between
- 2:36:46the small and the large language model
- 2:36:47such as nano
- 2:36:50which is GP nano 5 nano or 4 nano
- 2:36:53whatever you want to choose. Okay, these
- 2:36:55things have less cost. What you will do
- 2:36:57is you will go ahead generate some
- 2:37:01synthetic data from the top models which
- 2:37:05is GPT5 or Gemini 2.5 flash okay you are
- 2:37:10going to use Gemini in order to generate
- 2:37:12some synthetic data and then you are
- 2:37:14going to generate that data and then you
- 2:37:15are going to fine-tune these models on
- 2:37:17that data so that these these models
- 2:37:20although they will not get as
- 2:37:21intelligent as GPT5 or or or Gemini 2.5
- 2:37:25but still if you give on specific use
- 2:37:27cases. For example, if you are using for
- 2:37:28customer support, if you are using for
- 2:37:30coding, if you are using for coding in a
- 2:37:33particular language, if you are using
- 2:37:34for a particular use case, then you can
- 2:37:36generate enough data and then you can
- 2:37:38retrof these models with fine-tuning and
- 2:37:40then there is going to be one-time cost
- 2:37:42of finetuning. But then eventually your
- 2:37:44overall cost of API and inference will
- 2:37:46reduce. This is called as transfer
- 2:37:48learning. So you have a small language
- 2:37:49model which is efficient which has less
- 2:37:52cost but it does not know about certain
- 2:37:55knowledge. So you will generate that
- 2:37:57knowledge artificially from bigger
- 2:37:59models put that knowledge into
- 2:38:01fine-tuning data for these small
- 2:38:03language models then the small language
- 2:38:05models will become more powerful for
- 2:38:06your context.
- 2:38:10Right? So imagine these large language
- 2:38:12models as swords.
- 2:38:16But sometimes for some purposes you
- 2:38:18don't need a sword. You just need a
- 2:38:19needle and then transfer learning gives
- 2:38:23the power of sword to this particular
- 2:38:24needle.
- 2:38:27Right? A quick yes on everyone if you're
- 2:38:29able to understand the power of transfer
- 2:38:31learning.
- 2:38:33You can explore more about this. We talk
- 2:38:35about this in more detail in our bigger
- 2:38:37program. super helpful skill for any
- 2:38:39product manager because implementing LM
- 2:38:41and understanding is is is is easy but
- 2:38:45getting the most out of from this is
- 2:38:47super important.
- 2:38:49Yes. Cool. Now with that being said, let
- 2:38:53us go ahead
- 2:38:56and talk about the interesting piece in
- 2:38:57the room. Okay. Which is AI agents.
- 2:39:02So far
- 2:39:04the AI agent
- 2:39:06was
- 2:39:08like your most interesting, your most uh
- 2:39:12intelligent manager. They are telling
- 2:39:14you that this is what you should do,
- 2:39:16this is what you should do, this is what
- 2:39:17you should do. But they are not taking
- 2:39:19action. And nothing is more frustrating
- 2:39:21than a handsoff manager which has they
- 2:39:24don't know how to do the work but they
- 2:39:26always try to give you knowledge and gam
- 2:39:28okay and LM are the same. You give them
- 2:39:31the input, they give you the output and
- 2:39:32they appear the most intelligent part.
- 2:39:34But they cannot act. Act means
- 2:39:37you do not want the LLM just to write an
- 2:39:40email. You want them to send the email
- 2:39:42and take the follow-ups. You want them
- 2:39:43to do your work rather than just being
- 2:39:44your uh uh uh your brainstorming buddy.
- 2:39:48So in order to give agency to the agent
- 2:39:51in to the AI, we have something called
- 2:39:53as AI agents. So AI agent is nothing but
- 2:39:55a very simple concept. Okay, which is
- 2:40:00we give access to some actions to our
- 2:40:04agents. We get our AI to act. So what we
- 2:40:09do is a simple example of agent is let's
- 2:40:12say I post very frequently on LinkedIn.
- 2:40:16Okay. And if someone wants to go ahead
- 2:40:20and be updated with what is happening in
- 2:40:23the product management world, what they
- 2:40:26can just do is go to my profile, look at
- 2:40:29what I have recently posted and then you
- 2:40:31should be able to understand what is
- 2:40:32happening in the AI product management
- 2:40:34world. Okay, but this thing you have to
- 2:40:36do manually. What if there would be a
- 2:40:40large language model? What if there
- 2:40:42would be a software or an agent that can
- 2:40:44go to my profile every day in the
- 2:40:47morning look at the five recent post
- 2:40:49that I have done let's say not every day
- 2:40:51but let's say in a way in a week in that
- 2:40:53week whatever I have posted they should
- 2:40:55collect all that post and then they
- 2:40:58should give all of this post to a large
- 2:41:00language model which can summarize all
- 2:41:01the important content and then it can
- 2:41:03send me an email. This is an example of
- 2:41:06a large language model. This is an
- 2:41:08example of an AI agent. Okay, which is I
- 2:41:10am choosing a time where I am going to
- 2:41:13crawl a profile, LinkedIn profile. I'm
- 2:41:16going to get all of their post. Then I'm
- 2:41:18going to summarize this content and then
- 2:41:19I'm going to get them to send an email.
- 2:41:21The summarize part is the intelligent
- 2:41:22part that is done by AI. That is why it
- 2:41:24is called as an AI agent.
- 2:41:27Right now I can go ahead and tweak this
- 2:41:29AI agent more. What I can do is I can
- 2:41:32allow tell the AI agent that rather than
- 2:41:34getting the post from someone,
- 2:41:36you only go ahead and send me the
- 2:41:38message rather rather than crawling all
- 2:41:41the post, you should only go ahead and
- 2:41:43crawl the post where something is
- 2:41:45written about AI product management. So
- 2:41:47now the AI agent will go ahead and take
- 2:41:49some calls based on or take some
- 2:41:52decisions based on the content that it
- 2:41:54finds. So when the AI agent is taking
- 2:41:57some decisions based on its own context
- 2:42:00then it is called an autonomous AI agent
- 2:42:02when it is just going ahead and
- 2:42:04following the instruction it is a
- 2:42:05workflow agent
- 2:42:08right a quick yes everyone if you're
- 2:42:10able to understand the example of AI
- 2:42:12agent
- 2:42:18cool and we'll actually create that
- 2:42:19agent today okay so intelligence
- 2:42:21autonomy and uh action Right? And there
- 2:42:25are multiple platform guys understand
- 2:42:27building AI agents these days is not
- 2:42:30rocket science. It is commoditized
- 2:42:32information. How to build great agents
- 2:42:35is something that is something that you
- 2:42:37need to learn. Okay. So if you go to
- 2:42:38platforms such as agents.ai, ZPR, NAN
- 2:42:42and OpenAI has very recently created
- 2:42:43their agent kit. You can go ahead and
- 2:42:45create multiple agents. Okay. However,
- 2:42:50there has been a report recently. There
- 2:42:52has been a report recently and this
- 2:42:54report got way too popular and it has
- 2:42:57mentioned that 95% of most of the AI
- 2:43:00initiative most of them are AI agents
- 2:43:02have failed and the reason being there
- 2:43:04was a learning gap. Learning gap means
- 2:43:08these project did not fail because these
- 2:43:11people were failing to engineer agents.
- 2:43:14They were able to create agents but the
- 2:43:16problem was these agents were actually
- 2:43:19not solving any good enough problem
- 2:43:22and it was not learning from the
- 2:43:25feedback
- 2:43:27right so anytime you want to go ahead
- 2:43:29and build any kind of product please
- 2:43:31remember this if you are creating AI
- 2:43:34agent if you are creating a normal
- 2:43:37traditional product or even if you are
- 2:43:38creating an offline product please make
- 2:43:40sure that you start from these two
- 2:43:44If you read this report, I'll I'll
- 2:43:46attach this report in the resources
- 2:43:48section when we are sending this to you,
- 2:43:50you will understand why not having the
- 2:43:53right product sense was a major problem
- 2:43:54why these things fail rather than just
- 2:43:57not knowing about the AI. So
- 2:43:58understanding AI is easy but using AI at
- 2:44:01a scale is a different beast altogether.
- 2:44:04Right? Yes. So this is simple about AI
- 2:44:07agents. I'm going to help you understand
- 2:44:08how AI agents are built. So,
- 2:44:12a quick yes or no everyone if you have
- 2:44:14ever built an agent.
- 2:44:17A quick yes or no if you have ever built
- 2:44:18an agent.
- 2:44:27Cool. A lot of nos.
- 2:44:30Cool. So, I I'll Okay. So, understand is
- 2:44:32also a fantastic flow, but I'll show you
- 2:44:35something even simpler. Okay. So you can
- 2:44:36go to this app called relay.app.
- 2:44:42This is free with enough credit. So I'm
- 2:44:44using this. Okay. And it is very simple.
- 2:44:46Okay. So I'll click on login.
- 2:44:50I might be logged on already. Okay. So
- 2:44:52I'm already logged in. Okay. So what
- 2:44:53I'll do is I'll create a simple flow.
- 2:44:55Okay. So I'll click on new workflow.
- 2:45:00Now every agent starts from a understand
- 2:45:03guys. uh this agent I am telling you
- 2:45:06these agents that you can build the
- 2:45:08production grade agents are different
- 2:45:11the products that I'm going to give you
- 2:45:13examples in just a moment they are also
- 2:45:14agent but right now we are using like a
- 2:45:16agent that you can also build on your
- 2:45:17own okay this is for your own
- 2:45:19productivity okay so the agent is
- 2:45:24yes so the agent is will do the simple
- 2:45:26thing at 8:00 a.m. In the morning it is
- 2:45:32going to crawl my profile or any other
- 2:45:33profile that you want to. It will take
- 2:45:36all the posts and then it will summarize
- 2:45:38these post and then it will send me an
- 2:45:41email. That's it. Okay. Summarization
- 2:45:44will happen with an AI. So add a
- 2:45:46trigger. Trigger means when should this
- 2:45:49event happen? When should this event
- 2:45:52happen? Okay. So I will just go ahead
- 2:45:54and click on
- 2:45:56schedule trigger. It should happen
- 2:46:02tomorrow or at today's 26th today at 8
- 2:46:06a.m. So this time has already passed. I
- 2:46:08can make it tomorrow.
- 2:46:11Okay, it can run at this time and it
- 2:46:14should run daily. I can also make it any
- 2:46:16other time. Okay, this is how the event
- 2:46:18is triggered. Okay, and then I'll click
- 2:46:20on done.
- 2:46:22To make it simple, I have chosen this
- 2:46:24frequency. But you can also execute your
- 2:46:26agent on any other event. For example,
- 2:46:29when you send a message to Slack, when
- 2:46:32you send and get an email from someone,
- 2:46:34when you go ahead and maybe send a
- 2:46:36message on Telegram, when you go ahead
- 2:46:39and click a button, when you go ahead
- 2:46:40and get a new lead from your CRM, you
- 2:46:42can go ahead and add any kind of
- 2:46:43triggers. Okay, this is just to make it
- 2:46:45simple. Keep it simple, right? Then
- 2:46:48we'll add a step. The other step is I
- 2:46:50want to add LinkedIn.
- 2:46:52So on LinkedIn I will just click on add
- 2:46:55this tab. I will search for LinkedIn and
- 2:46:56then
- 2:46:59get LinkedIn
- 2:47:01comments person post. I want some people
- 2:47:04some person's post. I'll click on this
- 2:47:07and then I'll select a URL. So what is
- 2:47:09my LinkedIn URL? I'll go to this
- 2:47:13LinkedIn
- 2:47:16slashin
- 2:47:20/ ankit.
- 2:47:22So this is my LinkedIn profile.
- 2:47:26I'll just click on this.
- 2:47:28I will
- 2:47:30enter manually. I will enter this
- 2:47:34and then I want to get the top 10 posts
- 2:47:38and then if posts are not returned then
- 2:47:40continue without a result and then done.
- 2:47:43Second step is done. The third step is I
- 2:47:47have to summarize.
- 2:47:49So I will summarize and then what will I
- 2:47:52summarize? I will summarize posts. Next
- 2:47:56it will automatically tell me what you
- 2:47:57want to summarize based on what I have
- 2:47:59sent from the last step. Okay. And then
- 2:48:04this is the prompt.
- 2:48:06Okay. I can do it better. I can go to
- 2:48:09chat GPT
- 2:48:12and I can ask chat GPT that write me an
- 2:48:17effective prompt to
- 2:48:21summarize my LinkedIn posts.
- 2:48:32Right. So I will go ahead and copy this.
- 2:48:38Right. I'll go ahead and copy this.
- 2:48:40Okay. But to keep it simple, I'm not
- 2:48:41using this. But you can just go ahead
- 2:48:43and copy this and paste it there. Okay.
- 2:48:45I'll go ahead with the simple one which
- 2:48:47is summarize the attached post. Use
- 2:48:49fewer than 100 words. Okay. Then access
- 2:48:53to this this this this is this this.
- 2:48:55Okay. Plain text. Okay.
- 2:48:58Done.
- 2:48:59Right. And then we have plus button
- 2:49:03which is I want to send myself an email
- 2:49:06whenever this happens.
- 2:49:08Email send email to yourself. What is
- 2:49:11the subject?
- 2:49:13Summary from
- 2:49:17Ankit's post add body. If I write X I
- 2:49:21should if I rect the rate I should be
- 2:49:22able to get the sum
- 2:49:26AI output
- 2:49:33summary is above
- 2:49:36okay and then I'll go ahead and click on
- 2:49:38done
- 2:49:40right and now okay so everyone so far
- 2:49:45write yes or no in the chat if you're
- 2:49:46able to understand the flow so far it is
- 2:49:48super simple Right.
- 2:49:52Correct. And now what we'll do is we
- 2:49:55will just go ahead
- 2:49:58and try to test this start now. I can
- 2:50:03test this, right? I don't have to wait
- 2:50:04for morning tomorrow because you guys
- 2:50:05would not be there. So I will test this
- 2:50:13summarize with AI
- 2:50:17and then an email to yours. So I'll
- 2:50:19click on this. This is the email. The
- 2:50:21post primarily promotes a free multi
- 2:50:24session AIPM master class which drew
- 2:50:26over 800 live attendees. The master
- 2:50:29class focuses on mastering LLM. This
- 2:50:31this this and this. I hope you guys
- 2:50:33remember this
- 2:50:35right now guys tell me confident in the
- 2:50:38chat if you are confident in creating
- 2:50:40your own agents now
- 2:50:42tell me confident in the chat. Yes. So
- 2:50:45understand this tooling was never
- 2:50:48difficult.
- 2:50:49This tooling was never difficult. What
- 2:50:51one thing that AI has done is it has
- 2:50:54gone ahead and made things simpler for
- 2:50:57everyone. It has gone ahead and made
- 2:51:00things super simpler for everyone. Okay.
- 2:51:04As a person, you need to understand that
- 2:51:05now you have so much power and you have
- 2:51:08the power to exercise this power. You
- 2:51:10have the ability to exercise this power.
- 2:51:12Okay. Now you should focus on the right
- 2:51:15use cases. Okay. So what I'll also do is
- 2:51:21I will share with you a list. So Google
- 2:51:22has created an amazing guide.
- 2:51:25Google has created an amazing guide
- 2:51:27which talks about what are the different
- 2:51:30kind of use cases in different kind of
- 2:51:32industries
- 2:51:34for AI agents. I will share this guide
- 2:51:37also with you in the slides so that you
- 2:51:39are able to understand and then create
- 2:51:41agents there. First whenever you create
- 2:51:43any product understand the users and the
- 2:51:46business. An AI product manager is a
- 2:51:49product manager before they are an AI
- 2:51:50product manager. Okay tools are easy. I
- 2:51:53have already taught you the tools. they
- 2:51:54are not so difficult. Important thing is
- 2:51:56understanding to solve the right
- 2:51:58problems.
- 2:51:59Okay. And then when you create an AI
- 2:52:02agent, these are the things that you
- 2:52:04need. So this is a general stack that
- 2:52:06you guys can go ahead and take a
- 2:52:07screenshot of. In an agent, you need
- 2:52:10reasoning so that you can summarize, you
- 2:52:12can take decisions, you can call certain
- 2:52:14kind of tools, right? And generally LLMs
- 2:52:17are used. LM's large language models are
- 2:52:19GPT, Claude, Llama and others. And small
- 2:52:21language models are F3 and JMA.
- 2:52:24Right? Similarly,
- 2:52:27you need memory. For example, if you in
- 2:52:31chat GPT, it remembers everything that
- 2:52:32you have told. But when APIs are called
- 2:52:34in in agents, they might forget about
- 2:52:36your older conversation. So, you need to
- 2:52:39save your memory. Okay. So, understand
- 2:52:41here what has happened in this model.
- 2:52:43What is memory? Let me tell you. So, in
- 2:52:45this model, in this flow,
- 2:52:48it found 10 post then it gathered the
- 2:52:51data. It sent the data to the other step
- 2:52:53where the AI summarized it and then it
- 2:52:56was able to get that memory that data
- 2:52:58that summarization to the next step.
- 2:53:00This is called as memory. Making sure
- 2:53:02that LLM and or the whole uh model the
- 2:53:06whole agent is able to remember what you
- 2:53:08just said. Right? This is called as
- 2:53:10memory. And for memory we have multiple
- 2:53:13tools.
- 2:53:15For memory we have vector databases such
- 2:53:18as pine cone, chroma, rag and feedback
- 2:53:20loops. Right. And then there are tools.
- 2:53:22Tools can be accessed with the help of
- 2:53:24databases, visual agents and APIs. APIs
- 2:53:26are available. There is something also
- 2:53:28called as visual agents. Visual agents
- 2:53:30is it will if it does not have an API,
- 2:53:32it will act like a computer. It will
- 2:53:34browse, it will click buttons in order
- 2:53:36to get the data for you. Okay. And then
- 2:53:40so open world operator is example of a
- 2:53:42visual agent.
- 2:53:45Right. Then we have orchestrators
- 2:53:47platform on which you can create these
- 2:53:49kind of tools these kind of agents. So
- 2:53:51langraph crew AI NA10 is these
- 2:53:55platforms. I have given you a new
- 2:53:57example today which is array.app and
- 2:53:59then we have guard rails. So now
- 2:54:01understand AI agents are like fire. You
- 2:54:06can use them to cook your own food. You
- 2:54:08can use them to show away danger
- 2:54:09animals. And you can also use it to burn
- 2:54:10your own hands and burn your own home.
- 2:54:13So guardrails are super important.
- 2:54:16Guardrails make sure that your content
- 2:54:18is relevant, your agents are safe, you
- 2:54:20have you are not abusing the tools and
- 2:54:23then you are also validating the output
- 2:54:25before presenting it to users. Right? In
- 2:54:28our major big program we tell you about
- 2:54:30in detail of all of these things so that
- 2:54:32you are able to build some secure
- 2:54:34agents, production grade agents,
- 2:54:38right? Yes. And uh these are some
- 2:54:42examples of agents which are useful.
- 2:54:43Customer support agents which will read
- 2:54:46tickets, drafts, replies and then update
- 2:54:49the CRM meeting productivity such as
- 2:54:51fireflies, fireflies and granular that
- 2:54:53we have discussed yesterday and bizops
- 2:54:55business ops which is sepia or enterain
- 2:54:57agents that monitor incoming data and
- 2:54:59execute automations. Right? So this is
- 2:55:01in a nutshell what agents are. Okay. Now
- 2:55:05in the next part of the class we are
- 2:55:06going to talk about how platforms such
- 2:55:08as V coding platforms such as Lovable
- 2:55:10Berchant on Vero works. Okay. But right
- 2:55:14now let's take a quick break. Okay. So
- 2:55:17before that everyone tell me on a scale
- 2:55:18of 1 to five how good are you able to
- 2:55:21understand everything so far?
- 2:55:25Great. Cool. Amazing. Cool. So now
- 2:55:27everyone a quick break of 4 minutes and
- 2:55:31then we are going to come back.
- 2:55:34Quick break of 4 minutes and then come
- 2:55:36back.
- 2:55:39I think we are right on time. How much
- 2:55:42is the time?
- 2:55:44Oh 911. Oh 911 is the time. So
- 2:55:49great behind lovable.
- 2:55:56Cool.
- 2:56:00I'm sure many of you might have gone
- 2:56:02ahead and tried your hands or at least
- 2:56:06heard about these apps like these very
- 2:56:09high growth apps called as lovable,
- 2:56:11bolt, emergent, fezero. What they do is
- 2:56:14you give them a prompt then they work in
- 2:56:17the back end in order to create a
- 2:56:18full-fledged application for you. Right?
- 2:56:22What these app do at the back end is
- 2:56:24something that I'm going to tell you
- 2:56:25today. Okay, I'll tell you at a high
- 2:56:28level how these things are supposed to
- 2:56:29work.
- 2:56:31But before that we should follow the
- 2:56:33follow the rules. Okay, the first thing
- 2:56:35is what is the user value? The user
- 2:56:38value here is that as an entrepreneur,
- 2:56:42as a product manager, as an engineer, I
- 2:56:46either do not know how to code or I do
- 2:56:49not have enough time to spend on a
- 2:56:52unproven idea. So what I do is I give it
- 2:56:55a prompt. I give I want a tool that can
- 2:56:59help me build a full-fledged app that
- 2:57:02can help me test my idea. Before these
- 2:57:05kind of apps, before AI, what used to
- 2:57:06happen? I will hire a developer. I'll
- 2:57:08build something and then it will take me
- 2:57:10a lot of time. Then it will take me a
- 2:57:12lot of money and then maybe I'll know
- 2:57:14that this thing is not working. Right?
- 2:57:16Why? Because you only know if a product
- 2:57:17is working when you go ahead and launch
- 2:57:18it. So it was very difficult to build
- 2:57:21full-fledged apps without the
- 2:57:23involvement of a developer. These low
- 2:57:25code tools that used to happen before
- 2:57:26that like web flow and all they were not
- 2:57:29very effective for any non-engineer.
- 2:57:30They still used to take a lot of time.
- 2:57:32So now with the possibility of AI we
- 2:57:34have some tools with which we can just
- 2:57:36go ahead and give it a prompt. It will
- 2:57:37be able to go ahead and generate a full
- 2:57:38website or an app. Right? So value
- 2:57:41unlock is definitely there. Okay. But
- 2:57:43you should define what is the market
- 2:57:45that you are playing in. Is it engineers
- 2:57:46or hobbyist or entrepreneurs or
- 2:57:49non-coders that will define the UI and
- 2:57:52the UX right and the strategy. Why
- 2:57:54should the business pursue this
- 2:57:55opportunity? There are so many people
- 2:57:57who want to build their own products,
- 2:58:00right? And traditionally these people
- 2:58:02have not do not have the power to do
- 2:58:04this. Why? Because technology could not
- 2:58:06support it. Now what has happened right
- 2:58:08now is that there is a technology called
- 2:58:10as Gen AI through which this is possible
- 2:58:13now. Okay. So now there is a huge
- 2:58:15business opportunity out there. You can
- 2:58:16do the sizing of the market in terms of
- 2:58:18tam but there is a big market
- 2:58:20opportunity right and many product
- 2:58:23managers many entrepreneurs they want to
- 2:58:24build quick prototypes before they can
- 2:58:26go ahead and full-fledged take the
- 2:58:28business the engineering resources there
- 2:58:31is a business value the third part is
- 2:58:33design how do we make it intuitive to
- 2:58:35use so if you look at the platform such
- 2:58:38as lovable
- 2:58:40you'll be able to find multiple things
- 2:58:43okay first is
- 2:58:45these These platforms give you
- 2:58:50a very good interface where you can just
- 2:58:52write a prompt like a chat plus they
- 2:58:55will let you to add
- 2:58:58any screenshots. So most of the people
- 2:59:00they are inspired. So they will go to a
- 2:59:02website look at the website it is
- 2:59:04looking good they will take a screenshot
- 2:59:06and they want to make something like
- 2:59:07that right and then they are also going
- 2:59:12to give you examples of how other people
- 2:59:14have done this. So you are getting some
- 2:59:16inspiration. Okay. Plus they also make
- 2:59:18sure that there is a community
- 2:59:21which can go ahead and help you. So you
- 2:59:23can go ahead and get added to this
- 2:59:24community and then you can go ahead and
- 2:59:27learn about how other people are using
- 2:59:28Lovable. So it makes sure that you are
- 2:59:29able to get on boarded on the platform
- 2:59:31very very easily.
- 2:59:34Right? And then they also have some
- 2:59:35learning tutorials and all that makes
- 2:59:37sure that it is easier for you to use.
- 2:59:39And they have also made sure that they
- 2:59:40have a free pricing plan.
- 2:59:44Yes, I already have a paid plan. So they
- 2:59:46do have a premium plan through which
- 2:59:48they can you can go ahead and try the
- 2:59:50platform before you go ahead and start
- 2:59:52spending your money. Right? So this
- 2:59:54makes sure that the platform is usable.
- 2:59:55The ultimate usability is coming from
- 2:59:57the simple fact that an LLM can allow
- 2:59:59you to generate like convert your simple
- 3:00:02prompt into a full-fledged website or a
- 3:00:04web app. Okay. So this is the usability
- 3:00:07and then how does it work?
- 3:00:10Okay, how does it work? So this is the
- 3:00:13simple architecture of these kind of
- 3:00:14apps. Okay, the user will give the
- 3:00:18input. Okay, the user will give a input
- 3:00:21that please create a clone for Airbnb.
- 3:00:24Simple but they are going to enhance it
- 3:00:27with a system prompt. So they will write
- 3:00:29a prompt like you are a senior level
- 3:00:33system architect and a backend developer
- 3:00:36and a front end or a fullstack developer
- 3:00:39and now you have to create the app the
- 3:00:42product that the user is requesting.
- 3:00:45Make sure that you are going ahead and
- 3:00:47following up with uh you are going ahead
- 3:00:48and following all the engineering
- 3:00:50principles and using these kind of files
- 3:00:52and they would go ahead and give more
- 3:00:53context. Okay. So your prompt whatever
- 3:00:55you are giving will be enhanced with the
- 3:00:58system prompt and then as a result what
- 3:01:00you will have first it will create a
- 3:01:02prompt to plan the whole product. Step
- 3:01:04number one is create this file. Step
- 3:01:06number two is create this file. Step
- 3:01:07number three is create this function
- 3:01:08then create an API. So it is going to
- 3:01:10lay down the complete plan. After that
- 3:01:13it will create files.
- 3:01:15It has access to a virtual environment.
- 3:01:18So now it is becoming agentic. Why? It
- 3:01:20has an access to a tool. What is the
- 3:01:22tool? The tool is a virtual environment.
- 3:01:23So what will happen a virtual
- 3:01:25environment is nothing a piece of
- 3:01:27computer that is given to lovable where
- 3:01:29it can go ahead and deploy your apps.
- 3:01:32Okay. So it has access to a file system
- 3:01:34it has access to an automatic
- 3:01:35deployment. Okay. And then it is going
- 3:01:37to keep on running the file on itself so
- 3:01:39that it is able to understand if there
- 3:01:41are any kind of mistakes and then
- 3:01:43because it's an agent it is going to
- 3:01:44automatically correct these mistakes and
- 3:01:46eventually you are going to get the
- 3:01:48output.
- 3:01:50Okay. So lovable, emergent, vzero are
- 3:01:54nothing. They are just agents which work
- 3:01:57in a loop to correct the mistakes and
- 3:02:00they also make sure that they have
- 3:02:02access to some kind of file system where
- 3:02:04they can host these files so that you as
- 3:02:06a user can go ahead and access these
- 3:02:07files.
- 3:02:09Okay. So let me give you a moment. Okay.
- 3:02:17This is chat GPT.
- 3:02:19I am giving a simple prompt to charge
- 3:02:21GBD. Okay.
- 3:02:24I want to create a clone of
- 3:02:29Okay. help me create a system prompt
- 3:02:35that I can
- 3:02:40use in my vibe coding app
- 3:02:45where user can
- 3:02:49enter their idea of app and the system
- 3:02:55prompt will make it
- 3:02:59detail. scale
- 3:03:01effective
- 3:03:03to be
- 3:03:04able to create a
- 3:03:08dependable
- 3:03:11modern app
- 3:03:13with
- 3:03:16let's say JavaScript as the primary
- 3:03:20language. Most of the apps you will see
- 3:03:22that they are written in JavaScript.
- 3:03:23Okay, I'll just click on this and then
- 3:03:26I'll get a very detailed system prompt.
- 3:03:34Yes. So here what will happen? While the
- 3:03:36prompt is being generated, what will
- 3:03:37happen here?
- 3:03:40I will create a system.
- 3:03:43If I want to create a clone of lovable,
- 3:03:44I will create a system. This is the box.
- 3:03:48User will input something. This request
- 3:03:51will be added with my system prompt
- 3:03:55and the user input will be added and
- 3:03:58then it will be sent to an LLM and then
- 3:03:59I'll get the complete set of
- 3:04:01instructions.
- 3:04:03Right? So this prompt I have taken. Now
- 3:04:06this is a prompt system prompt. This you
- 3:04:08are a Yoder. This this this is this this
- 3:04:10this. And now you understand everything
- 3:04:12is
- 3:04:14mentioned here.
- 3:04:17Right. This now will be sent to the LM.
- 3:04:20Now based on this files would be
- 3:04:23generated. So it will create a plan. In
- 3:04:25the plan there would be some files,
- 3:04:26there would be some testing, there would
- 3:04:28be some functionality and then this will
- 3:04:30be again sent to the prompt.
- 3:04:33Right? You can actually create your own
- 3:04:36lovable, your own emergent with the help
- 3:04:39of relay app because there also you are
- 3:04:41executing instructions step by step.
- 3:04:47Right?
- 3:04:50So this is how lovable and every
- 3:04:52platform works on the back end. So agent
- 3:04:54is nothing. It is thinking and accessing
- 3:04:58tools in a loop. So they have
- 3:05:01orchestrated them in such a way that
- 3:05:02they are able to go ahead and execute
- 3:05:04things again and again in a methodical
- 3:05:07or a step-wise manner. Right? Now agents
- 3:05:10are built on multiple patterns. One
- 3:05:11pattern is that there is one agent who
- 3:05:12is doing multiple task. Then
- 3:05:16let's say if I give you people an
- 3:05:17assignment that tomorrow you have to
- 3:05:18create a case study on lovable five
- 3:05:20people in the same team. Okay. Now what
- 3:05:23will happen? I believe that if five
- 3:05:24people are working on the same team the
- 3:05:26quality should improve. That is why I'm
- 3:05:27putting five people and I'm giving you
- 3:05:30less time. For an individual I would
- 3:05:31have given one week but for five people
- 3:05:33I'm giving two days. So now because I
- 3:05:35think that efficiency will increase. So
- 3:05:37now what you guys will do is you will
- 3:05:39divide the work among yourself that I
- 3:05:41will look do the research you do the
- 3:05:43direct someone is going to do the design
- 3:05:45someone is going to do something else.
- 3:05:47Okay. And when you go ahead and come
- 3:05:49back you are going to go ahead and
- 3:05:50combine all the out outputs and then you
- 3:05:52are going to create something which is a
- 3:05:54one case study. So this is how agents
- 3:05:56also do the orchestration. So there is
- 3:05:58also design patterns in agents which
- 3:06:01define how different agents are going to
- 3:06:03work with each other.
- 3:06:06Okay. So this is in a nutshell what
- 3:06:08agents are. Okay. Everyone tell me on a
- 3:06:11scale of 1 to five you're able to
- 3:06:13understand agents.
- 3:06:17Yes. So please everyone please
- 3:06:18understand things from first principles
- 3:06:20which is agent is nothing. Agent did not
- 3:06:23existed. AI agent did not existing 4
- 3:06:25years ago. Okay. So it's very simple. If
- 3:06:28you are creating a workflow which can
- 3:06:31have an AI LLM in between which can
- 3:06:34execute actions for you and do some
- 3:06:36intelligent task that is an AI agent.
- 3:06:40Right now after this
- 3:06:44there is one problem with the agents.
- 3:06:45The problem is that the agents in order
- 3:06:49to act they need to connect with tools.
- 3:06:52LinkedIn is one platform,
- 3:06:55Gmail is one platform, Google Drive is
- 3:06:58one platform, maybe your SMS is one
- 3:07:00platform, your Telegram is one platform
- 3:07:02and there are so many platform, your
- 3:07:03Slack is one platform. So they need to
- 3:07:05connect with many tools. And if you are
- 3:07:07someone who is building agents where LLM
- 3:07:09needs to connect with the agents with
- 3:07:11the tools, then it's a nightmare to read
- 3:07:13every API and connect your product with
- 3:07:16the API. Okay. So if so many let's say
- 3:07:21like one LM has to connect with multiple
- 3:07:23products then everyone has their unique
- 3:07:25API. So that is a nightmare. So now what
- 3:07:29these people have done is enthropic the
- 3:07:31people behind claude they have created a
- 3:07:34simple thing which is they told everyone
- 3:07:37that if you want to they have told Gmail
- 3:07:39slack Jira everyone and the whole world
- 3:07:41that if anyone wants the LLM to use
- 3:07:44their APIs
- 3:07:46please go ahead and create something
- 3:07:48called as model context protocol or MCP.
- 3:07:51So what is an MCP? MCPS is these people
- 3:07:55have created one more versions of their
- 3:07:57APIs or a layer over their APIs which
- 3:08:00can be understood by large language
- 3:08:02models.
- 3:08:05Right? So maybe yesterday only or a
- 3:08:08couple of days before Zumato has
- 3:08:10launched their own MCP. So Zumato is an
- 3:08:13Indian website where you can is an
- 3:08:14Indian app or website where you can go
- 3:08:16ahead and order food. So this is the
- 3:08:18detailed article on the same where is
- 3:08:20that? Yes. So now you can go ahead and
- 3:08:24do so many things from your cloud. So on
- 3:08:27your cloud desktop or your chat GPT
- 3:08:29desktop you can go ahead and install
- 3:08:31this uh uh this cla this summato MCP and
- 3:08:34then you should be able to go ahead and
- 3:08:37write these kind of queries Indian food
- 3:08:39in your Indraagar pizza under 200 rupees
- 3:08:42and then you should be able to make an
- 3:08:43order from there only. Right. So now
- 3:08:46Zumato has an API which already existed
- 3:08:48for a long period of time but you cannot
- 3:08:51have conversation with an API through
- 3:08:53the LLM through natural language. Now
- 3:08:56they have created an MCP. What does an
- 3:08:57MCP do? MCP converts the natural
- 3:09:01language helps the LLM to talk with the
- 3:09:04API in natural language.
- 3:09:07Right? That is an NCP. Okay. And there
- 3:09:09are multiple I'll share this link with
- 3:09:11you so that you are able to go and
- 3:09:12understand how it is created. Understand
- 3:09:14it's not difficult to create MCP. What
- 3:09:16you need to do is if you are a product
- 3:09:19like Zumat or any other product in the
- 3:09:20world, you would have an API
- 3:09:22documentation. Take that API
- 3:09:24documentation, go to chat GPT and ask it
- 3:09:27to convert into an MCP. It will give you
- 3:09:30a file that you have to host on your
- 3:09:31server and then you are done. You have
- 3:09:32to do a couple of testing as well but
- 3:09:34that is done
- 3:09:38right. So that is model context
- 3:09:39protocol. So in model context protocol
- 3:09:41we have three components. The first part
- 3:09:43is the AI host where you are going to
- 3:09:45send query. So it could be claude,
- 3:09:48cursor, chat, GPT. This is where your
- 3:09:50MCP client is going to be there. This is
- 3:09:51your MCP client. Okay. Then there's an
- 3:09:55MCP server that is hosted at the person
- 3:09:58who has given you the MCP which is
- 3:10:00Zumato or Razer Pay or something. And
- 3:10:02then there is a data source. This is
- 3:10:04stored at Zumato or somewhere where you
- 3:10:06can go ahead and have the data or you
- 3:10:07can take actions. Okay. So any MCP
- 3:10:10server will give you a small file that
- 3:10:12is called as client configuration file.
- 3:10:14You have to enter it into your cloud or
- 3:10:16any of the LLM that you are using and
- 3:10:18then your agent will be able to talk to
- 3:10:19these tools without understanding the
- 3:10:21API.
- 3:10:24Right? So this is MCP. You can go ahead
- 3:10:25and read more about it. Right? Yes. So
- 3:10:29we have talked about so many things so
- 3:10:30far.
- 3:10:32Cool.
- 3:10:37Everyone tell me how would you describe
- 3:10:39the session so far in one word so that I
- 3:10:41know if we are going in the right
- 3:10:42direction.
- 3:10:43Tell me how would you explain this
- 3:10:46session so far in one word so that I can
- 3:10:48go ahead and
- 3:10:52tell you something more.
- 3:10:54Yes.
- 3:10:56Great. Now let me just go ahead. Thank
- 3:10:58you. Thank you everyone. Thank you for
- 3:10:59the nice words. Now I think we are on
- 3:11:01time. So we have some more time. So I'll
- 3:11:03give you
- 3:11:05one more thing. Okay, which is
- 3:11:08evaluations.
- 3:11:09Look at this very carefully. Okay, so
- 3:11:12there are some challenges
- 3:11:14that happen in building AI products. The
- 3:11:17challenges are they hallucinate. They
- 3:11:19have certain kind of biases and they are
- 3:11:22indeterministic.
- 3:11:23Okay. But understand nowadays you people
- 3:11:25would be understanding that language
- 3:11:27models are becoming more and more
- 3:11:28intelligent. Okay. If you find that
- 3:11:30there is an error, you can ask it to
- 3:11:33correct that error and it corrects that
- 3:11:34error. Okay. But still large language
- 3:11:37models are these powerful beast. If you
- 3:11:42leave them without a leash then they can
- 3:11:44do a lot of disaster to your customers.
- 3:11:46Okay. So this is what AI believes like.
- 3:11:50Okay. It believes that it has all the
- 3:11:51content in the world and it can give
- 3:11:53answers like wrong answers with complete
- 3:11:56confidence.
- 3:11:58Okay. So that is why we have something
- 3:12:00to tame these beast. The leash that
- 3:12:03works on your LLMs is called as
- 3:12:05evaluations.
- 3:12:07Okay. And what happens is whenever your
- 3:12:10LLM is not working and if you're not
- 3:12:12getting the right kind of output, there
- 3:12:14are certain issues and you can resolve
- 3:12:16these issues with three things. Okay. So
- 3:12:19when you are building any kind of GI
- 3:12:21product, you have to take three
- 3:12:23important decisions. The one important
- 3:12:25decision is what is the model that you
- 3:12:27are going to choose. If you choose a
- 3:12:29very high quality model then you have to
- 3:12:31pay more cost. If you choose a very low
- 3:12:34cost model
- 3:12:37then you have an issue of accuracy.
- 3:12:40Right? Similarly rag instrumentation in
- 3:12:44rag there are multiple components.
- 3:12:48If your chunk size is not correct then
- 3:12:51the information that it is giving you
- 3:12:52would be incorrect. If you understand I
- 3:12:55have told you that there is a vector
- 3:12:56embedding but for vector embedding also
- 3:12:58there are multiple algorithms which
- 3:13:00algorithm should you use okay it depends
- 3:13:02on the use case. So what is going to be
- 3:13:05the instrumentation of your rag? What is
- 3:13:07the vector algorithm? What is the size
- 3:13:09of chunking? What are the different kind
- 3:13:11of model that you will use? That is also
- 3:13:13very important.
- 3:13:14Okay. These are the decision that you
- 3:13:16need to take. And then context
- 3:13:18engineering. What should be the prompt?
- 3:13:20How long should be the context? how you
- 3:13:22should give the instructions. These
- 3:13:24things are going to determine whether
- 3:13:26your geni app is working rightly or not.
- 3:13:29And this is actually engineering.
- 3:13:31Engineering why? Because there is going
- 3:13:33to be a lot of course correction.
- 3:13:37Okay. So in order to do these things, in
- 3:13:40order to understand whether our geni
- 3:13:43application is working well or not, we
- 3:13:45have something called as evaluations. So
- 3:13:47what evaluations do is they check the
- 3:13:49output for correct syntax and formats
- 3:13:52for bias for correctness relevance and
- 3:13:54other unnecessary checks. Okay. So for
- 3:13:57example
- 3:13:59if on notebook LM al on granular we
- 3:14:04generated a summary we want to
- 3:14:05understand whether this summary is
- 3:14:07actually aligned with whatever has been
- 3:14:09said in the meeting or not. So how do we
- 3:14:10test this? We test this with the help of
- 3:14:13large language models. Okay. So what we
- 3:14:17do is
- 3:14:19to help you understand I'm going to give
- 3:14:21you a case study on the AI first job
- 3:14:23website. Okay. So tell me in the chat
- 3:14:27how many people are looking for jobs.
- 3:14:30Tell me in the chat yes or no if you're
- 3:14:31looking for a job.
- 3:14:39Yes guys even if you don't know your
- 3:14:42colleagues and your bosses might be
- 3:14:44present in this meeting. Now
- 3:14:47I will give you an idea. Okay. And I'm
- 3:14:49sure many people would have faced this.
- 3:14:50Okay. So let's say I am creating a new
- 3:14:53kind of job website where what I'll do
- 3:14:55is I will crawl all the websites from
- 3:14:58the all I will crawl all the jobs from
- 3:15:01major websites from the internet. So
- 3:15:03I'll go to hired, I'll go to LinkedIn,
- 3:15:06I'll go to no, I'll go to Instaire, I'll
- 3:15:08go to multiple websites. I'll go to
- 3:15:09indeed and other websites in order to
- 3:15:12crawl jobs. scroll as in I will go to
- 3:15:14this website automatically I will get
- 3:15:17the content and I'll scrape the jobs so
- 3:15:19now I have a job database I have
- 3:15:23database of all the job descriptions
- 3:15:25titles companies and everything right
- 3:15:28now what I'll do is I will enhance this
- 3:15:31job with LLM I will enhance this job
- 3:15:35with LLM and by enhancing what I mean is
- 3:15:37I will give it a prompt and then what
- 3:15:39I'll do is I will generate this output
- 3:15:42so I will enter a job description and
- 3:15:45then the LLM will give me summary of the
- 3:15:47job description
- 3:15:50possible interview question. So from the
- 3:15:51job description in the company it will
- 3:15:53try to understand what are the question
- 3:15:55that can be asked
- 3:15:57skills that are needed to do this job
- 3:16:00learning guide for this job and quiz for
- 3:16:03assessment which is a small quiz that
- 3:16:05will help me understand whether I'm
- 3:16:06ready to fill or apply for this job or
- 3:16:09not. Okay, this is a simple website that
- 3:16:13I need to create. Okay, tell me everyone
- 3:16:16will this kind of website will be
- 3:16:17helpful for you or not? People are
- 3:16:18looking for jobs.
- 3:16:24Yes. So, it will give you some more
- 3:16:26context about the job description.
- 3:16:31Right. So, now and this can be created.
- 3:16:35You can go ahead and create this website
- 3:16:37today also like by using labable or
- 3:16:39something. Okay. But now there is an
- 3:16:41issue. How do I know this job
- 3:16:43description, interview question, skill
- 3:16:45needed, learning guide, everything is
- 3:16:46good or not. Okay. So I'm going to
- 3:16:49introduce one method of so understand
- 3:16:52these things that I have told you which
- 3:16:54is all of these things they are done
- 3:16:57with multiple methods. One of the method
- 3:17:00to run your evaluations is called as LLM
- 3:17:04as a judge. So we run our outputs
- 3:17:09through another more intelligent LLM in
- 3:17:12order to understand whether it is
- 3:17:13correct output or not. Okay. So here the
- 3:17:16issue is that although I'm generating
- 3:17:18good information but this information
- 3:17:19can be wrong.
- 3:17:21Okay. So what I'll do is I'll do this.
- 3:17:23Okay. So I have crawled a job from the
- 3:17:25internet. I have stored them in my
- 3:17:28database. I have ran them through
- 3:17:32LLMs and then I have created this
- 3:17:35content.
- 3:17:37I have created this content.
- 3:17:39Now what I'll do is I will get all of
- 3:17:43these things
- 3:17:46again go through another LLM in order to
- 3:17:48understand which is called as evaluation
- 3:17:51that whether this content is correctly
- 3:17:53created or not. This is called as LLM as
- 3:17:58a judge
- 3:18:01and then I will find out whether the
- 3:18:02content is correct or not. This is a
- 3:18:04simple method of evaluation. Let me show
- 3:18:06you how it works.
- 3:18:19Yes. So this is the evaluation. Look at
- 3:18:21this very carefully guys. This is the
- 3:18:22prompt that I'll go to the I'll give to
- 3:18:24the another LM. Okay. You are an AI
- 3:18:27content quality evaluator for product
- 3:18:29management job listings.
- 3:18:31Given the following, this is the
- 3:18:32original job description. This is the AI
- 3:18:35generated summary. This is the interview
- 3:18:37question. This is the output from the
- 3:18:39other LLM. Right? These are the skills.
- 3:18:42These are the concept. This is a quiz.
- 3:18:44Evaluate the content using the following
- 3:18:46checklist. Is the summary accurate?
- 3:18:47Interview questions correct? Listed
- 3:18:49skills aligned? Are the concept useful?
- 3:18:51Is the quiz challenging? is any
- 3:18:52information correct or hell needing and
- 3:18:54then give me the response in this
- 3:18:56particular format
- 3:18:59okay then I'll have a dashboard where
- 3:19:01for every job description this score
- 3:19:03would be mentioned then I would know
- 3:19:05whether my LLM is working correctly or
- 3:19:07not okay so let's say if I get poor or
- 3:19:12fair or low or weak what I'll do is I
- 3:19:14will go back I will again try to tweak
- 3:19:17these things
- 3:19:19if my quality is add then I will maybe
- 3:19:23choose change the model or I'll change
- 3:19:25the rag instrumentation or I'll go ahead
- 3:19:27and change the context engineering which
- 3:19:29is the prompt that I have given okay
- 3:19:31that is how you improve upon AI product
- 3:19:33with the help of evaluation this is a
- 3:19:35super simplistic example of evaluations
- 3:19:38okay there are codebased evaluations as
- 3:19:40well there are LLM based evaluations as
- 3:19:42well generally this evaluation LLM that
- 3:19:44you use so this is
- 3:19:49LLM1 and this is LLM2. This LLM is
- 3:19:52generally a more intelligent LLM which
- 3:19:54is able to assess.
- 3:19:56Right? So this is an example of
- 3:19:58evaluation. Everyone a quick yes or no
- 3:20:00if you're able to understand this.
- 3:20:13Yes, there are many open source LLM
- 3:20:15guys. OpenAI OSS is an open source LLM.
- 3:20:19Lama is an open source LLM.
- 3:20:24Right? So this is there. Now we have
- 3:20:27almost completed the session. This is
- 3:20:29some set of tools. If you guys are
- 3:20:31curious, you can go ahead and start
- 3:20:32using this in your product management
- 3:20:34workflow. There is also a detailed video
- 3:20:36on this on our YouTube channel. Okay. AI
- 3:20:39for PM toolkit discovery for discovery
- 3:20:41for discovering what to build chat GP
- 3:20:44notebook perplexity mix panel textsql.
- 3:20:46Okay. for delivering at intelligence
- 3:20:49which is nothing but Jira, Asana, Vzero,
- 3:20:52Kurser, Postbot, Figma which you can use
- 3:20:54to create wireframes prototypes very
- 3:20:56quickly. Okay. And then for distribution
- 3:20:58you have craftable, chatbased, notion,
- 3:20:59genex, moage that can help you create
- 3:21:01marketing materials, collaborate with
- 3:21:03your team and look at analytics.
- 3:21:06Okay. So try to explore these tools at
- 3:21:08your own time so that you are able to
- 3:21:09become an AI enabled PM as well.
- 3:21:11Whatever we have discussed so far was
- 3:21:12for AI like applied AIPM, right? And
- 3:21:16then one more important thing guys
- 3:21:20that in this program like so far what I
- 3:21:23have done is
- 3:21:25I have given you information
- 3:21:28I have given you information about
- 3:21:31evaluations
- 3:21:32about agents about various tools about
- 3:21:36rack about prompt engineering about
- 3:21:38finetuning but information is not
- 3:21:40helpful for you information is just a
- 3:21:42couple of prompts away what you need is
- 3:21:46knowledge.
- 3:21:49And how do you convert information into
- 3:21:50knowledge? With the help of action
- 3:21:54and with the help of feedback
- 3:21:58and reflection.
- 3:22:01Right? So what you need to do is please
- 3:22:04do not limit yourself to only this
- 3:22:06knowledge.
- 3:22:08Go ahead and do something. Doing as in
- 3:22:11go ahead and build something. Okay? You
- 3:22:14have so much information available
- 3:22:15across the internet. Utilize and try to
- 3:22:18go ahead and build something right. If
- 3:22:20you guys are looking for mentorship then
- 3:22:22we also have a very detailed program. So
- 3:22:25understand whatever I have told you in
- 3:22:26this last two session that is not even
- 3:22:2810% of what we teach in our bigger
- 3:22:31program. So if you really found this
- 3:22:33information genuine useful I teach a
- 3:22:36bigger program which is a 15week program
- 3:22:38on AI product management. Okay you can
- 3:22:41go to the website you can get all the
- 3:22:42details out there. But if you have to
- 3:22:44ask me let's say three reasons why you
- 3:22:46should join LOPM program
- 3:22:48against other programs is very simple.
- 3:22:51First it is the most detailed AI product
- 3:22:54management program. We first talk about
- 3:22:56the traditional product management then
- 3:22:57we talk about AI product management. You
- 3:22:59can go to the website you can compare
- 3:23:01the curriculum. You can compare
- 3:23:02curriculum to any other course in the
- 3:23:04world. You will not be able to find a
- 3:23:06more detailed program. First point.
- 3:23:08Second point is everything is practical.
- 3:23:10We believe in doing things. So in the
- 3:23:13end of the program, you're actually
- 3:23:14going to go ahead and build your own
- 3:23:15product. Okay. So if you go ahead and go
- 3:23:17to the website,
- 3:23:22if you go ahead and go to the website
- 3:23:24hellom.co, you should be able to find in
- 3:23:27the curriculum section that this is the
- 3:23:29whole curriculum. Everything is
- 3:23:30supported with a lot of case studies and
- 3:23:32tools.
- 3:23:34Plus in the end of the sessions, we are
- 3:23:37also going to help you build your own AI
- 3:23:39product.
- 3:23:42This helps you prove to other people and
- 3:23:44to yourself that you are not an
- 3:23:46information seeker. You are actually
- 3:23:48someone who understands how to build
- 3:23:50products and this is a big opportunity
- 3:23:52for you. Right. And we also help you
- 3:23:55prepare for interviews and all that is
- 3:23:56given. And then
- 3:24:01yes and then the third part is we are
- 3:24:03the only program that supports you for
- 3:24:05the long term. Even if you have
- 3:24:08completed the program, we understand
- 3:24:10that some people are able to get the job
- 3:24:11within the program, some people get the
- 3:24:13job after the program. We support you
- 3:24:15for a period of two years. So in these
- 3:24:16two years, if you have any questions,
- 3:24:18any feedback, anything that you want to
- 3:24:19get help from us, you should be able to
- 3:24:21talk to us. Okay. And every week, we
- 3:24:23keep on doing sessions to make sure that
- 3:24:24you are able to learn. Okay. The
- 3:24:30Yes.
- 3:24:34Yes. And you can go to the website in
- 3:24:37order to check all the other details
- 3:24:38that are out there. The cost of the
- 3:24:40program stands at 75,000 rupees or
- 3:24:43$1,000 if you are outside from India.
- 3:24:45Okay. But it is my assurance that if you
- 3:24:47go ahead and take this program, this is
- 3:24:48going to go ahead and give you a lot of
- 3:24:50content,
- 3:24:54right? We don't give any kind of
- 3:24:56discounts, but this is the context. You
- 3:24:58if you want to get more information
- 3:25:00about this cohort, just go to the
- 3:25:01website hello.co and then click on this
- 3:25:04video. You should be able to get all the
- 3:25:05information right now
- 3:25:09an important part. Okay, that is why
- 3:25:10I've given you this context.
- 3:25:14Yes,
- 3:25:16classes are conducted on Saturday and
- 3:25:18Sunday evening 8:30 to 10:30 for ISD and
- 3:25:21morning for the US batches. Okay. So now
- 3:25:24everyone understand
- 3:25:26if you really want to get into AI
- 3:25:27product management you have to build a
- 3:25:29strong portfolio so that people
- 3:25:31understand that you have what it takes.
- 3:25:34Okay. You are actually not a talker but
- 3:25:36a doer. Okay. So what you should do is
- 3:25:39in order to create a portfolio you can
- 3:25:41start very small. You start by
- 3:25:44commenting and start by creating content
- 3:25:46about geni. Understand for yourself.
- 3:25:49Okay. Then do tear down in case studies.
- 3:25:52Then do product improvements and go
- 3:25:54ahead and build some like try to go
- 3:25:55ahead and build some hypothesis of the
- 3:25:57products. After that build some side
- 3:25:59projects and then if you have already
- 3:26:00done some past work you can include all
- 3:26:02of these things and then you can use in
- 3:26:04your portfolio. You can go to the hello
- 3:26:06channel there we have created. So if you
- 3:26:08go to the hello channel on YouTube
- 3:26:14we have an amazing playlist called as
- 3:26:18summer of product. Okay. Or this is the
- 3:26:21playlist getting started with product
- 3:26:22management or summer of product where I
- 3:26:24have explained how to create a
- 3:26:25portfolio.
- 3:26:31Okay. And then the last part is this.
- 3:26:34This is the most important slide. What
- 3:26:36you should do is please do not limit
- 3:26:38this information that I have told you so
- 3:26:40far to just this session. Okay? Don't
- 3:26:43forget about everything as soon as you
- 3:26:45leave the session. Please take action.
- 3:26:46What you should do is reverse engineer
- 3:26:48top AI products in the same way that I
- 3:26:50have told you. Understand gaps,
- 3:26:52frustrations in your personal and
- 3:26:53professional workflow. Build AI tools
- 3:26:55and agents to solve these problems.
- 3:26:57Start writing what you are learning. Tag
- 3:26:59me. I'll be able to like and post and
- 3:27:01depost. Right? And then keep a track of
- 3:27:03AI companies what they are doing. Help
- 3:27:05them improve, enhance, expand and then
- 3:27:06follow up. Try to find companies who are
- 3:27:09do really doing good and then understand
- 3:27:12their product. Reverse engineer the
- 3:27:14product. Suggest improvements. reach out
- 3:27:16to the founders and then follow up with
- 3:27:18the founders. Most of the time you are
- 3:27:19going to get some appreciation,
- 3:27:21attention and maybe a job.
- 3:27:24Okay, there are many people that we have
- 3:27:26helped came from completely non- tech
- 3:27:28background, some senior background, some
- 3:27:29junior background and they were able to
- 3:27:30become product managers. You can go
- 3:27:32ahead and look at this playlist called
- 3:27:34as transition to product management
- 3:27:36where you can read their stories.
- 3:27:38Okay. So this is it about today's
- 3:27:40session guys. Yes. Uh the flagship
- 3:27:43program is four weeks of foundation PM
- 3:27:48content which is strategy and product
- 3:27:49sense.
- 3:27:528 weeks of going ahead and creating like
- 3:27:55understanding AI in detail. So
- 3:27:56understand if I can give you this much
- 3:27:58information in 2 days what can I do in 8
- 3:28:01weeks or maybe 15 weeks and then there
- 3:28:04are three weeks of building your own
- 3:28:06product.
- 3:28:08So flagship program covers the entire
- 3:28:10AIPM syllabus.
- 3:28:15If some of you wants to check how does a
- 3:28:17hello cohort looks like,
- 3:28:20let me show you something. Give me a
- 3:28:21moment.
- 3:28:41Yes,
- 3:28:42I have shared a link in the chat. This
- 3:28:45is the detailed video
- 3:28:47where we have shared the kickstarting
- 3:28:50call for a cohort. So at hello PM, we
- 3:28:52try to keep things as transparent as
- 3:28:55possible. We love that. We love being
- 3:28:57honest in this really corrupted tech
- 3:28:59world. So I have gone ahead and shared a
- 3:29:02link where you can understand who are
- 3:29:03the kind of people who join, what are
- 3:29:05their backgrounds so that you are able
- 3:29:07to go ahead and take a better call.
- 3:29:14Yes. And there is a lot of free content
- 3:29:16that is available on our YouTube
- 3:29:17channel. You guys should absolutely go
- 3:29:19ahead and check it out. The placement
- 3:29:20support that we offer is including four
- 3:29:22things. We offer you we help you create
- 3:29:24a better resume.
- 3:29:27We help you build a strong portfolio.
- 3:29:29We help you prepare better for the
- 3:29:31interviews and then we also have an
- 3:29:33internal job board where alumni or
- 3:29:35network companies and other companies
- 3:29:38that we seek out to also list your jobs
- 3:29:40and for many of these jobs referrals and
- 3:29:42recommendations might also be available.
- 3:29:44We do not guarantee placements but we
- 3:29:46help you out in all the possible ways
- 3:29:48that we can and we also uh are available
- 3:29:52across the gloes. So we have a lot of
- 3:29:54people who are going to join from UK,
- 3:29:57from the US, from Canada, Australia, New
- 3:29:59Zealand and as well from India.
- 3:30:03And this happens because of a large
- 3:30:07alumni network that we have created.
- 3:30:16You can use self-hosted LLMs without
- 3:30:19having internet, but you should have a
- 3:30:20powerful computer.
- 3:30:24Cool. Thank you everyone. I'll just go
- 3:30:26ahead and end the session now. Thanks a
- 3:30:28lot for choosing to spend your weekend
- 3:30:30with me and with Hello PM. I believe I
- 3:30:33was able to go ahead and add some kind
- 3:30:35of value as available from the feedback
- 3:30:37and the LinkedIn comments. We are very
- 3:30:39soon going to conduct more sessions. The
- 3:30:42next batch is going to start from 9th of
- 3:30:43November. So take your time. Understand
- 3:30:45you do not have to take this decision in
- 3:30:47FOMO. Go ahead, take the right decision
- 3:30:50and understand it is not just a time
- 3:30:52invest. It is not just a money
- 3:30:53investment but it's an important time
- 3:30:54investment. Okay? So take your decision
- 3:30:57by understanding everything. We want you
- 3:31:00to win but once you come in the session
- 3:31:03we make sure that you are working hard.
- 3:31:07Yes. Cool. Yes. Everyone if you have any
- 3:31:11custom questions you can go to the
- 3:31:12website. There's a shoulduling call
- 3:31:13link. You can go ahead and schedule a
- 3:31:15call and then the team should be able to
- 3:31:16help. And we keep on doing these
- 3:31:17counseling sessions so that you can ask
- 3:31:19your questions as well. Okay. Cool.
- 3:31:24Yes. Cool. Thank you everyone. Thank you
- 3:31:27everyone. Bye. Take care. You have been
- 3:31:29a great audience. Thanks again for
- 3:31:31choosing to spend your time with me. I
- 3:31:34really feel good that I was able to be
- 3:31:38somewhat helpful for you guys. Thank you
- 3:31:39everyone. Bye and take care. It was my
- 3:31:42pleasure hosting you guys. Thank you
- 3:31:43guys. Take care.
About this transcript
This page contains the full transcript of AI Product Management - Complete Course - 3.5 hours - Masterclass | AI Agents, RAG, Evals, LLMs. by HelloPM, generated from the public captions YouTube serves with the video. The transcript has 33,056 words across 5,009 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.