YouTube2Text

AI Product Management - Complete Course - 3.5 hours - Masterclass | AI Agents, RAG, Evals, LLMs. — Transcript

by HelloPM · 33,056 words · 5,009 segments · language en · Watch on YouTube

Full transcript

  1. 0:00If you are someone who's looking to get
  2. 0:02into AI product management, then this is
  3. 0:04a mustwatch video for you. Few days ago,
  4. 0:07I conducted a free master class for
  5. 0:09above 500 people who joined this session
  6. 0:12and then they were able to understand
  7. 0:14how AI product management is done. Now
  8. 0:17I've decided to make this video
  9. 0:19available for everyone so that everyone
  10. 0:20can take the benefit. My only request is
  11. 0:22that before you go ahead and start
  12. 0:24watching this video, keep a notebook and
  13. 0:26pen with you so that you are able to
  14. 0:28take notes and have your full attention
  15. 0:30in the session. I'm sure this is going
  16. 0:32to help you out and if it helps, go
  17. 0:34ahead and let me know in the comments.
  18. 0:36Thank you and happy learning.
  19. 0:40So, we have divided this two-day master
  20. 0:42class into three components. The first
  21. 0:46component is geni fundamentals where
  22. 0:48we'll talk about the geni value tech
  23. 0:50types of AIPM and nature of large
  24. 0:51language models. Then we will talk about
  25. 0:54inside EIPM. We'll talk about context
  26. 0:56engineering, rag, prompt engineering,
  27. 0:57finetuning, AI agents and AI events.
  28. 1:00Even if you're not able to understand
  29. 1:01anything right now, it is my promise
  30. 1:02that by the end of tomorrow, you should
  31. 1:04be able to understand these topics. And
  32. 1:06then we are going to talk about giving
  33. 1:08you actual examples how products such as
  34. 1:10chat, PR, granular, gamma, AI, notebook,
  35. 1:13LM are actually built. Right? So this is
  36. 1:16going to be the session agenda for these
  37. 1:18two days.
  38. 1:20And the motivation or the purpose of
  39. 1:22this session is not to make you an
  40. 1:24expert in AI product management because
  41. 1:26that cannot happen in 4 hours. But the
  42. 1:28motivation of this session is to make
  43. 1:30sure that you feel motivated
  44. 1:33after completing these sessions that yes
  45. 1:36I have a clear road map. If I can learn
  46. 1:39this much I can also go ahead and learn
  47. 1:41and explore the entirety of AI product
  48. 1:44management. So this is to give you the
  49. 1:45confidence so that you are able to get
  50. 1:47started. Right? And tomorrow and today
  51. 1:49and in today's session I'm going to ask
  52. 1:51you in the end that
  53. 1:53whether you are feeling feeling
  54. 1:54motivated after the session or not right
  55. 1:58now
  56. 2:02let's talk about the Gen AI revolution.
  57. 2:05Right? The companies that you are seeing
  58. 2:08on the screen, they are now among the
  59. 2:12world's most valuable companies and many
  60. 2:14of these companies have able to get this
  61. 2:17kind of amazing transition just after
  62. 2:212022.
  63. 2:23So from 2022 to 2023,
  64. 2:26this company Open AI has got a valuation
  65. 2:30of 500 billion. This anthropic company
  66. 2:33which was not existing few years ago now
  67. 2:35has a valuation of $183 billion and then
  68. 2:38we have something called as XAI Elon MRI
  69. 2:41which has the valuation of $200 billion.
  70. 2:44Not only the new companies are doing
  71. 2:46well
  72. 2:48but the older companies which are
  73. 2:50betting on AI as a revolution which is
  74. 2:52Microsoft has gone from so Microsoft was
  75. 2:55founded in
  76. 2:59Yes. Microsoft
  77. 3:02was founded in about 1980s 1983 and from
  78. 3:06then to 2021 they were able to get a
  79. 3:09market cap of 1.8 trillion but in the
  80. 3:12last 3 years they have grown from 18.8
  81. 3:14to 3.8 almost twice increase. Similarly
  82. 3:18Google after betting on AI they have
  83. 3:19grown their valuation almost 2.5x
  84. 3:23similarly meta has grown too much from
  85. 3:260.3 billion or 300 billion to 1.8 8
  86. 3:29trillion and then Nvidia which is the
  87. 3:31most
  88. 3:33which is the company which has most
  89. 3:34benefited from this AI revolution it has
  90. 3:37gone almost 10x of their valuation right
  91. 3:40and then we have also seen some very new
  92. 3:42age companies which are actually created
  93. 3:44in this period only so ker the company
  94. 3:47did not existed few years ago is now
  95. 3:49worth $9 billion glean is worth $7
  96. 3:52billion 11 labs is worth $6 billion and
  97. 3:55perplexity is is worth $15 billion
  98. 3:59So now there is a sharp change that has
  99. 4:02happened in the market recently because
  100. 4:05of which people are able to understand
  101. 4:06that there is this new technology called
  102. 4:08Genai which can go ahead and do so many
  103. 4:11things together. Okay, but understand as
  104. 4:14many people have predicted this can well
  105. 4:16be a bubble. So how do you check if
  106. 4:18something is a bubble or not? It might
  107. 4:19be possible that all of these companies
  108. 4:21are overvalued in some of the other way.
  109. 4:24But let me ask you a very honest
  110. 4:25question. Okay, everyone go ahead and
  111. 4:28answer me in the chat.
  112. 4:30When was the last time that you have
  113. 4:31used chat GP and Gemini?
  114. 4:42Yeah, I'm sure for many of you your one
  115. 4:44of the tab is chat GP right now.
  116. 4:58Yes. Cool.
  117. 5:01Right. So, understand there have been
  118. 5:04many technologies that have came and
  119. 5:06gone. For example, there was a
  120. 5:10uh there was a revolution on blockchain,
  121. 5:12there was a revolution on
  122. 5:13cryptocurrency, there was a revolution
  123. 5:15on NFTs. Although you were listening
  124. 5:17about all of these things on news on
  125. 5:20multiple websites and Twitter but they
  126. 5:23could not become a part of your daily
  127. 5:25life right so the verdict is that it
  128. 5:29might be possible that these things that
  129. 5:31we are talking about the valuation and
  130. 5:32all these could be larger than life
  131. 5:34valuation that is completely possible
  132. 5:36I'm not disagreeing with that but we
  133. 5:38also have to understand that genai is a
  134. 5:40technology that has been able to prove
  135. 5:43itself that it is actually very helpful
  136. 5:46Because technology if it is only
  137. 5:49increasing the valuation that might mean
  138. 5:50that yes it could be a bubble but if it
  139. 5:53is generally helping you in your daily
  140. 5:54life then it just means that it is just
  141. 5:56a matter of time that we are able to
  142. 5:58find its relevant use cases and utilize
  143. 6:00it for work and more of our personal
  144. 6:02life right but how has it happened like
  145. 6:06what is there in the genai revolution so
  146. 6:08understand the genai revolution has
  147. 6:10happened because of a innovation in
  148. 6:13technology which is called as large
  149. 6:16language model. Okay. So what is a large
  150. 6:18language model? A large language model?
  151. 6:21A large language model is a neural
  152. 6:24network trained on massive amounts of
  153. 6:26text to learn patterns in language
  154. 6:28enabling it to understand, generate and
  155. 6:30reason with natural language by
  156. 6:32predicting the next more likely most
  157. 6:34likely word or token in the context.
  158. 6:37Right? This is the Wikipedia definition
  159. 6:39of large language models. But what
  160. 6:41exactly is a large language model? Let
  161. 6:43me go ahead and tell you. Please
  162. 6:44everyone focus on the session super
  163. 6:46important part.
  164. 6:48Yes. So we are talking about
  165. 6:54large
  166. 6:55language
  167. 6:57model.
  168. 7:00So a large language model is
  169. 7:03it is kind of a code
  170. 7:06or an algorithm.
  171. 7:09It is kind of a code or algorithm or a
  172. 7:11piece of technology
  173. 7:13that is very good at predicting the next
  174. 7:16word in the sequence. That is get very
  175. 7:19good in predicting the next word of the
  176. 7:22sequence.
  177. 7:25Right? For example, I just take this
  178. 7:28sentence.
  179. 7:35I will take this sentence. I will
  180. 7:38increase the size.
  181. 7:45Right? So let's say if I enter
  182. 7:51this particular thing to a large
  183. 7:53language model, if I tell a large
  184. 7:54language model that a large language
  185. 7:56model is a then it is going to return me
  186. 8:00neural. It is going to return to me the
  187. 8:02next word. If I give it a complete
  188. 8:05sentence that a large language model is
  189. 8:07a neural then it is going to return me
  190. 8:10network and then I will keep on
  191. 8:12iterating so that I'm able to get the
  192. 8:14complete sentence. So what is a large
  193. 8:16language model? Large language model is
  194. 8:21the next
  195. 8:24word or token predictor.
  196. 8:30And when you do this repeated number of
  197. 8:32times, you get the complete sentence,
  198. 8:35the complete book, the complete essay,
  199. 8:36the complete summary. Right? So this is
  200. 8:40the basic fundamental how a large model
  201. 8:42works. You give it some sentence and
  202. 8:44complete sentences. It will try to
  203. 8:46complete it. And how this how does it
  204. 8:48completes it? Let me go ahead and tell
  205. 8:50you. Okay. So understand first of all if
  206. 8:53you guys are able to observe I have
  207. 8:54written token in the bracket. So what
  208. 8:57happens is
  209. 8:59whenever you give a word to a large
  210. 9:02language model. Okay. So let's say I
  211. 9:03give a word to language model that
  212. 9:06he lives
  213. 9:09near the
  214. 9:12river bank.
  215. 9:16He lives near the river bank. Okay. So
  216. 9:20large language model is a machine. It's
  217. 9:23an algorithm. It's a code.
  218. 9:26it will not be able to understand what
  219. 9:28are these exact words. In order to make
  220. 9:31sure that the machine is able to
  221. 9:32understand everything, what we do is
  222. 9:36we convert this into numbers. So in
  223. 9:38order to make sure that the machine is
  224. 9:40able to understand things efficiently,
  225. 9:42we convert these into numbers. These
  226. 9:44numbers are called as tokens.
  227. 9:47Let me show you how it works. So I'll go
  228. 9:50to a website called as tick tokenizer
  229. 9:53where if I write this sentence
  230. 9:58the sentence is
  231. 10:01he lives near the
  232. 10:05river bank right now the large language
  233. 10:09model has converted this
  234. 10:14the large language model has converted
  235. 10:16this into these tokens. So these are the
  236. 10:19tokens
  237. 10:21right? Every model can generate
  238. 10:24different kind of tokens. Every model
  239. 10:27has different kind of combination of
  240. 10:28tokens. Okay. The tokens are generated
  241. 10:31to make sure that the large language
  242. 10:34model is able to efficiently utilize its
  243. 10:36memory and context because numbers are
  244. 10:39easier to interpret for machines rather
  245. 10:41than the words.
  246. 10:45Right? And in total in English language
  247. 10:48we have around 26 alphabets and we would
  248. 10:52have so many maybe millions of
  249. 10:54applications, millions of spellings,
  250. 10:56right? Vocabulary. In GPT4 we have 100k
  251. 11:02tokens,
  252. 11:05right? So what is a token? Token is a
  253. 11:07numerical representation of your text.
  254. 11:11Token is a numerical representation of
  255. 11:13your text. Right. And at a high level,
  256. 11:18three words in English is equal to sorry
  257. 11:24at a high level in English
  258. 11:26two words are equal to three tokens
  259. 11:32at a high level like not this is not
  260. 11:34completely true in all the cases but for
  261. 11:36most of the times on an average two
  262. 11:38words is equal to three tokens. Why
  263. 11:40tokens are important? to understand if
  264. 11:42you go to any of these application let's
  265. 11:44say let's understand open AI pricing
  266. 11:48so if you look at pricing of any of
  267. 11:50these models you'll be able to
  268. 11:52understand that they work on tokens
  269. 11:55how many tokens are input how many
  270. 11:57tokens are generated how many tokens are
  271. 11:59cashed
  272. 12:01right so for every 1 million tokens that
  273. 12:03you give to charge GP it is going to ask
  274. 12:05you for the input it is going to take
  275. 12:07$1.25 $25 from you. Right? So what is a
  276. 12:10token? Token is a
  277. 12:13conversion of your words
  278. 12:16into mathematical numbers so that the
  279. 12:19model is able to understand them very
  280. 12:21very efficiently.
  281. 12:23Right? How many tokens are possible in a
  282. 12:26model is called as
  283. 12:29the vocabulary
  284. 12:33size of the model.
  285. 12:37How many tokens are possible in a model
  286. 12:40is called as the vocabulary size of the
  287. 12:44model.
  288. 12:46Right? So this is
  289. 12:50this is called as
  290. 12:53the tokenization. Right? Now what
  291. 12:56happens the purpose of an LLM is that if
  292. 13:00you give it a set of tokens let's say 1
  293. 13:022 3 4 5 it will try to predict what is
  294. 13:05the next token then if you run it again
  295. 13:09then this becomes your full sentence up
  296. 13:12to six then it will generate seven and
  297. 13:15then you have new sentence 1 to 7 and
  298. 13:17then it will generate eight. So it is
  299. 13:19going to go ahead and complete the
  300. 13:20sequence. Right? That is at the most
  301. 13:24fundamental level how large language
  302. 13:26models work.
  303. 13:29Right?
  304. 13:31Everyone a quick yes or no if you're
  305. 13:32able to understand everything so far.
  306. 13:36A quick yes or no before I could go
  307. 13:38ahead.
  308. 13:42Wonderful. Great. Now let me go ahead.
  309. 13:46But this is a simple explanation. But
  310. 13:48how does it happen? How does it
  311. 13:49predicts? Okay. So what happens is
  312. 13:55this is how
  313. 13:57a large language model works. Okay. So
  314. 13:59there are three stages. Whenever you we
  315. 14:01create
  316. 14:03whenever we create
  317. 14:07a large language model,
  318. 14:10we use these three stages. Every large
  319. 14:13language model is created by going
  320. 14:15through these three stages. The first
  321. 14:17stage is called as a pre-training stage.
  322. 14:22The second stage is called as the
  323. 14:24training stage. And the third training
  324. 14:25is called as a post
  325. 14:28training stage. Right? So in the
  326. 14:31pre-training state, understand what
  327. 14:32happens is
  328. 14:35the models are able to predict the next
  329. 14:37token very accurately
  330. 14:39because they are very good with pattern
  331. 14:42recognition. So what we do is we need to
  332. 14:45train this model on a lot of data. We
  333. 14:48need to train these models on a lot of
  334. 14:50data. Okay. But before that let me tell
  335. 14:54you let me help you understand why this
  336. 14:56data is necessary. Okay. So how many of
  337. 14:58you
  338. 15:02can tell me what is this?
  339. 15:06Tell me in the chat what is this
  340. 15:10guys? Go ahead and tell me in the chat
  341. 15:12what is this?
  342. 15:21Wonderful. That means you guys have
  343. 15:25studies in the uh in the elementary
  344. 15:28mathematical classes, right? So y= mx is
  345. 15:32nothing. It is a very simple equation.
  346. 15:35It is the equation of a line. any
  347. 15:37straight line. This is y-axis. This is
  348. 15:39x- axis. This is the slope and maybe
  349. 15:43this is the intercept.
  350. 15:50Right? So this is a simple equation that
  351. 15:53is y = mx + c. Right? Now if I want to
  352. 15:57know
  353. 15:59what is the value of y at this value of
  354. 16:03x. If I want to know what is the value
  355. 16:07of y at this value of x. So x is the
  356. 16:10input
  357. 16:12and y is the output.
  358. 16:17So now if I want to know what is the
  359. 16:19value of x at this what is the point of
  360. 16:22y at this value of x because there are
  361. 16:25two things right now I might not be able
  362. 16:28to understand because there are two
  363. 16:30parameters which are unknown to me I
  364. 16:32will not be able to understand but what
  365. 16:34if I already know two values of input
  366. 16:37and two values of output so let's say
  367. 16:39somehow I was able to find
  368. 16:42that if x were our one if x is equal to
  369. 16:461 then y = 2 and when x =0 then y = 1.
  370. 16:56Right? So let's say somehow it is given
  371. 16:57to me
  372. 17:00that this is true. This is called as
  373. 17:03training data. Training data is
  374. 17:04something where the output and the input
  375. 17:07is known to me. Right? Right now what
  376. 17:11I'll do is I will try to find out the
  377. 17:13value of m and c. So y = mx + c. I'll
  378. 17:19put the value of x and I'll put the
  379. 17:22value of y. So 2 is equal to 1 into m +
  380. 17:26c. 2 = m + c.
  381. 17:30So c = 2 - m.
  382. 17:35Right? I also have the second value. So
  383. 17:38what I'll do is y = mx + c. That means 1
  384. 17:41is equal to
  385. 17:43m into 0 + c. c = 1. Right? Now c = 1
  386. 17:51and c = 2 - m which means m = 2 - c. 2 -
  387. 17:581 is equal to 1. So c= 1 and m= 1. Now
  388. 18:03the equation becomes
  389. 18:06I have found all the parameters. I was
  390. 18:10able to find the value of M. I was able
  391. 18:11to find the value of C. So C is 1 and M
  392. 18:15is also one. So the equation is Y = X +
  393. 18:181. Now you give me any kind of input in
  394. 18:21the world. Give me any kind of output in
  395. 18:23the world. Give me any kind of input in
  396. 18:25the world and I'll be able to tell you
  397. 18:27what is going to be the output.
  398. 18:30Right? You give me any kind of input in
  399. 18:32the world and I'll be able to give you
  400. 18:34the output. Right? Now if you go ahead
  401. 18:37and amplify the same thing, if you go
  402. 18:41ahead and amplify the same concept to
  403. 18:43billion number of times. So now what
  404. 18:45happens is
  405. 18:48a large language model
  406. 18:52is a equation like this
  407. 18:56but it contains almost
  408. 18:59greater than a billion parameters.
  409. 19:03Right? So in order to find two parame in
  410. 19:06order to find two
  411. 19:08value of parameters m and c I needed to
  412. 19:12have two values of input and output also
  413. 19:16called as training data. Training data
  414. 19:17that I already know right
  415. 19:21in the case of a large language model a
  416. 19:23large language model is nothing. It is a
  417. 19:26very complicated mathematical equation
  418. 19:30plus the equation contains a lot of
  419. 19:32parameters. How many parameters? Maybe
  420. 19:35billions of parameters.
  421. 19:39Right? So in order to determine these
  422. 19:41parameters, what I need to do? I need to
  423. 19:44have billions of
  424. 19:48training data, which is I need to have
  425. 19:50large training data,
  426. 19:52right? And then this is repeated
  427. 19:55multiple number of times to get the
  428. 19:57values of these parameters. So how do we
  429. 20:00get this training data? We get this
  430. 20:01training data from the pre-training. So
  431. 20:03before we train any model, what we do is
  432. 20:06we crawl the internet.
  433. 20:09We look at the forums.
  434. 20:11We take
  435. 20:13the books that are written already,
  436. 20:15literature, well-written books. And then
  437. 20:17we convert this data, we clean this
  438. 20:20data, and then we train on this data.
  439. 20:23How do we train? How do we train on this
  440. 20:25data? Understand?
  441. 20:27Any piece of text that you have
  442. 20:31that piece of text can be converted into
  443. 20:33two parts
  444. 20:35the input and the output. For example,
  445. 20:39let's say in the training data I was
  446. 20:42able to get this.
  447. 20:44So I have written a blog around a IML
  448. 20:47product management. Okay. So let's say I
  449. 20:50have this
  450. 20:52sentence. So I will collect
  451. 20:56I will collect a lot of data. I will
  452. 20:58break down this data into small parts so
  453. 21:00that I'm able to feed it to the large
  454. 21:01language model and that then what I'll
  455. 21:03do is let's say one of the training data
  456. 21:05is this
  457. 21:10one of the training data is this. So
  458. 21:12what I'll do is
  459. 21:18I know that this sentence is correct. So
  460. 21:20what I'll do is I will just feed this
  461. 21:23part
  462. 21:26I will feed this part
  463. 21:30as the input and this part as the output
  464. 21:33because what does a large level model
  465. 21:34does if you go ahead and give it
  466. 21:40if you go ahead and give it any sentence
  467. 21:43it will try to complete it. So I'll give
  468. 21:46multiple billions of rows and billions
  469. 21:48of uh let's say components of data in
  470. 21:51the form of input and output and when
  471. 21:53the large language model will learn it
  472. 21:54will learn from these patterns and then
  473. 21:56it will be able to give you almost real
  474. 21:58kind of reasoned answers
  475. 22:01right a quick yes or no everyone if you
  476. 22:04are able to understand this
  477. 22:07I have tried to help you understand
  478. 22:10large language models with the help of a
  479. 22:12very simplistic
  480. 22:14A linear equation.
  481. 22:28Yes. Cool. Now let's go ahead.
  482. 22:38Yes.
  483. 22:43Cool. Now we have understood this. Now
  484. 22:46let me go ahead and take you one step
  485. 22:49ahead. Okay. So now everyone please look
  486. 22:51at this very carefully.
  487. 22:53So how does a model trains itself. What
  488. 22:55happens is this is what the structure
  489. 22:57is. You have the training data. In the
  490. 23:00training data, let's say you have this
  491. 23:02sentence. You are going to break this
  492. 23:05sentence into two parts.
  493. 23:08One part is this the initial part of the
  494. 23:10sentence. Other part is this the later
  495. 23:13part of the sentence. The initial part
  496. 23:16of the sentence is the input
  497. 23:18and the later part of the sentence is
  498. 23:20the output.
  499. 23:22So ideally what you want is you want the
  500. 23:24model
  501. 23:26you want the model to behave in a way
  502. 23:29that whenever you write how LLMs
  503. 23:32it should complete with work. Okay, this
  504. 23:36is what you want. So what you'll do is
  505. 23:37you will break the sentence. This is one
  506. 23:39sentence. This other sentence you are
  507. 23:42going to tokenize it. Tokenize as in you
  508. 23:44are going to convert it into
  509. 23:47maybe some kind of numbers. Okay. And
  510. 23:51every model that you are running they
  511. 23:53would have their own method. So there
  512. 23:55are some free and available APIs
  513. 23:57available through which you can go ahead
  514. 23:59and tokenize your content into any kind
  515. 24:01of numbers. Okay. So we have done the
  516. 24:04tokenization.
  517. 24:06Now
  518. 24:08whatever are the input tokens tokens for
  519. 24:12how LLMs are going to be feed as an
  520. 24:14input
  521. 24:16right and the output token is going to
  522. 24:18be here I'll take I'll tell you how it
  523. 24:21is going to work right so now it will be
  524. 24:23feed into a large language model okay a
  525. 24:27large language model is a specific kind
  526. 24:29of uh I would say uh right now we are
  527. 24:32talking about a large language model
  528. 24:33which is a neural network and the Type
  529. 24:35of the neural network is transformer.
  530. 24:37I'll talk about what a transformer is in
  531. 24:39brief in tomorrow's session. Okay. So a
  532. 24:42transformer what is a transformer? It is
  533. 24:44nothing but
  534. 24:46a mathematical expression
  535. 24:48a non- mathematical expression
  536. 24:50understand it thousand times more
  537. 24:52complicated than the line equation that
  538. 24:54I have given you. And it contains the
  539. 24:56parameters the constant that I have told
  540. 24:57you right. And the purpose of this large
  541. 25:02language model training is to identify
  542. 25:04the value of these parameters to
  543. 25:07identify the value of M, C and other
  544. 25:09parameters that it has. It can have
  545. 25:10billions of parameters. Right now what
  546. 25:14will happen? It will initially when it
  547. 25:16is not trained, it will try to generate
  548. 25:18anything random. Okay? And also
  549. 25:21understand one thing that the large
  550. 25:23language models
  551. 25:26are not deterministic.
  552. 25:28Listen to this very carefully. This is
  553. 25:30super important to understand the
  554. 25:31language of large language models. I
  555. 25:33told you that they are next
  556. 25:37token
  557. 25:39predictors. Predictors means they will
  558. 25:42not tell you that this is a token after
  559. 25:44this. They will give you some
  560. 25:47probabilities. So
  561. 25:51he is
  562. 25:53a this is the input and the large
  563. 25:56language model is going to give you
  564. 25:58probabilistic outputs. So it is going to
  565. 26:00give you many options. It is it will
  566. 26:02tell you he is a man, he is a boy,
  567. 26:08he's a father,
  568. 26:11he's a singer. So there are multiple
  569. 26:13probabilities, right? And then he's it
  570. 26:15is also going to tell you the L language
  571. 26:17model that what is the probability. So
  572. 26:18let's say man the probability is 0.5 boy
  573. 26:22the probability 0.4 father probability
  574. 26:24is 0.05 single probability is 0.05.
  575. 26:30Right? So it will not tell you the one
  576. 26:32answer. It will not just give you one
  577. 26:33answer. It will give you the
  578. 26:35probabilities of what other words could
  579. 26:38be there and then you can go ahead and
  580. 26:39choose the top word or second word
  581. 26:41whatever your large language model can
  582. 26:43go ahead and pick up. Okay. So always
  583. 26:45remember the large language models are
  584. 26:49not
  585. 26:52deterministic. They are stochastic
  586. 26:56which means
  587. 26:59they can go ahead and pick random words
  588. 27:02which are going to be correct in some
  589. 27:04context but if you go ahead and give
  590. 27:05same prompt to same model at the same
  591. 27:08time it can go ahead and give you
  592. 27:09different kind of outputs
  593. 27:12right so this is important nature of an
  594. 27:16LLM to know and this is also going to be
  595. 27:18of foundation of when we go ahead and
  596. 27:20learn about AI evaluations Right?
  597. 27:25And how does it generates this? It
  598. 27:27generates on the basis of training. So
  599. 27:28it would have seen a lot of data and
  600. 27:30based on that data it generates that yes
  601. 27:33I think this should be the probability
  602. 27:34based on what I have learned.
  603. 27:37Right?
  604. 27:40Yes.
  605. 27:46Cool. Now
  606. 27:49going back to a diagram. So what will
  607. 27:51happen here is what we have done so far
  608. 27:53is
  609. 27:54we have done the tokenization we have
  610. 27:56taken the input part we have feed it
  611. 27:58into the transformer the transformer has
  612. 28:00generated some random results and then
  613. 28:02what will happen we have the real actual
  614. 28:05token the actual token is going to be
  615. 28:10the meaning of work like the the the
  616. 28:14numerical token for work. Okay. And here
  617. 28:17it is going to generate something. Now
  618. 28:19it will be compared that work should
  619. 28:22have a probability of one or work should
  620. 28:25be at the top of the predicted numbers
  621. 28:28or the predictive tokens and then we are
  622. 28:31going to calculate the difference that
  623. 28:33it should be word it should be work but
  624. 28:35it is not work. So it is going to share
  625. 28:37this feedback
  626. 28:40with the transformer and then what
  627. 28:43transformer will do is transformer will
  628. 28:45correct the parameters inside
  629. 28:48and then this model will run on multiple
  630. 28:51training sets for billions and trillions
  631. 28:54of time and then you are going to go
  632. 28:56ahead and get a model that is going to
  633. 28:58accurately predict what should be the
  634. 29:00next probable word.
  635. 29:03Right? So what we do is we give it the
  636. 29:05training model. We have the output. We
  637. 29:07have the input. Then we check we check
  638. 29:11the difference between the real output
  639. 29:12and the expected output. Right? Then we
  640. 29:16calculate the difference which is called
  641. 29:17as a loss function
  642. 29:20which is called as a mathematical loss
  643. 29:21function. This is passed as a feedback
  644. 29:23feedback to the large language model.
  645. 29:25And then when it keeps on doing this
  646. 29:27billion number of times it is able to
  647. 29:28set a very accurate value of these
  648. 29:31parameters.
  649. 29:35Right? If you run it a number of times,
  650. 29:37you will have a pretty accurate model or
  651. 29:39a large language model. Right?
  652. 29:41Understand? If the number of parameters
  653. 29:44are in a race of billions, this is
  654. 29:47called as a large language model. If it
  655. 29:49is less than billions, maybe in the
  656. 29:51ratio of millions, it will be called as
  657. 29:52a small language model. Example of a
  658. 29:54large language model. Example of a large
  659. 29:57language model is Gemini chat GPT spell
  660. 30:00uh example of a small language model is
  661. 30:03Google's Gemma
  662. 30:09right
  663. 30:11yes quickly everyone a quick yes or no
  664. 30:14in the chat if you're able to understand
  665. 30:15this at least at a high level
  666. 30:22wonderful great you guys are intelligent
  667. 30:24great amazing
  668. 30:32So loss function understands the
  669. 30:35difference between
  670. 30:38what is the predicted token and what is
  671. 30:40the actual token and then it pass on
  672. 30:42this feedback to the transformer. The
  673. 30:45transformer adjusts everything
  674. 30:47accordingly.
  675. 30:50Right
  676. 30:52now
  677. 30:54a bigger question that is that should
  678. 30:55aride arise in your mind is that why all
  679. 30:58of these things are happening after 2021
  680. 31:01like uh why all of these things are
  681. 31:03happening very recently why not before
  682. 31:05okay so understanding
  683. 31:08language
  684. 31:10understanding language is not an easy
  685. 31:13task for machines why because of this
  686. 31:16reasons so let's say my sentence is
  687. 31:19he lives
  688. 31:22near the
  689. 31:24river bank.
  690. 31:28Right?
  691. 31:30Initially, traditionally what people
  692. 31:31used to do was if they want to create
  693. 31:34any kind of AI, if they want to create
  694. 31:36any kind of predictive model or
  695. 31:38intelligent model, what they will do is
  696. 31:40they will work on word by word.
  697. 31:45You might have seen autocorrect in your
  698. 31:46mobile phones, right? Whenever you try
  699. 31:48to write something, it will only catch
  700. 31:50the last word and then based on it, it
  701. 31:51is going to predict. It will not look at
  702. 31:53the entire sentence. Okay. But people
  703. 31:55who are able to understand, people who
  704. 31:57understand NLP or natural
  705. 32:00language
  706. 32:02processing or programming, they were
  707. 32:04able to understand that it's not enough.
  708. 32:08They were able to understand
  709. 32:12that if if we want to really understand
  710. 32:15language, we need to understand the
  711. 32:18meaning of each word with respect to
  712. 32:20that sentence.
  713. 32:22For example,
  714. 32:24in this particular sentence
  715. 32:29I have written he lives near the river
  716. 32:32bank.
  717. 32:34So in this bank means the side of the
  718. 32:37river.
  719. 32:38Right? But if I did not know this
  720. 32:41sentence, I could have as well concluded
  721. 32:43that this bank is a financial
  722. 32:46institution.
  723. 32:49So in 2017,
  724. 32:53a group of computer researchers
  725. 32:57created a research paper, published a
  726. 33:00research paper. They all were working in
  727. 33:02the Google brain and deep mind team. And
  728. 33:05the name of the paper was
  729. 33:08attention is all you need.
  730. 33:14And they told they came up with the
  731. 33:16hypothesis that if we really want to
  732. 33:19truly understand the language models, if
  733. 33:21we truly want to understand the language
  734. 33:24rather than looking at things token by
  735. 33:26token, we should try to find out what
  736. 33:29are the relationships of these word with
  737. 33:32entirety of the sentence. Initially
  738. 33:34these these predictive models can only
  739. 33:37look at one word at a time but now with
  740. 33:40this approach
  741. 33:42we were able to go ahead and consume all
  742. 33:44the sentences and essays and whatever is
  743. 33:46the context window at once. So every
  744. 33:48word is now able to map it relationship
  745. 33:50with other words. So these words are
  746. 33:53created into tokens and vectors and then
  747. 33:56the relationship between all the vectors
  748. 33:58is calculated real time and then as a
  749. 34:01whole we are able to understand what
  750. 34:03does this paragraph what does this
  751. 34:04sentence what does this context says
  752. 34:07that was a very big shift of how genai
  753. 34:11was born okay but now because of that
  754. 34:14one problem occurred the problem was the
  755. 34:17sequential
  756. 34:19processing of data was easy It can be
  757. 34:22done on a CPU but if you need to process
  758. 34:25multiple sentences multiple parts of the
  759. 34:28sentences at once understand when I'm
  760. 34:30talking about the sentence
  761. 34:33he lives
  762. 34:36near the river bank
  763. 34:40at once the algorithm or the computer
  764. 34:44has to calculate
  765. 34:47this relationship of he with lives with
  766. 34:50near with the with river with bank. Then
  767. 34:54parallelly it needs to understand the
  768. 34:57relationship of lives with he near the
  769. 35:01river bank and then it also needs to
  770. 35:03understand the relationship of this with
  771. 35:05this. So now understand this is
  772. 35:07complicated maths.
  773. 35:11This is resource
  774. 35:15intensive maths. Resource intensive
  775. 35:17maths. It will take time. It will take
  776. 35:20effort. It will take a lot of processing
  777. 35:22power, right? So in order to create a
  778. 35:25good solid large language model, you
  779. 35:27need two things. First, you need a lot
  780. 35:30of data on which you can train so that
  781. 35:31AI is able to find patterns. Plus, you
  782. 35:34need
  783. 35:37super huge
  784. 35:39processing power.
  785. 35:42And now people started thinking where do
  786. 35:44we get this processing power from?
  787. 35:45because quantum computers are not yet
  788. 35:48invented at least at the scale for
  789. 35:50practical purposes and CPUs are very
  790. 35:53much limited.
  791. 35:56Then people thought that these kind of
  792. 35:58metric multiplication like one to many
  793. 36:00multiplication also happen at
  794. 36:04gains
  795. 36:06and games are running on GPUs.
  796. 36:09So people understood that yes
  797. 36:12transformer is an architecture. So the
  798. 36:15neural networks or the algorithms
  799. 36:18that operate in this way by calculating
  800. 36:22the uh the relationship of one word with
  801. 36:24every other word. These kind of
  802. 36:27algorithms are called as transformers.
  803. 36:31They work on the mechanism of attention
  804. 36:33which is one word is paying attention to
  805. 36:35every other word in the sentence.
  806. 36:37Attention means one word is paying
  807. 36:39attention to every other word in the
  808. 36:41sentence to derive its meaning. Right?
  809. 36:43And then the neural networks or the
  810. 36:46algorithms that use attention as a
  811. 36:47mechanism to predict are called as
  812. 36:49transformers.
  813. 36:51Right? And transformers are best run on
  814. 36:57the same technology that runs these
  815. 36:59complicated games with is GPUs.
  816. 37:02Right? So this is a history about how
  817. 37:05GPUs were best suited for running large
  818. 37:08language models. And that is also the
  819. 37:10reason why we were able to get a huge
  820. 37:14jump here. We were able to get a huge
  821. 37:18jump here.
  822. 37:21Right
  823. 37:24everyone, a quick yes or no if you're
  824. 37:25able to understand this.
  825. 37:29Yes. If I see one more LinkedIn link in
  826. 37:32the chat, I'm going to block you. Don't
  827. 37:35distract other guys, please.
  828. 38:05That's so large language models run on
  829. 38:09GPUs. They are trained on GPUs.
  830. 38:14Right? Now,
  831. 38:16so we have understood this. Now let's go
  832. 38:18ahead. Okay. Now the third part, I have
  833. 38:21told you about the two parts already.
  834. 38:23The third interesting part of a large
  835. 38:24language model.
  836. 38:27So we have talked about pre-training,
  837. 38:31we have talked about pre-training, we
  838. 38:32have talked about training. Now the
  839. 38:34third part is post-training.
  840. 38:36Now after you generate, after you train
  841. 38:39a large language model on all the
  842. 38:40internet data that is available, you get
  843. 38:44a personality like a baby. A baby has
  844. 38:47the ability to think. It has the ability
  845. 38:50to perceive its surroundings and they
  846. 38:53will also be able to go ahead and maybe
  847. 38:54blabber a few words, right? But they
  848. 38:57don't have a personality yet. So
  849. 38:59depending upon a baby is born in a Hindu
  850. 39:01family or a Muslim family or a
  851. 39:03particular culture, they are going to
  852. 39:04get their nature. So if you are reading
  853. 39:07Quran, you are going to think this is
  854. 39:09the God. If you are going to read maybe
  855. 39:10Gita, you are going to understand that
  856. 39:12maybe this is the God. Okay? Reality
  857. 39:14could be something else altogether.
  858. 39:16But based on how you are conditioned,
  859. 39:20based on how you are trained after you
  860. 39:22are in the world, that is called as
  861. 39:24postraining. That gives you a
  862. 39:26personality. So postraining is very
  863. 39:28important. It converts
  864. 39:32the next token predictor machine
  865. 39:38next token predictor machine to a
  866. 39:41helpful
  867. 39:44assistant.
  868. 39:47It converts the next token predictor m
  869. 39:49machine to a helpful assistant. Right?
  870. 39:51So what we do is we hire real human
  871. 39:56laborers like
  872. 39:58what what do we call it? People who go
  873. 40:01ahead and label the data. So these
  874. 40:04people give accurate information to the
  875. 40:06large language models and then this data
  876. 40:09is feed again into the training and then
  877. 40:12the large language model gets a
  878. 40:13personality. For example, there is one
  879. 40:16thing that large language models have
  880. 40:19struggled for a long period of time.
  881. 40:20Okay. So large language models generally
  882. 40:23tend to hallucinate. Although the
  883. 40:25hallucination has reduced very
  884. 40:29uh very recently but still there is
  885. 40:32let's say a lot of hallucination still.
  886. 40:33Okay. So Meta came up with this very
  887. 40:35interesting perspective. What they did
  888. 40:37was they just give some sample input
  889. 40:42and output to the large language models.
  890. 40:46In the input they told some random
  891. 40:48question like question for which the
  892. 40:50answer is not possible
  893. 40:53right for example they created some
  894. 40:55random names and ask GPT or ask let's
  895. 40:58say llama that who is this person
  896. 41:01initially before this training llama or
  897. 41:04chat GPT they are going to give you
  898. 41:05random answers even if the person does
  899. 41:07not exist they will try to frame
  900. 41:08something that is called a hallucination
  901. 41:10they are going to give you wrong answer
  902. 41:11but they'll give you with complete
  903. 41:12confidence right so what meta did was it
  904. 41:15gave them some questions which did not
  905. 41:17have any answer and in the output they
  906. 41:19mentioned they asked the llama model to
  907. 41:23give the answer as I do not know about
  908. 41:25this I do not know about this and then
  909. 41:28once the large language model started
  910. 41:30understanding that yes I can give the
  911. 41:31answer that I do not know about this
  912. 41:33that is okay
  913. 41:36right to show you some other sample data
  914. 41:39okay so this is how the data looks like
  915. 41:41for example we want to understand about
  916. 41:42summarization we want to make sure that
  917. 41:44our model is able to summarize. So we go
  918. 41:47give this kind of input. Summarize the
  919. 41:49following passage about neural network
  920. 41:50in one paragraph. A neural network is
  921. 41:52composed of layers of neurons that
  922. 41:53transforms inputs. Okay. So we'll give
  923. 41:55this prompt and then this is the desired
  924. 41:58output. This will also be feeded into
  925. 42:00the large language model and then we
  926. 42:04will be able to retrain it again and
  927. 42:05again in this data to make sure that we
  928. 42:08are able to get the right answer.
  929. 42:11Right? we are able to go ahead and get
  930. 42:13the right answer. Okay. And then these
  931. 42:16are the methods in which we are going to
  932. 42:18test. It has to be clear factual summary
  933. 42:20and neutral to right. So we give all of
  934. 42:23these feeds to large language model
  935. 42:26after it is created to the base model
  936. 42:27and then we are able to get a more
  937. 42:29intelligent model.
  938. 42:31Right? Now guys, all of this data, all
  939. 42:33of these files, all of these
  940. 42:34presentations, the notes and everything
  941. 42:36would be given to you if you remain till
  942. 42:38the end of the session today and then we
  943. 42:40are going to go ahead and uh and you go
  944. 42:43ahead and give the submit the feedback
  945. 42:45form. Okay.
  946. 42:47Yes.
  947. 42:51Cool. So I hope everyone was able to
  948. 42:53understand how large language models
  949. 42:54works. Everyone please tell me on a
  950. 42:56scale of 1 to five if you're able to
  951. 42:58understand whatever I have told you so
  952. 42:59far. On a scale of 1 to five, please.
  953. 43:01One you did not understand, five you
  954. 43:02understood it well.
  955. 43:10Cool. We have 821 people. Amazing.
  956. 43:13Great.
  957. 43:19Super. Super guys. Amazing. Amazing.
  958. 43:21Thank you.
  959. 43:23Yes.
  960. 43:24People who are not able to understand,
  961. 43:26just look at the recording. I'm sure
  962. 43:27you'll be able to go ahead and
  963. 43:28understand this well. Yes. Cool. People
  964. 43:31are not able to understand, please focus
  965. 43:33better. Please focus better in the
  966. 43:35session.
  967. 43:37Yes.
  968. 43:51Cool. Let me just go ahead.
  969. 43:56Yes. So now based on whatever I have
  970. 43:59told you
  971. 44:01now let us go back to economics. Okay.
  972. 44:03So we have talked about mathematics, we
  973. 44:05have talked about computer science, we
  974. 44:06have talked about psychology of a model.
  975. 44:08Now let's back go back to economics and
  976. 44:10the business. Okay. So
  977. 44:13as a product manager you need to
  978. 44:16understand at what levels
  979. 44:19is the value created in the large
  980. 44:21language models by the large language
  981. 44:23models. Okay. So the first layer is the
  982. 44:27infrastructure layer. This is the layer
  983. 44:29on top of which large language models
  984. 44:32operate.
  985. 44:34Okay. What they do is here we have
  986. 44:37companies such as Nvidia and Google's
  987. 44:39Vert.x AI which provides the tensors or
  988. 44:42the GPUs where these models can run. So
  989. 44:45they provide computation data platform
  990. 44:47GPUs and all right. So the core
  991. 44:50technology that you need which is
  992. 44:52infrastructure
  993. 44:53which is uh how where do you deploy
  994. 44:55these models is provided by these
  995. 44:57infrastructure layer companies.
  996. 44:59The second layer is the model layer
  997. 45:02companies who are creating and owning
  998. 45:04these models. Companies such as OpenAI,
  999. 45:06Anthropic, Meta, Grock
  1000. 45:09uh and Deep Seek these are the companies
  1001. 45:11which are owning these models and they
  1002. 45:13will give you large language models,
  1003. 45:16small language models. They will also
  1004. 45:17give you fine-tuning. What is
  1005. 45:18finetuning? We are going to discuss in
  1006. 45:20the coming sessions. Right now, this is
  1007. 45:22the core. Now, on top of this, there is
  1008. 45:25a bigger opportunity that you as a
  1009. 45:27product manager can utilize all of these
  1010. 45:32technologies like these models in order
  1011. 45:35to build some amazing use cases. So,
  1012. 45:38lovable, gamma, chat, GPT, Gemini, they
  1013. 45:42are all based on this model and the
  1014. 45:45infra layer. So you as a product manager
  1015. 45:49can play a very important role in the
  1016. 45:50application. Application layer is how
  1017. 45:53are you able to utilize the power of a
  1018. 45:56large language model in order to solve
  1019. 45:58the problems for your customers.
  1020. 46:02Right? So internet is provided by
  1021. 46:04someone else. The routers are provided
  1022. 46:07by someone else. But Amazon has created
  1023. 46:09an application on top of internet which
  1024. 46:12is able to give you the e-commerce at
  1025. 46:14your doorstep.
  1026. 46:16Tinder has created an application on the
  1027. 46:17top of internet so that you are able to
  1028. 46:19find your next state. Similarly in AI
  1029. 46:22you should be able to create a lot of
  1030. 46:23applications on these on the top of
  1031. 46:25these large language models so that you
  1032. 46:28are able to create a lot of value
  1033. 46:32right and the fourth layer is you can
  1034. 46:34use these tools you can use these large
  1035. 46:37language model based tools such as chat
  1036. 46:40GPT such as GMA such as Kurser in order
  1037. 46:43to make your clients and make yourself
  1038. 46:45more productive. So service agency
  1039. 46:48companies such as TCS, Realast and all
  1040. 46:50they will use these tools and then they
  1041. 46:52will help the company achieve their
  1042. 46:54outcomes.
  1043. 46:55Right? So this is the whole value chain.
  1044. 46:59People create infra then some people
  1045. 47:01create model some people create
  1046. 47:02application based on model and some
  1047. 47:04people create services. Okay. But this
  1048. 47:06is where you can drive a lot of value
  1049. 47:09without investing a lot of money.
  1050. 47:12And this is value at scale.
  1051. 47:15Right? All of the companies here, all of
  1052. 47:18these companies
  1053. 47:22are same companies. They don't own
  1054. 47:23models. What they do is they work on top
  1055. 47:26of models created by other companies,
  1056. 47:30right? And they are able to generate a
  1057. 47:31lot of value.
  1058. 47:33Right? Now, based on this gen AI value
  1059. 47:35stack, we can divide multiple kind of
  1060. 47:37AIPM jobs. Okay? So, first of all,
  1061. 47:40understand that every PM is an AIPM. If
  1062. 47:43you are using any kind of AI technology
  1063. 47:46in your life, GPT, Gemini or anything,
  1064. 47:49you are an AIPM. So I divide AIPM into
  1065. 47:52two parts. The first part is the AI
  1066. 47:56enabled PMS.
  1067. 47:58These are people who are using products
  1068. 48:01like Chat GPT, Lovable, Jira or any
  1069. 48:04other AI product
  1070. 48:06in order to make themsel more productive
  1071. 48:09in order to solve problems for their
  1072. 48:11customers. in order to save time in
  1073. 48:14order to provide more impact. So anyone
  1074. 48:17any PM who is a user of any of these AI
  1075. 48:20tools they are an AI enabled team. So
  1076. 48:22100% of all of us are AI enabled PMs.
  1077. 48:26Right. The second is AI product PM. Now
  1078. 48:30this is where the value is. This is what
  1079. 48:31we are going to talk about which we have
  1080. 48:32talked in the last sess in the uh
  1081. 48:34today's session as well initially and
  1082. 48:36then we are going to talk about today
  1083. 48:37more and in the next session as well.
  1084. 48:40Okay. So AI product PMs can be divided
  1085. 48:42into two parts. One is the core AIPM.
  1086. 48:46These core AIPMs need to understand how
  1087. 48:48the technology behind AI works. So
  1088. 48:52training, pre-training, post-raining,
  1089. 48:55how do you create a large language
  1090. 48:57model? How do you store? How do you make
  1091. 48:59it efficient? How do you consider memory
  1092. 49:01of a large language model? All of these
  1093. 49:03core things are the responsibility of a
  1094. 49:04core AIPM. So people who are creating
  1095. 49:07the infra or the model are the core
  1096. 49:09AIPMs. These people need to be technical
  1097. 49:12and they should have a solid
  1098. 49:13understanding of machine learning in
  1099. 49:15order to become a core IP.
  1100. 49:18Whatever I have told you so far about
  1101. 49:19how GP works and all this is a work of a
  1102. 49:21core IPM.
  1103. 49:23The second kind of PMS where most of you
  1104. 49:26should be going is applied AIPM. Now
  1105. 49:30applied AIPM are the people who are
  1106. 49:32creating useful applications by using
  1107. 49:35these core technologies. So people who
  1108. 49:37are building notion AI, Grammarly,
  1109. 49:39lovable, chat, GPT, people who are
  1110. 49:41building these products are applied AI
  1111. 49:45PMs. Applied AI means the people who are
  1112. 49:50actually using AI tools like AI
  1113. 49:52technologies such as models and infra in
  1114. 49:55order to build something helpful for
  1115. 49:57their customers.
  1116. 49:59Okay. So these are the only the users.
  1117. 50:02These are the core technology creators
  1118. 50:04and these are the product creators.
  1119. 50:07Right? So can you guys tell me where do
  1120. 50:09you fall right now?
  1121. 50:12What is your best description right now?
  1122. 50:15Where do you fall right now?
  1123. 51:19Yes,
  1124. 51:26wonderful. So all of you fall under the
  1125. 51:28AI enabled part right now but eventually
  1126. 51:30you should go ahead and
  1127. 51:34Yeah
  1128. 51:36guys, everyone is trying to focus and
  1129. 51:38learn. Please do not put any kind of
  1130. 51:40links in the chat. I've already blogged
  1131. 51:42a couple of people. Do not let me to do
  1132. 51:44it more. Let us go ahead and focus on
  1133. 51:46the session.
  1134. 51:49Cool. Now
  1135. 51:52this is the differentiation. Everyone is
  1136. 51:54here.
  1137. 51:56If you are coming from already a very
  1138. 51:58strong technical background, you should
  1139. 51:59try to move here. But everyone, even if
  1140. 52:01you are coming from a technical or
  1141. 52:02nontechnical background, you can always
  1142. 52:04move here. This is where I want you to
  1143. 52:06move.
  1144. 52:09Okay. Now let's go ahead. Okay. So tell
  1145. 52:15me everyone.
  1146. 52:17Tell me everyone if you are able to
  1147. 52:19understand this meme. Look at this very
  1148. 52:22carefully and tell me if you are able to
  1149. 52:23understand this meme.
  1150. 52:42Yes, cool. So understand there are like
  1151. 52:45so much valution that has been created
  1152. 52:47in all of these things. Okay, this is
  1153. 52:49sitting on the top of LLMs. Okay, so I'm
  1154. 52:52going to give you some examples of how
  1155. 52:56various kind of technology the various
  1156. 52:59kind of technologies are working on top
  1157. 53:01of these large language models. Okay,
  1158. 53:04but we are right on time. We will take a
  1159. 53:07quick break here. We will take a quick
  1160. 53:09break of five minutes and then we will
  1161. 53:12come back. Okay.
  1162. 53:14So now let me go ahead and tell you
  1163. 53:17how do So now you have understood that
  1164. 53:20yes a large language model. Okay. So
  1165. 53:25there is something called as
  1166. 53:30a large
  1167. 53:33language model.
  1168. 53:36which is provided by companies such as
  1169. 53:39Open AI,
  1170. 53:42Anthropic,
  1171. 53:45Meta,
  1172. 53:47Google and many more. Okay, these are
  1173. 53:50the large language models that are
  1174. 53:51provided by so many companies. Now,
  1175. 53:57right now, this large language models
  1176. 54:01can do three things for you.
  1177. 54:04Okay,
  1178. 54:06the first thing is they can understand
  1179. 54:10content.
  1180. 54:12They can understand what you are trying
  1181. 54:14to say because they have seen so many
  1182. 54:16patterns of data. They're able to
  1183. 54:18understand what you are trying to say.
  1184. 54:20Okay. So if you ask it to generate a
  1185. 54:22summary, it will be able to understand
  1186. 54:23the whole paragraph and then it will
  1187. 54:24generate the summary. Okay. The second
  1188. 54:27is it is able to transform content.
  1189. 54:34Transform means if you ask it to create
  1190. 54:37a summary of some content, it will
  1191. 54:39transform that into summary. If you ask
  1192. 54:42it to create a quiz on some content, it
  1193. 54:44will be able to transform that into
  1194. 54:45code. Okay. And the third part is it is
  1195. 54:48able to generate content. So if you want
  1196. 54:50it to generate images, code anything it
  1197. 54:53because it is data it should be able to
  1198. 54:54generate because it has seen enough code
  1199. 54:56in its life right. So it will be able to
  1200. 54:59go ahead and generate. So as a large
  1201. 55:00language model the capabilities of a so
  1202. 55:03as a product manager you should
  1203. 55:04understand that there are three core
  1204. 55:06capabilities of a large language model.
  1205. 55:08The first is it can understand second is
  1206. 55:11it can transform and third is it can
  1207. 55:13generate data.
  1208. 55:16Right? So you can use it for multiple
  1209. 55:18ways. You can use it
  1210. 55:21to generate summary. You can use it to
  1211. 55:24generate answers for your questions. You
  1212. 55:27can use it to generate code. And you can
  1213. 55:29generate for almost everything that you
  1214. 55:32want,
  1215. 55:34right? And because they have been
  1216. 55:35trained on tons of data, tons of
  1217. 55:38terabytes of data, generally the
  1218. 55:40accurations are very accurate. So now
  1219. 55:42what happens? So far whatever the
  1220. 55:44software that we used to create so far
  1221. 55:47whatever the software that we were used
  1222. 55:50to create
  1223. 55:52these softwares were generally of four
  1224. 55:54types. Okay. So any software that we
  1225. 55:56have used so far what they will do is
  1226. 55:57they will generally create a data they
  1227. 56:00will read data they will update the data
  1228. 56:02or they will delete the data. So all the
  1229. 56:04software that we have seen let's say
  1230. 56:05Facebook on Facebook what happens you go
  1231. 56:07ahead and create a profile and then on
  1232. 56:10your profile some database element is
  1233. 56:12created and then your people can see
  1234. 56:13your profile some people can go ahead
  1235. 56:16and upload some videos and then you are
  1236. 56:17able to see these videos and entertain
  1237. 56:19yourself so generally most of the
  1238. 56:21application before the AI world were
  1239. 56:25actually create read update and delete
  1240. 56:28this is called as application but now AI
  1241. 56:31has been able to give
  1242. 56:33a brain
  1243. 56:36to your softwares. So as a product
  1244. 56:39manager, you need to understand what
  1245. 56:41this large language model can do and how
  1246. 56:44can I utilize it to create better
  1247. 56:46products.
  1248. 56:48Right? So
  1249. 56:51I'm going to give you this understanding
  1250. 56:53with the help of few examples. Okay? So
  1251. 56:57there is a product called as granola.
  1252. 57:01Okay. And this product is similar to
  1253. 57:04many other products. So it's a very
  1254. 57:05simple product that if you go ahead and
  1255. 57:07use granula,
  1256. 57:09it will
  1257. 57:11go ahead and get added to your calendar
  1258. 57:13and whenever you are joining the
  1259. 57:14meeting, it will take the transcription
  1260. 57:17and recording of that meeting and it is
  1261. 57:19going to summarize the meeting for you
  1262. 57:20so that you do not have to pick up a
  1263. 57:22notebook every time. What happens is
  1264. 57:24whenever we are joining the meetings we
  1265. 57:25have to write down that what are the
  1266. 57:27things that are discussed so that we do
  1267. 57:28not forget and then we create a minutes
  1268. 57:30meeting like the minutes of the meeting
  1269. 57:33right so there are multiple tools like
  1270. 57:34granola there is fireflies otter fathom
  1271. 57:37most of you most of them which you can
  1272. 57:39see also on the uh the attendee list
  1273. 57:41right because many people have added
  1274. 57:44their note takers so now how these
  1275. 57:47noteers are created what is the value
  1276. 57:49behind them so I'm going to show you a
  1277. 57:50simple tear down Okay.
  1278. 57:54So,
  1279. 57:57everyone a quick yes or no in the chat
  1280. 57:59if you understand what a AI noteaker is.
  1281. 58:14Amazing. Great.
  1282. 58:17Yes.
  1283. 58:20Yes. So now let us try to understand how
  1284. 58:22this product works and this is like a
  1285. 58:25very important case. It will help you
  1286. 58:28understand how AI products are built.
  1287. 58:30Okay. So first of all understand
  1288. 58:31everyone whenever you create any product
  1289. 58:34as a product manager
  1290. 58:36you have to look at five angles.
  1291. 58:40Don't just go ahead and just think about
  1292. 58:44technology. Technology is one important
  1293. 58:46part but it is not the most important
  1294. 58:49part. But AI is just a piece of
  1295. 58:51technology. So do not focus on just
  1296. 58:53using AI. Focus on solving the problem
  1297. 58:55of the user. So whenever you look at any
  1298. 58:57product, please ask yourself five
  1299. 59:00questions. Right? The five questions are
  1300. 59:04what problem does it solves in people's
  1301. 59:07life?
  1302. 59:09Right? What problem does it solves in
  1303. 59:11people lives? Okay. So
  1304. 59:15can you guys tell me? to think about it
  1305. 59:16for a moment and then tell me in the
  1306. 59:19chat what do you think what are the
  1307. 59:21problems that granola solves in people's
  1308. 59:23life
  1309. 59:26think about this as a product manager
  1310. 59:28this is the most important value that
  1311. 59:29you need to add that how am I being
  1312. 59:32useful to the users what problem does it
  1313. 59:34solve so tell me what is a problem that
  1314. 59:36these note takers solve
  1315. 59:49Yes. Very good. So
  1316. 59:52at a task level, it helps you record and
  1317. 59:56summarize your meetings.
  1318. 59:58But that is just an output. The outcome
  1319. 1:00:01is that it is able to save you time and
  1320. 1:00:05it will help you be more accurate
  1321. 1:00:07because when you are writing something
  1322. 1:00:09it might be possible that yes you are
  1323. 1:00:11missing something and you also have to
  1324. 1:00:13invest a lot of time and attention when
  1325. 1:00:15you are writing things right so granular
  1326. 1:00:19saves you time it makes you more
  1327. 1:00:21efficient and accurate always remember
  1328. 1:00:24it is okay if you're not using AI in
  1329. 1:00:26your product AI is not a silver bullet
  1330. 1:00:29that will improve your But if the
  1331. 1:00:31product does not have a value, if you
  1332. 1:00:33are not able to clearly define why this
  1333. 1:00:35product should exist, then please do not
  1334. 1:00:37create the product. Okay, this is the
  1335. 1:00:40most effective value that you add as a
  1336. 1:00:41product manager. Okay, now the second
  1337. 1:00:44part which is a business value.
  1338. 1:00:48Why should the business per pursue this
  1339. 1:00:50opportunities?
  1340. 1:00:52Okay, think about this for a moment
  1341. 1:00:54everyone and then tell me in the chat
  1342. 1:00:56why should the business pursue this
  1343. 1:00:58opportunities?
  1344. 1:01:01How do you find this out?
  1345. 1:01:03Let us keep it collaborative so that
  1346. 1:01:05everyone is able to learn accordingly.
  1347. 1:01:20Yes.
  1348. 1:01:22So now what we'll do is now what we will
  1349. 1:01:25do is we will try to understand that if
  1350. 1:01:28we are creating a meeting assistant
  1351. 1:01:32how many people in the world are first
  1352. 1:01:34looking for this kind of solution.
  1353. 1:01:37So you will have a prediction that
  1354. 1:01:39people who are a part of small
  1355. 1:01:40businesses or large businesses they are
  1356. 1:01:42going to love this kind of solution
  1357. 1:01:44because they are going to save time and
  1358. 1:01:46then you are going to understand how
  1359. 1:01:48many people are there who are working in
  1360. 1:01:50these small businesses. how many small
  1361. 1:01:51businesses are there and then you are
  1362. 1:01:53going to size a market opportunity.
  1363. 1:01:56Okay, that is one way that it is going
  1364. 1:01:58to help the business because there is a
  1365. 1:02:00large market opportunity and in order to
  1366. 1:02:02do this research you can go ahead and
  1367. 1:02:03use chat GPT notebook LM Gemini or
  1368. 1:02:06anything right that is the business
  1369. 1:02:08value now the other kind of business
  1370. 1:02:09value is let's say we are not talking
  1371. 1:02:12about granola we are talking about zoom
  1372. 1:02:15right so because zoom already has a lot
  1373. 1:02:19of users who are using its platform to
  1374. 1:02:22conduct meetings it is an strategic
  1375. 1:02:25opport opportunity for Zoom. It is a
  1376. 1:02:28strategic business opportunity for Zoom
  1377. 1:02:30to create an inbuilt meeting assistant.
  1378. 1:02:35Right? So it aligns with the strategy
  1379. 1:02:36and it also aligns with the market
  1380. 1:02:38opportunity.
  1381. 1:02:40Right? So understand everyone as a
  1382. 1:02:43product before being an AI product
  1383. 1:02:45manager, you are a product manager and
  1384. 1:02:47the purpose of a product manager is to
  1385. 1:02:49bring the user value and to bring the
  1386. 1:02:51business value.
  1387. 1:02:53Right? Now the third thing is how do we
  1388. 1:02:57make sure that
  1389. 1:03:01the product is intuitive for the user to
  1390. 1:03:03use. How do we make sure that the
  1391. 1:03:05product is very intuitive.
  1392. 1:03:08Right? So in all of these tools you
  1393. 1:03:09would have found that you do not have to
  1394. 1:03:12do anything. You just install the tool
  1395. 1:03:14you add it to your calendar.
  1396. 1:03:15Automatically whenever a meeting occurs
  1397. 1:03:18the person the the meeting note taker
  1398. 1:03:20would be automatically added. Granola
  1399. 1:03:22goes to the next level that right now
  1400. 1:03:24this meeting is recorded with granular
  1401. 1:03:26but you do not know why because it is
  1402. 1:03:28installed on my computer. It is taking
  1403. 1:03:29over the microphone and the video and it
  1404. 1:03:31is doing it by itself. So now you have
  1405. 1:03:33to do optimizations on the design part
  1406. 1:03:36so that you are able to reduce the
  1407. 1:03:38friction for the user. If I have to add
  1408. 1:03:40a granular every time, if I have to add
  1409. 1:03:44uh uh this fireflies every time when I'm
  1410. 1:03:46doing a meeting that is going to be
  1411. 1:03:47resistance for me right? So this is
  1412. 1:03:51called as being a proactive software.
  1413. 1:03:56So they are able to get meeting into
  1414. 1:03:58meetings automatically. So you don't
  1415. 1:03:59have to do the work automatically it is
  1416. 1:04:01happening. Right? So this is the
  1417. 1:04:03intuitiveness and then they have created
  1418. 1:04:06an interface so that I'm able to see
  1419. 1:04:07what are the meetings that I have
  1420. 1:04:08conducted. I can go ahead and ask
  1421. 1:04:10questions based on my meetings. Right?
  1422. 1:04:13So this is the value part, business part
  1423. 1:04:15and the design part. The next part that
  1424. 1:04:18we are going to understand today is how
  1425. 1:04:21will this be engineered.
  1426. 1:04:23Engineered part is feasibility part. But
  1427. 1:04:25please remember this line. User value
  1428. 1:04:29and business value as a product manager
  1429. 1:04:31should be your first focus and
  1430. 1:04:33feasibility should be the next focus.
  1431. 1:04:36Feasibility should not be the number one
  1432. 1:04:38focus of a product manager right now.
  1433. 1:04:40Please start with
  1434. 1:04:42the user problem and the business
  1435. 1:04:44problems. That is what you add the most
  1436. 1:04:47to the company. That is where you are
  1437. 1:04:48being most impactful rather than only
  1438. 1:04:50talking about engineering and
  1439. 1:04:52feasibility because there are people who
  1440. 1:04:53are more eligible than you who can do
  1441. 1:04:55the task. Okay. So how will this AI
  1442. 1:04:58product be orchestrated? But before that
  1443. 1:05:00everyone a quick yes or no in the chat
  1444. 1:05:03if you are able to understand the three
  1445. 1:05:05parts user value, business value and
  1446. 1:05:07design value.
  1447. 1:05:11Amazing.
  1448. 1:05:21Wonderful.
  1449. 1:05:28Yes. So there is one person who has said
  1450. 1:05:30no four number of times.
  1451. 1:05:33Great. So
  1452. 1:05:37yes. So now we have understood the three
  1453. 1:05:40parts. Now let me give you a bit about
  1454. 1:05:42engineering. Okay. So this is how this
  1455. 1:05:45product looks at the back end. Now look
  1456. 1:05:47at this very carefully. Super important.
  1457. 1:05:49If you just under understand this one
  1458. 1:05:51product, I can assure you that you can
  1459. 1:05:53reverse engineer almost any AI product.
  1460. 1:05:55So please focus on this slide. Okay. So
  1461. 1:05:58behind granula
  1462. 1:06:01whenever you do any meeting on zoom on
  1463. 1:06:04meet or anyone
  1464. 1:06:07granola or fireflies or otter or any of
  1465. 1:06:12the meeting recording tools even the
  1466. 1:06:13zoom tool they will be connecting to the
  1467. 1:06:17meeting either they can join the meeting
  1468. 1:06:20as a bot
  1469. 1:06:22or they will capture the content from
  1470. 1:06:24your screen whatever you are speaking
  1471. 1:06:26they will take over your mic
  1472. 1:06:28or they are going to ask the API. API as
  1473. 1:06:31in they will ask Zoom or Google Meet to
  1474. 1:06:34share the recording or the transcript
  1475. 1:06:37if you have given the permission. Okay?
  1476. 1:06:40So they will get
  1477. 1:06:42the audio of the meeting,
  1478. 1:06:48right? Once they get the audio of the
  1479. 1:06:51meeting, they are going to convert that
  1480. 1:06:53audio into text transcription.
  1481. 1:06:56There are multiple APIs available for
  1482. 1:06:58the same. So, OpenAI has an API called
  1483. 1:07:01as whisper where you give it audio. It
  1484. 1:07:04will be able to give you the transcript
  1485. 1:07:05of that audio. There is also Google text
  1486. 1:07:08to speech like uh speech to text where
  1487. 1:07:11you can just go ahead and give it a
  1488. 1:07:13audio. It will be able to convert into
  1489. 1:07:15accurate transcript.
  1490. 1:07:18Right? There are some smaller players as
  1491. 1:07:20well which are assembly.ai and other
  1492. 1:07:22players who can also do this job. Okay?
  1493. 1:07:25So now what we have is we have a
  1494. 1:07:27transcript.
  1495. 1:07:29Now this transcript is available with
  1496. 1:07:31us. What these people will do is what
  1497. 1:07:33granula or fireflies will do is they
  1498. 1:07:36will take this transcript and then they
  1499. 1:07:39will add a system prop.
  1500. 1:07:43Okay. So this is a system prop.
  1501. 1:07:53So now everyone please look at this very
  1502. 1:07:55carefully. Look at this very very
  1503. 1:07:57carefully. So it is going to add this
  1504. 1:08:00prompt. The prompt is you are an expert
  1505. 1:08:03chief of staff and noteaker.
  1506. 1:08:05Given the following raw meeting
  1507. 1:08:07transcript, generate a structured and
  1508. 1:08:09actionable summary that includes the
  1509. 1:08:10following sections. meeting title,
  1510. 1:08:14data and participants, date and
  1511. 1:08:16participants, key decision made, action
  1512. 1:08:17items, open questions, summary, notable
  1513. 1:08:20quotes and then you have written some
  1514. 1:08:22more instructions.
  1515. 1:08:24Right? So this prompt might be created
  1516. 1:08:28by a product manager at granula
  1517. 1:08:32which will convert a raw transcript that
  1518. 1:08:35is generated into very helpful meaning
  1519. 1:08:39notes, meeting notes, right? And this
  1520. 1:08:43prompt plus this transcript would then
  1521. 1:08:47be sent
  1522. 1:08:50to a large language model.
  1523. 1:08:53Right? This will be sent to a large
  1524. 1:08:57language model such as Gemini or Jad
  1525. 1:09:00GPD, right? And then it will do its
  1526. 1:09:03magic. It will create summary
  1527. 1:09:05actionables and tasks. Okay? So this is
  1528. 1:09:08how these meeting tools work. And then
  1529. 1:09:12what happens? You can take it to the
  1530. 1:09:14next step. You can make it more agentic.
  1531. 1:09:15Agentic means they will take action. So
  1532. 1:09:17what can happen is they can also go
  1533. 1:09:19ahead and push these tasks to your slack
  1534. 1:09:22to your calendar or to your Jira. So now
  1535. 1:09:26you are just adding a meeting notetaker
  1536. 1:09:30like a meeting assistant to your
  1537. 1:09:32calendar and then it will get the
  1538. 1:09:35recording. It will do the transcript. It
  1539. 1:09:38will go ahead and create
  1540. 1:09:41the summary with the help of system
  1541. 1:09:43prompts and the transcript. then it can
  1542. 1:09:45go ahead and convert into multiple task
  1543. 1:09:46and then it can also if you give it the
  1544. 1:09:48permission it can also go ahead and add
  1545. 1:09:49it to your Slack calendar or Jira right
  1546. 1:09:53so this simplistic architecture which is
  1547. 1:09:55dependent on multiple LLMs and things is
  1548. 1:09:58now
  1549. 1:10:00a possibility because large language
  1550. 1:10:02models are possible
  1551. 1:10:08right everyone a quick yes or no if you
  1552. 1:10:12are able to understand This
  1553. 1:10:15right? So I want you guys to think in
  1554. 1:10:18this manner. Okay. I want you guys to
  1555. 1:10:22think in this manner.
  1556. 1:10:46Everyone a quick yes or no in the chat
  1557. 1:10:48please.
  1558. 1:10:52Yes. So now large language models have
  1559. 1:10:55unlocked intelligence for you. Okay. Now
  1560. 1:10:59you can use them like an expert in order
  1561. 1:11:02to go ahead and do a lot of things.
  1562. 1:11:05Right? So now this is like a simple
  1563. 1:11:07orchestration. Now you can think about
  1564. 1:11:08how you can innovate on top of the same
  1565. 1:11:13right. So the history of granular is
  1566. 1:11:15that that before granular there were
  1567. 1:11:17players like fireflies, autoi and fedum.
  1568. 1:11:19What happened because of these was they
  1569. 1:11:21will keep themselves added on. They will
  1570. 1:11:24keep themselves added on.
  1571. 1:11:30Yes. They will keep themselves added on
  1572. 1:11:37multiple meetings and people generally
  1573. 1:11:39get irritated if so many bots are
  1574. 1:11:40joining the meeting. Okay. And it was
  1575. 1:11:43also not very privacy intense in
  1576. 1:11:45incentive for intensive for other
  1577. 1:11:47people. Okay. That people do not want
  1578. 1:11:49your bots to join their meetings. Okay.
  1579. 1:11:51So Granla came up with a AI with a UI
  1580. 1:11:54innovation. With Granla you don't have
  1581. 1:11:56to add anything. It will operate in your
  1582. 1:11:58computer. It will listen to the audio
  1583. 1:11:59and then it will it is going to
  1584. 1:12:01automatically transcribe the meeting for
  1585. 1:12:02you and give you the context right so
  1586. 1:12:06you can do these optimizations in order
  1587. 1:12:07to make sure that you are able to go
  1588. 1:12:09ahead and
  1589. 1:12:11yes you are able to go ahead and create
  1590. 1:12:13a lot of things
  1591. 1:12:15right now the magic that you can add as
  1592. 1:12:18a product manager is understand AI is
  1593. 1:12:20not difficult you just have to
  1594. 1:12:22understand the concept that I'm telling
  1595. 1:12:23you after that the next real skill that
  1596. 1:12:26you have to develop is customer empathy
  1597. 1:12:28Understanding
  1598. 1:12:30what customers want and giving them as
  1599. 1:12:32soon as possible in the best design
  1600. 1:12:34possible. That is the value that you add
  1601. 1:12:36as a product manager.
  1602. 1:12:39Okay. Now we have talked about granular.
  1603. 1:12:43Now let's go to the next level. Okay. So
  1604. 1:12:46granular is a very simple example. Okay.
  1605. 1:12:50The next example that we need to
  1606. 1:12:51understand is
  1607. 1:12:54okay. Okay. So one part is left.
  1608. 1:12:57That part is understand just building a
  1609. 1:12:59product which is useful and business
  1610. 1:13:01wants to build it and it is good design
  1611. 1:13:03it is good feasibility
  1612. 1:13:06doesn't make sure that product is
  1613. 1:13:08actually very very helpful
  1614. 1:13:10right doesn't make sure that the product
  1615. 1:13:12is very very helpful
  1616. 1:13:16so there is one more thing okay
  1617. 1:13:22there is one more thing
  1618. 1:13:25that is needed to make a product achieve
  1619. 1:13:27its potential and generate revenue out
  1620. 1:13:29of the for the company which is how do
  1621. 1:13:32we grow this product in this market
  1622. 1:13:35which is creating a go to market
  1623. 1:13:37strategy
  1624. 1:13:38building
  1625. 1:13:40a product that is actually loved by the
  1626. 1:13:42users creating distribution for the
  1627. 1:13:44product making sure that people are
  1628. 1:13:46actually using the product that is
  1629. 1:13:48called as the growth part so how do you
  1630. 1:13:49grow in this market so all of these
  1631. 1:13:52meeting assistants they are viral by
  1632. 1:13:55default
  1633. 1:13:56So let's say I and you did a meeting
  1634. 1:13:59together and because I believe in
  1635. 1:14:03productivity I do not believe in taking
  1636. 1:14:04notes manually. I have added a noteaker
  1637. 1:14:08called as fireflies. Now when you see
  1638. 1:14:11this that in the meeting there is
  1639. 1:14:13another thing which is fireflies. You
  1640. 1:14:15are going to get curious that what is
  1641. 1:14:17this? I should also go ahead and check
  1642. 1:14:18what is this. Okay. So by using virality
  1643. 1:14:21they are going ahead and creating a
  1644. 1:14:24distribution right. Similarly whenever
  1645. 1:14:27the meeting has ended most of these
  1646. 1:14:30people are going to send you emails. Let
  1647. 1:14:32me show you one of the emails. Just give
  1648. 1:14:34me a moment.
  1649. 1:14:38Let me check if I have those kind of
  1650. 1:14:40emails. What is the name? Fireflies.
  1651. 1:14:56Yes. Cool. So, let's say
  1652. 1:15:09cool. So,
  1653. 1:15:12this is the link. Okay. So generally
  1654. 1:15:15when we do the meeting this is the link
  1655. 1:15:17that we received after that. Okay. So
  1656. 1:15:20someone added me to their meeting and
  1657. 1:15:22they also added fireflies because they
  1658. 1:15:23were using fireflies and after the
  1659. 1:15:25meeting has ended it always sends me
  1660. 1:15:27this thing that this is what you have
  1661. 1:15:29done. This is a summary this is the
  1662. 1:15:31action item and it also tells me to go
  1663. 1:15:34ahead and if I click on view the meeting
  1664. 1:15:35and all it will ask me to sign up.
  1665. 1:15:39Right? So these are some growth tactics
  1666. 1:15:41that these people are implementing in
  1667. 1:15:43order to make sure that it is able to
  1668. 1:15:44grow. The product is actually able to
  1669. 1:15:46succeed. So marketing and growth is also
  1670. 1:15:49a good responsibility or a must have
  1671. 1:15:52responsibility for a product manager,
  1672. 1:15:54right? And understand guys, product
  1673. 1:15:56management is multi-dimensional.
  1674. 1:15:59Not that you just create a great product
  1675. 1:16:01and put all of your efforts into it and
  1676. 1:16:02it is going to work. You need marketing,
  1677. 1:16:04you need stakeholder management, you
  1678. 1:16:06need a bit of understanding of
  1679. 1:16:07technology, you need a bit of
  1680. 1:16:08understanding of analytics so that you
  1681. 1:16:10know if you are moving in the right
  1682. 1:16:11direction. It's a multi-dimensional job.
  1683. 1:16:15Right? So this is the story behind
  1684. 1:16:17granola. Now let me go ahead and give
  1685. 1:16:21you some more complicated examples.
  1686. 1:16:23Okay? So
  1687. 1:16:28tell me everyone
  1688. 1:16:30if you ask chat GPT
  1689. 1:16:33if you ask chat GPT that what is the
  1690. 1:16:36most important item in my Google
  1691. 1:16:38calendar tomorrow would it be able to
  1692. 1:16:40answer?
  1693. 1:16:42If you ask GP that what is the most
  1694. 1:16:44important item in my calendar tomorrow
  1695. 1:16:45would it be able to answer
  1696. 1:16:55yes if you have not connected a Google
  1697. 1:16:57calendar it would not be able to answer
  1698. 1:17:00right and if I take example of let's say
  1699. 1:17:04this particular product called as
  1700. 1:17:05calendar is connected to Google but if I
  1701. 1:17:07ask about notion then Gemini will also
  1702. 1:17:09be not be able to answer Right.
  1703. 1:17:12So now we have so much data in our
  1704. 1:17:16calendar, in our to-do list, in our
  1705. 1:17:18Jiraa dashboard, in our stripe document
  1706. 1:17:19like stripe dashboard. But how do we
  1707. 1:17:22make sure that all of this content is
  1708. 1:17:25available to large language models so
  1709. 1:17:27that they can go ahead and give us the
  1710. 1:17:28answers. So rather than asking like
  1711. 1:17:30rather than thinking that where is the
  1712. 1:17:32PD what is the task that I need to do
  1713. 1:17:33today from my Jira or notion I should
  1714. 1:17:37just ask a query that what are the three
  1715. 1:17:39things that I need to get done today and
  1716. 1:17:40then it should give me the answer. Okay
  1717. 1:17:42if I want to go to this level what I can
  1718. 1:17:45do is a very simple approach that I can
  1719. 1:17:48do is I can just go ahead and give all
  1720. 1:17:50the data from my notion or stripe or
  1721. 1:17:53atlation to the large language model.
  1722. 1:17:58Okay. But when I give a lot of data to
  1723. 1:18:00the large language model, what happens?
  1724. 1:18:05The model runs out of context.
  1725. 1:18:09Okay? Because these models
  1726. 1:18:12cannot carry infinite context. Context
  1727. 1:18:15means the kind of input that you can
  1728. 1:18:18provide to these models.
  1729. 1:18:20Right? So now we have to work we have to
  1730. 1:18:23work hard to make sure that these models
  1731. 1:18:24work. Okay? And also although companies
  1732. 1:18:27are trying to increase the context
  1733. 1:18:29window as much as possible,
  1734. 1:18:32there has been research that is done by
  1735. 1:18:34great people at Chroma which is a
  1736. 1:18:36vector-based database company. They were
  1737. 1:18:38able to find that as you increase the
  1738. 1:18:42context, as you increase the context,
  1739. 1:18:45the performance of the model goes down.
  1740. 1:18:48Even if these people claim that our
  1741. 1:18:50model can work in so much context, when
  1742. 1:18:52these people actually tested multiple
  1743. 1:18:54models, they were able to find in almost
  1744. 1:18:57all the models that as the context or
  1745. 1:18:58the input size increases, if you
  1746. 1:19:01increase the size of your prompts, then
  1747. 1:19:04the quality of performance actually
  1748. 1:19:07reduces after a certain level. Right? So
  1749. 1:19:11now understand as a product manager, so
  1750. 1:19:13even if someone is not able to
  1751. 1:19:14understand this or this, at least you'll
  1752. 1:19:16be able to understand this. Okay. So
  1753. 1:19:19when you give concise input context to
  1754. 1:19:22the large language models, they appear
  1755. 1:19:24to be very intelligent and very
  1756. 1:19:26insightful and very careful. But when
  1757. 1:19:29you go ahead and give them too large
  1758. 1:19:30input, then they don't know what they
  1759. 1:19:32are doing and they get confused.
  1760. 1:19:34Okay. So now how to solve this? What we
  1761. 1:19:37do is we have another methodology called
  1762. 1:19:41as context engineering. Context
  1763. 1:19:43engineering means how do you carefully
  1764. 1:19:47curate what should go as an input to the
  1765. 1:19:50large language model so that it is
  1766. 1:19:53accurate so that you have given the
  1767. 1:19:55right kind of information so that you
  1768. 1:19:57are able to get the right kind of
  1769. 1:19:59insight or output from the large
  1770. 1:20:01language model
  1771. 1:20:03right so this is called as context
  1772. 1:20:05engineering so context engineering I am
  1773. 1:20:07going to quote the person who has
  1774. 1:20:11acquainted this term which is and
  1775. 1:20:13Karpathi. So he says that context
  1776. 1:20:16engineering is the delicate art and
  1777. 1:20:19science
  1778. 1:20:20of filling the context window with just
  1779. 1:20:23the right information for the next step.
  1780. 1:20:25Art and science means you have to apply
  1781. 1:20:27your mind. You have to think creatively
  1782. 1:20:30to give enough context to the large
  1783. 1:20:31language model so that it is able to
  1784. 1:20:33answer you in the most accurate format.
  1785. 1:20:37Right? So this is context engineering
  1786. 1:20:39and in context engineering we do
  1787. 1:20:42multiple things. Okay. One of the point
  1788. 1:20:44of context engineering is prompt
  1789. 1:20:47engineering. How well you write the
  1790. 1:20:49prompt is a part of context engineering.
  1791. 1:20:52Okay. But apart from prompt what happens
  1792. 1:20:54is you need to give some data about your
  1793. 1:20:57software. For example,
  1794. 1:21:00if you want to build a software called
  1795. 1:21:02as notion AI. Okay. So
  1796. 1:21:06let's say you will to you want to build
  1797. 1:21:08a software called as not not motion AI
  1798. 1:21:10but let's say you want to build a
  1799. 1:21:17Bloomberg chatbot.
  1800. 1:21:20What is a Bloomberg chatbot? Bloomberg
  1801. 1:21:22is an organization which has access to a
  1802. 1:21:25lot of financial data available in the
  1803. 1:21:27world.
  1804. 1:21:28Right? So now what you want to do is
  1805. 1:21:31that whatever the data is available with
  1806. 1:21:33Bloomberg you should be able to send a
  1807. 1:21:35question to a large language model in a
  1808. 1:21:37natural language and then it should be
  1809. 1:21:39able to give you answer based on the
  1810. 1:21:42content that is available with
  1811. 1:21:43Bloomberg.
  1812. 1:21:45Right? So here the problem is you cannot
  1813. 1:21:49store all the content that Bloomberg has
  1814. 1:21:53in the context window. You cannot have
  1815. 1:21:55all this content as the input. Why?
  1816. 1:21:56because it is going to run out of
  1817. 1:21:58context. So what you will do is you will
  1818. 1:22:01carefully build something called as a R
  1819. 1:22:05a
  1820. 1:22:06pipeline. Now this is a very important
  1821. 1:22:08concept.
  1822. 1:22:10Even if you remotely want to become an
  1823. 1:22:12AI product manager or AI practitioner,
  1824. 1:22:15you need to understand this. This is
  1825. 1:22:16like a very basic thing that every
  1826. 1:22:19person who calls themsel AI enabled has
  1827. 1:22:22to understand. Okay. So rag means
  1828. 1:22:27retrieval,
  1829. 1:22:32augment
  1830. 1:22:33and generate.
  1831. 1:22:37retrieval, augment and generate.
  1832. 1:22:41Okay. So what happens
  1833. 1:22:44when
  1834. 1:22:46someone comes to your house and they
  1835. 1:22:49tell you that I need some sugar. Okay.
  1836. 1:22:54When they tell you, "I need some sugar."
  1837. 1:22:56You don't go to
  1838. 1:22:58your study room and you do not look for
  1839. 1:23:01sugar in you do not start by looking for
  1840. 1:23:04sugar in your cupboard or in your
  1841. 1:23:07wardrobe or in let's say your library or
  1842. 1:23:10maybe under your sofa. What you do is
  1843. 1:23:12you straight away understand that sugar
  1844. 1:23:14is an item that might be available
  1845. 1:23:18in my kitchen in a particular shelf. It
  1846. 1:23:21might be possible you don't know that
  1847. 1:23:23which part of shelf that it is put on
  1848. 1:23:24but you know a particular shelf or maybe
  1849. 1:23:26you at least know that it is going to be
  1850. 1:23:27found in the kitchen. Similarly, if your
  1851. 1:23:30kid asks for a book or if they ask for
  1852. 1:23:32money, you do not go ahead and go
  1853. 1:23:35anywhere else in the house. You know
  1854. 1:23:36where the money is put. You are going to
  1855. 1:23:37just pick the room where the money is.
  1856. 1:23:41Then you are going to pick a particular
  1857. 1:23:42wallet and then you are going to see in
  1858. 1:23:45the wallet that yes in all of these four
  1859. 1:23:47to five pockets there could be a place
  1860. 1:23:49where I have put the money. Right? So at
  1861. 1:23:52a high level you know that where this
  1862. 1:23:53information is the same analogy can be
  1863. 1:23:56drawn to rag. So in rag what we do is
  1864. 1:24:01the first part is
  1865. 1:24:04we get all the data. We get all the
  1866. 1:24:07data. For example, we have PDFs or a
  1867. 1:24:09better example is we have Bloomberg
  1868. 1:24:11data.
  1869. 1:24:13So Bloomberg data is they have a lot of
  1870. 1:24:15files. So we are going to break down
  1871. 1:24:18files into small small chunks maybe in
  1872. 1:24:22the form of paragraphs. Okay. So we have
  1873. 1:24:24one chunk, we have another chunk, we
  1874. 1:24:26have another chunk. We are going to
  1875. 1:24:27create all of these chunks which are
  1876. 1:24:29small enough and meaningful enough.
  1877. 1:24:32Okay. We are going to break down this
  1878. 1:24:33data.
  1879. 1:24:35Now in this data what we'll do is
  1880. 1:24:40what we'll do is now we have the
  1881. 1:24:41chunking of data. Now what we'll do is
  1882. 1:24:43we will convert these data chunks into
  1883. 1:24:47something called as vector embeddings.
  1884. 1:24:49Now listen to this very very carefully.
  1885. 1:24:50Super important. If you miss this you
  1886. 1:24:52will miss rag. Okay I'll repeat this
  1887. 1:24:55again.
  1888. 1:24:57You will take the data whatever data is
  1889. 1:25:00available you will break it down into
  1890. 1:25:03small chunks and then when you have
  1891. 1:25:05these small chunks you will create you
  1892. 1:25:07will convert these chunks into vector
  1893. 1:25:09embedding. So what is a vector
  1894. 1:25:10embedding? So quick oneonone on vector
  1895. 1:25:12embedding that
  1896. 1:25:15like large language models we have also
  1897. 1:25:18created algorithms
  1898. 1:25:20which are able to create any form of
  1899. 1:25:23text
  1900. 1:25:26into a
  1901. 1:25:28numerical
  1902. 1:25:30representation
  1903. 1:25:32numerical representation as in let's say
  1904. 1:25:39I have a word called as cat
  1905. 1:25:44right so I have created a mathematical
  1906. 1:25:47representation of cat okay what is a
  1907. 1:25:49mathematical representation I have
  1908. 1:25:51assigned some numbers okay so let's say
  1909. 1:25:53the number is 1a 2a 3 this is let's say
  1910. 1:25:56x-axis y ais z ais okay right now to
  1911. 1:25:59show you because we can only look at 3D
  1912. 1:26:01I'm showing you three dimensional but in
  1913. 1:26:03reality it can be n dimensional which is
  1914. 1:26:05n is a very large number okay so we take
  1915. 1:26:08words we take sentences
  1916. 1:26:10Then we generate vectors from these
  1917. 1:26:12sentences. Vector is this like this
  1918. 1:26:14point
  1919. 1:26:16right? And then what we do is
  1920. 1:26:19we keep on generating these vectors.
  1921. 1:26:23Just a moment.
  1922. 1:26:30Yes. So we keep on generating these
  1923. 1:26:32vectors and the beauty of these vectors
  1924. 1:26:35is that somehow
  1925. 1:26:39when you search for cat and when you
  1926. 1:26:41search for lion
  1927. 1:26:43lion okay because these belong to a same
  1928. 1:26:47family they are going to be very closer
  1929. 1:26:50to each other
  1930. 1:26:53right? When you plot something like a
  1931. 1:26:56pat it is going to be much closer but
  1932. 1:26:59when you go ahead and plot something
  1933. 1:27:01like a table then it is going to be far
  1934. 1:27:04from cat.
  1935. 1:27:06So mathematically
  1936. 1:27:08computer scientist has been able to
  1937. 1:27:10create this vector thing. So what this
  1938. 1:27:12vector thing does is it will take a
  1939. 1:27:14sentence or a piece of information. It
  1940. 1:27:17will convert it into a numerical
  1941. 1:27:19identity which is a vector and then
  1942. 1:27:22these vectors are created in such a way
  1943. 1:27:23that if you go ahead and compare these
  1944. 1:27:26vectors with other words based on the
  1945. 1:27:29distance you will understand how much
  1946. 1:27:30this word is similar to that word or not
  1947. 1:27:32in the meaning
  1948. 1:27:34right. So this is vector embedding.
  1949. 1:27:38Okay. So what is happening here? We have
  1950. 1:27:42had the content and the text. We have
  1951. 1:27:44converted them into long sentences of
  1952. 1:27:46vector embedding which is numerical
  1953. 1:27:48numbers. Okay. Now what happens?
  1954. 1:27:52And then we are going to store these
  1955. 1:27:54vector embeddings into a vector
  1956. 1:27:55database.
  1957. 1:27:58Right? So now we have the data ready. We
  1958. 1:28:00have data ready to be searched. So now
  1959. 1:28:02what will happen whenever
  1960. 1:28:07just a moment where is that?
  1961. 1:28:12Yes. So this is rag.
  1962. 1:28:15Look at this very carefully everyone. So
  1963. 1:28:17there are two parts of rag. First we are
  1964. 1:28:18creating the knowledge base. What we
  1965. 1:28:20have done is we have taken all the
  1966. 1:28:22content whether it is text, PDF,
  1967. 1:28:24transcript code or any Bloomberg data.
  1968. 1:28:27We have converted that into small small
  1969. 1:28:29chunks, small information of data and
  1970. 1:28:32after that we have created vector
  1971. 1:28:34embeddings and then once we have created
  1972. 1:28:36vector embeddings understand there are
  1973. 1:28:38standard
  1974. 1:28:40programming code or functions to create
  1975. 1:28:42these vector embeddings.
  1976. 1:28:44Okay, once the vectors embeddings are
  1977. 1:28:46created they are stored in vector
  1978. 1:28:47storage. There are multiple databases
  1979. 1:28:50that give you by default vector storing
  1980. 1:28:53which is pine cone, superbase, AWS S3,
  1981. 1:28:57vector storage. It gives you all of
  1982. 1:28:59that. Okay. Now what happens? A user
  1983. 1:29:03gives a query. The query is how has
  1984. 1:29:05Tesla performed in the last quarter?
  1985. 1:29:08Okay. Now what will happen?
  1986. 1:29:11This query
  1987. 1:29:13would be converted into an embedding. It
  1988. 1:29:15will again be converted into vector. Now
  1989. 1:29:17what will happen? We have two vectors.
  1990. 1:29:19One is the vectors that are stored.
  1991. 1:29:22Other is this vector. So if we want to
  1992. 1:29:24see what are the vectors which are
  1993. 1:29:25similar to this vector which is where
  1994. 1:29:27this information is stored. Right? Where
  1995. 1:29:30is that let's say what where is that I
  1996. 1:29:34would say wardrobe or where is that
  1997. 1:29:36place where where in my kitchen the
  1998. 1:29:39sugar might be stored. Okay. So it is
  1999. 1:29:42going to go ahead and understand this
  2000. 1:29:44embedding and then you are going to
  2001. 1:29:46search for things which are similar to
  2002. 1:29:49this embedding in this database.
  2003. 1:29:52Okay. And you are going to pick maybe 1
  2004. 1:29:552 3 5 10 things based on your algorithm
  2005. 1:29:59based on your needs which are most
  2006. 1:30:01similar to this particular vector. So
  2007. 1:30:05you will have things which are most
  2008. 1:30:06similar to this particular vector. Then
  2009. 1:30:07what you will do is you will have some
  2010. 1:30:09information. The information is you will
  2011. 1:30:11go ahead and get this information and
  2012. 1:30:14then this will be your final prompt. So
  2013. 1:30:16now you have taken the vector you have
  2014. 1:30:19found what are other similar vectors.
  2015. 1:30:21Now you have created a list of the
  2016. 1:30:22vectors which you have found. Now
  2017. 1:30:24finally you will get this.
  2018. 1:30:29Now finally you will have this. So you
  2019. 1:30:32will give this prompt to the large
  2020. 1:30:36language model. Just a moment.
  2021. 1:30:42Yes, you will give
  2022. 1:30:46this prompt to the large language model.
  2023. 1:30:48Please observe this very carefully.
  2024. 1:30:50Answer the question using the context
  2025. 1:30:52below. This is the context. So, chunk
  2026. 1:30:54one, chunk two, whatever has been
  2027. 1:30:56retrieved from there. Whatever
  2028. 1:30:57information, okay, that information in
  2029. 1:31:00the text form, it will be written there.
  2030. 1:31:03Plus this is the question from the user
  2031. 1:31:05which is the query which is this
  2032. 1:31:08how has Tesla performed in the last
  2033. 1:31:09quarter
  2034. 1:31:11right and then eventually you are going
  2035. 1:31:13to go ahead and get give this prompt
  2036. 1:31:16to the large language model cloud
  2037. 1:31:18Germany or anything and then you are
  2038. 1:31:19going to go ahead and get your answer.
  2039. 1:31:21This is rag in a nutshell. So we first
  2040. 1:31:24create a vector knowledge base
  2041. 1:31:28then we get a query. We match that query
  2042. 1:31:31for all the similar terms in the vector
  2043. 1:31:32database. Then we get all the
  2044. 1:31:35information. We create a prompt. Then we
  2045. 1:31:36send it to the LLM and then we get the
  2046. 1:31:38answer. So now with rag what happens is
  2047. 1:31:42you do not have to store all this
  2048. 1:31:43information into your model or in the
  2049. 1:31:47context. You can just cherrypick the
  2050. 1:31:49information that is very relevant to
  2051. 1:31:51that particular information the prompt
  2052. 1:31:53and then you can get all the information
  2053. 1:31:54at once.
  2054. 1:31:56Okay, everyone a quick yes or no if you
  2055. 1:32:00are able to understand this.
  2056. 1:32:08Amazing. Great. Super.
  2057. 1:32:14Yes, people are not able to understand.
  2058. 1:32:16uh if you just go ahead and uh submit
  2059. 1:32:19the feedback form in the last like in
  2060. 1:32:22the next 10 minutes I will give you the
  2061. 1:32:24recording so that you can go ahead and
  2062. 1:32:25do a revision. Cool.
  2063. 1:32:28Yes.
  2064. 1:32:32Cool. Uh guys, tokens and embeddings are
  2065. 1:32:34different. Embedding is actually a
  2066. 1:32:38meaningful representation of that
  2067. 1:32:40particular sentence. Okay. But token is
  2068. 1:32:43just let's say a vocabulary. Okay. It is
  2069. 1:32:47just a numerical representation of
  2070. 1:32:49particular word. Okay. Now this is rag.
  2071. 1:32:53Now in order to help you understand
  2072. 1:32:55better I have created a small app that I
  2073. 1:32:58have white coded very recently. Let me
  2074. 1:33:00show it to you.
  2075. 1:33:08Yes. So this is a simple rag process
  2076. 1:33:11visualizer
  2077. 1:33:13which I created in just 10 minutes using
  2078. 1:33:16cursor and chat GPD. Okay. And in the
  2079. 1:33:18program that we offer at LOPM, we are
  2080. 1:33:20going to teach you how to do all of
  2081. 1:33:21this. Okay. So let me show you what
  2082. 1:33:24happens in that. So I've told you that
  2083. 1:33:26in DAG, what happens? You have a piece
  2084. 1:33:28of information. You first convert it
  2085. 1:33:30into chunks, right? After that you
  2086. 1:33:33create embeddings.
  2087. 1:33:35After that you convert it into and save
  2088. 1:33:37it to vector.
  2089. 1:33:39And once the vector is created, you are
  2090. 1:33:41going to write a query,
  2091. 1:33:43you are going to write a query and then
  2092. 1:33:46from that query, you are going to match
  2093. 1:33:48what are the matching chunks, how many
  2094. 1:33:49chunks you want to match and then you
  2095. 1:33:51will go ahead and compose the query as
  2096. 1:33:53in the prompt is going to be composed
  2097. 1:33:55and then you will generate the answer.
  2098. 1:33:57Okay. So let us see how it works. So I
  2099. 1:34:00will take this thing. So I have written
  2100. 1:34:02like a this log a very long time ago. So
  2101. 1:34:05let me go ahead and do this.
  2102. 1:34:07So I have taken this piece of
  2103. 1:34:09information. Let's say till this I can
  2104. 1:34:11take any kind of information.
  2105. 1:34:14I will go to this. I will paste this
  2106. 1:34:17content.
  2107. 1:34:18Now the chunk size is 350 which is it is
  2108. 1:34:22going to take 350 characters in a
  2109. 1:34:24particular chunk and the overlap of 80
  2110. 1:34:27which is the there would be overlap of
  2111. 1:34:3080 characters between the first and the
  2112. 1:34:31second and the third chunk. Okay. So I
  2113. 1:34:34will just go ahead and create chunk
  2114. 1:34:36document.
  2115. 1:34:38Now look at this chunks are created.
  2116. 1:34:40This is the first chunk. This is the
  2117. 1:34:43second chunk. This is the third chunk.
  2118. 1:34:46This is the four chunks. Understand this
  2119. 1:34:49chunk was removed here. So it is in this
  2120. 1:34:52detail 4,000 words guide setting the
  2121. 1:34:54context how to build then rather than
  2122. 1:34:56how. Okay. So now there is overlap in
  2123. 1:34:58this chunk. So 50 characters are over
  2124. 1:34:59overlapped so that all the chunks have a
  2125. 1:35:02meaningful information. So now we have
  2126. 1:35:04created the chunks.
  2127. 1:35:07Okay. So what is chunking? Breaking down
  2128. 1:35:10information into smaller parts so that
  2129. 1:35:11they are meaningful and smaller enough.
  2130. 1:35:13Okay. Understand? You cannot use the
  2131. 1:35:16same chunking method methodology for
  2132. 1:35:18every application. If you're using rag
  2133. 1:35:21for code in order to retrieve code and
  2134. 1:35:23in order to generate code the chunking
  2135. 1:35:25has to be done mostly at the functional
  2136. 1:35:27level. If you are creating for a book
  2137. 1:35:30then maybe it can be done at a chapter
  2138. 1:35:31level. If you're doing it for a meeting
  2139. 1:35:33it can be done at a maybe uh at a
  2140. 1:35:36paragraph level. So chunking depends
  2141. 1:35:38upon the product that you are creating
  2142. 1:35:39and tomorrow I'm going to tell you an
  2143. 1:35:40evaluation that is how to decide your
  2144. 1:35:42chunking strategy. Okay. So this is
  2145. 1:35:44chunk. Now I will create embeddings.
  2146. 1:35:46I'll create on embeddings
  2147. 1:35:48and then the embeddings are created.
  2148. 1:35:50Okay. So if I look at this these are the
  2149. 1:35:51embeddings guys.
  2150. 1:35:54These are the embeddings. Okay. Okay. So
  2151. 1:35:56for every chunk I have created vector
  2152. 1:35:59embeddings. Okay. And this graph that
  2153. 1:36:01you are able to see let me zoom it up a
  2154. 1:36:04bit.
  2155. 1:36:09So this graph that you are able to see
  2156. 1:36:10is a representation of the vector. Now I
  2157. 1:36:13will press the next button
  2158. 1:36:16to save to vector DB and then it will be
  2159. 1:36:18saved locally. Okay. This is not
  2160. 1:36:21connected to any server. So this is
  2161. 1:36:22going to be saved locally. And after
  2162. 1:36:25this,
  2163. 1:36:29yes. And after this
  2164. 1:36:32I will write a query. The query is
  2165. 1:36:37what is AI
  2166. 1:36:39product
  2167. 1:36:41management.
  2168. 1:36:43Okay. And I want to retrieve three
  2169. 1:36:45chunks. Retrieve relevant chunks. And
  2170. 1:36:48then these are the chunks.
  2171. 1:36:52So these chunks because there is product
  2172. 1:36:54management and all it is is being
  2173. 1:36:57accessed here. So these are the most
  2174. 1:36:59relevant piece of information that I
  2175. 1:37:00need to store here. So this is chunk
  2176. 1:37:02number eight, chunk number two, chunk
  2177. 1:37:04number three. If I click on this, I'll
  2178. 1:37:05be able to see the complete chunk. Okay,
  2179. 1:37:08this is the cosine which is how distant
  2180. 1:37:12these things are from each other and
  2181. 1:37:13from my vector.
  2182. 1:37:15Okay. And then eventually what I'll do
  2183. 1:37:17is I'll just create on compost query.
  2184. 1:37:21Now the query is composed.
  2185. 1:37:23And this is the query. Answer the
  2186. 1:37:25following query based on only the
  2187. 1:37:27provided data. User query. What is data
  2188. 1:37:29product management? What is I product
  2189. 1:37:31management? And these are
  2190. 1:37:33these are the chunks three chunks.
  2191. 1:37:37Okay. And then when I click on this,
  2192. 1:37:39this will be sent to a large language
  2193. 1:37:41model and then I'll get the answer. But
  2194. 1:37:42I have not connected the LM because I
  2195. 1:37:44don't want to pay. And then we have this
  2196. 1:37:46answer. Okay. But I can always go ahead
  2197. 1:37:48and put my open AI key here API key in
  2198. 1:37:51order to do this. Then the answer would
  2199. 1:37:53be generated.
  2200. 1:37:56Okay. Everyone tell me on a scale of 1
  2201. 1:37:58to five if you're able to understand rag
  2202. 1:38:00now.
  2203. 1:38:03Cool.
  2204. 1:38:12Wonderful.
  2205. 1:38:15People who are four, I would recommend
  2206. 1:38:16you to watch the recording once more and
  2207. 1:38:18then you'll be able to understand.
  2208. 1:38:23Yes.
  2209. 1:38:25Cool. So, this was about rag. Super
  2210. 1:38:26important concept everyone needs to
  2211. 1:38:28understand. It will also improve your
  2212. 1:38:30problem solving capabilities. Now, the
  2213. 1:38:31next part is
  2214. 1:38:33prompt engineering. Okay. So guys, I'll
  2215. 1:38:37only take 10 more minutes and then I
  2216. 1:38:41will share the feedback form. So if you
  2217. 1:38:42have been here in this session for so
  2218. 1:38:44long, please remain for another 10
  2219. 1:38:45minutes so that we can share the
  2220. 1:38:47feedback form and you can learn the
  2221. 1:38:48prompt engineering as well. Okay.
  2222. 1:38:55Yes.
  2223. 1:38:59Cool. So now we'll talk about prompting.
  2224. 1:39:02So understand guys,
  2225. 1:39:05you need to understand how to give
  2226. 1:39:07instructions to your model.
  2227. 1:39:10In order to give the right data, you
  2228. 1:39:11have understood you have to use rag.
  2229. 1:39:14But in order to give instructions, you
  2230. 1:39:16need to understand that you need to
  2231. 1:39:17learn prompt engineering. Prompt
  2232. 1:39:19engineering, no matter what the world
  2233. 1:39:21says, it is a super important skill in
  2234. 1:39:23today's world. Okay? because you are
  2235. 1:39:27using let's say AI and LLMs for so much
  2236. 1:39:32of your time in a day. It is worth
  2237. 1:39:34investing a couple of hours in order to
  2238. 1:39:36learn prompt engineering and also if you
  2239. 1:39:39are working as a product manager as an
  2240. 1:39:41AI product manager prompt engineering is
  2241. 1:39:44your way to interact with the LLMs.
  2242. 1:39:47Okay. So it is worth investing few hours
  2243. 1:39:49of your time in order to build great
  2244. 1:39:51products. Okay. So this is also a guide
  2245. 1:39:53on prompt engineering. So understand
  2246. 1:39:56this products such as Fireflaws,
  2247. 1:39:57Firefly, Gong, Granola which are almost
  2248. 1:40:00a billion dollar companies or at least
  2249. 1:40:02multi-million dollar companies. They are
  2250. 1:40:03based on these kind of prompts. So you
  2251. 1:40:05should know how to learn these prompts
  2252. 1:40:07and I'm going to go ahead and give you
  2253. 1:40:09some I'll also share this guide with
  2254. 1:40:11you. But right now let me share with you
  2255. 1:40:13few tips to improve the prompt.
  2256. 1:40:17Okay. So right now everyone
  2257. 1:40:21tell me out of 1 to5 how would you rate
  2258. 1:40:23yourself on your prompt engineering
  2259. 1:40:24skills? How would you rate yourself on a
  2260. 1:40:27scale of 1 to five on your prompt
  2261. 1:40:28engineering skills?
  2262. 1:40:31Three. Don't give yourself three. Three
  2263. 1:40:33is a very diplomatic answer.
  2264. 1:40:44Yes.
  2265. 1:40:46Many modest answers. Yes. any
  2266. 1:40:49reflective answers. Okay. So, first of
  2267. 1:40:50all is first is please take a step back.
  2268. 1:40:54So, I'll not give you a very uh
  2269. 1:40:55exhaustive guide that you're not able to
  2270. 1:40:57even read.
  2271. 1:40:59I'll give you a very simple guide and
  2272. 1:41:01this guide follows the parto principle.
  2273. 1:41:03If you invest what is like if you learn
  2274. 1:41:06these 20% of the skills as a prompt
  2275. 1:41:08engineer 80% of your efforts like
  2276. 1:41:10problems are going to get solved. The
  2277. 1:41:12first piece of advice is please take a
  2278. 1:41:15step back. Okay, understand the value of
  2279. 1:41:19prompts.
  2280. 1:41:21What happens is the unfortunate reality
  2281. 1:41:23is that when you go to chat GPT or
  2282. 1:41:28Gemini when you give it an very awful
  2283. 1:41:31prompt, it will still be able to give
  2284. 1:41:34you an answer most of the time because
  2285. 1:41:37it has given you an answer. Okay, answer
  2286. 1:41:39you go ahead and move forward from there
  2287. 1:41:42and then you start working on whatever
  2288. 1:41:43you are working on. Okay. But understand
  2289. 1:41:45always remember
  2290. 1:41:48in many phrases in many places in your
  2291. 1:41:51life
  2292. 1:41:54good
  2293. 1:41:56can be the enemy of best.
  2294. 1:42:00Okay. In many places in your life
  2295. 1:42:03good
  2296. 1:42:05can be the
  2297. 1:42:07enemy
  2298. 1:42:09of best. which means you have to
  2299. 1:42:13understand and recognize what is the
  2300. 1:42:15value of this task and is it worth
  2301. 1:42:17investing a couple of more minutes or
  2302. 1:42:19five seven more minutes in order to
  2303. 1:42:21write this prompt well. Okay. So the
  2304. 1:42:23first advice that I have for you is
  2305. 1:42:25please take a step back and understand
  2306. 1:42:27if it is worth investing time in that
  2307. 1:42:29particular prompt if it is giving you
  2308. 1:42:30that many results. Okay. The second part
  2309. 1:42:33is right role. Whenever you go ahead and
  2310. 1:42:36start using an NLM please try to give it
  2311. 1:42:38a role. role means try to say it, try to
  2312. 1:42:40tell it that act as a person with 160
  2313. 1:42:46plus IQ or act as a seasoned product
  2314. 1:42:49manager
  2315. 1:42:50or act as someone who is a seasoned
  2316. 1:42:54psychological therapist. Right? So give
  2317. 1:42:57these personas to the LLM so that it is
  2318. 1:43:00able to perform well. If you want to
  2319. 1:43:02experiment, you can share two prompts
  2320. 1:43:04with chat GPT or china or anything. In
  2321. 1:43:06one give a very like give it a very
  2322. 1:43:09solid persona in one don't give it a
  2323. 1:43:10persona. You'll be able to observe the
  2324. 1:43:12answers.
  2325. 1:43:14Right? So the first piece of advice is
  2326. 1:43:15please give it a right. The second piece
  2327. 1:43:18of advice is please write the output
  2328. 1:43:21expectation. Output expectation as in
  2329. 1:43:25you want JSON as an output. You want a
  2330. 1:43:28table. You want to make sure that these
  2331. 1:43:30mistakes are not repeated. Please write
  2332. 1:43:32it explicitly. You have to be very very
  2333. 1:43:34specific. If you're not specific, it is
  2334. 1:43:36going to do anything and then you cannot
  2335. 1:43:37go ahead and control it. Right? The
  2336. 1:43:40third part is multistep. Multistep means
  2337. 1:43:44rather than telling your large language
  2338. 1:43:46model to give you answer at once, ask it
  2339. 1:43:49to think in a step and give you a
  2340. 1:43:50step-by-st answer. If you know the step,
  2341. 1:43:52you can tell it the step. If you do not
  2342. 1:43:53know the step, go ahead and ask it to
  2343. 1:43:56tell you the step. For example, rather
  2344. 1:43:58than asking chat GPD that how would I
  2345. 1:44:00improve this product LinkedIn, I would
  2346. 1:44:02ask it that I want to improve LinkedIn.
  2347. 1:44:05Please follow these steps in order to
  2348. 1:44:06suggest me the improvements. First
  2349. 1:44:08understand who are the different users.
  2350. 1:44:10Then understand their important
  2351. 1:44:12problems. Then give me what are the uh
  2352. 1:44:15what are the top priorized three
  2353. 1:44:16problems. Then give me the solution of
  2354. 1:44:18these problems. Then prioritize these
  2355. 1:44:20problems and prioritize the solution and
  2356. 1:44:22then give me a particular solution. Now
  2357. 1:44:24when you are focus like forcing chat GPD
  2358. 1:44:26to work in this manner you are more
  2359. 1:44:28probably like to get a better answer.
  2360. 1:44:31Okay. So please do the thinking. Let it
  2361. 1:44:34do the thinking in multiple steps. Okay.
  2362. 1:44:37After this give examples. This is also
  2363. 1:44:39called as few short prompting.
  2364. 1:44:43Few short prompting means you are giving
  2365. 1:44:45it few examples.
  2366. 1:44:48You are giving it few examples that this
  2367. 1:44:51is the format that you should follow or
  2368. 1:44:52these are the examples that make sure
  2369. 1:44:54that you are able to go ahead and get
  2370. 1:44:56the right content. Right? And then we
  2371. 1:44:58have constraints. So in example what you
  2372. 1:45:01can do is whenever you are writing any
  2373. 1:45:04piece of blog or any piece of article
  2374. 1:45:06that you want to learn from
  2375. 1:45:09go ahead copy the best author that you
  2376. 1:45:13know copy their blog and then give it to
  2377. 1:45:15Chad Gigi. Okay. For example, what I do
  2378. 1:45:18is whenever I write some piece of
  2379. 1:45:19content because I have put a lot of
  2380. 1:45:22efforts in writing this particular
  2381. 1:45:24guide, I copy this guide and I go to
  2382. 1:45:27chat GPT and I ask that go ahead. So let
  2383. 1:45:29me show it to you.
  2384. 1:45:33So this is Chad GPT. I am asking Chad
  2385. 1:45:35GPT to write a detailed
  2386. 1:45:39article on AI
  2387. 1:45:44on
  2388. 1:45:45mistakes that people make while learning
  2389. 1:45:51AI product management.
  2390. 1:45:57Right now we will see the output.
  2391. 1:46:05Yes. So you can see that it is writing.
  2392. 1:46:08It is doing like a pretty interesting
  2393. 1:46:10job, right?
  2394. 1:46:16In the meanwhile, I'll also open a new
  2395. 1:46:18chat.
  2396. 1:46:26Right? So it has written this. You can
  2397. 1:46:28see that it is uh well created. This is
  2398. 1:46:30point number one. Point number two,
  2399. 1:46:32point number three, four, this, this,
  2400. 1:46:35this, this, this. Right? I'm still
  2401. 1:46:38writing. Right? This is good one. Right?
  2402. 1:46:40Now, what I'll do is I will copy this
  2403. 1:46:42article.
  2404. 1:46:46I will copy this complete article.
  2405. 1:46:50Maybe a Ctrl C.
  2406. 1:46:57Right. So, okay.
  2407. 1:47:01First I'll go to this
  2408. 1:47:10then I will write. So I've written the
  2409. 1:47:11sim similar prompt. Now I'm writing
  2410. 1:47:14make sure to follow the similar
  2411. 1:47:20structure
  2412. 1:47:26voice and helpfulness.
  2413. 1:47:30from this example.
  2414. 1:47:34Okay. And I can go ahead and either I
  2415. 1:47:36can go ahead and uh give it the link. It
  2416. 1:47:39will be able to crawl the link or I can
  2417. 1:47:40just go ahead to be
  2418. 1:47:43assured I can go ahead and give it
  2419. 1:47:47this content.
  2420. 1:47:49Okay.
  2421. 1:47:50So now I have given an example. Let us
  2422. 1:47:52see how it works.
  2423. 1:48:01Yes. Now you look at this. Okay. Rather
  2424. 1:48:05than straight away jumping to what you
  2425. 1:48:08should do, what you should not do,
  2426. 1:48:09rather than straight away jumping to
  2427. 1:48:11actionable, it is first setting the
  2428. 1:48:12context. Why do you need this? This is a
  2429. 1:48:15quick context and then it is able to
  2430. 1:48:17give you
  2431. 1:48:20multiple mistakes and then how you can
  2432. 1:48:21go ahead and avoid these mistakes.
  2433. 1:48:25Right? This is a slightly better
  2434. 1:48:27structure than you could have got in the
  2435. 1:48:29first way. So this is called as few
  2436. 1:48:32short prompting where you give examples
  2437. 1:48:36to your large language model as in how
  2438. 1:48:37they should operate.
  2439. 1:48:39Right? And
  2440. 1:48:42the other part is the similar example
  2441. 1:48:44which is constraints.
  2442. 1:48:46Please give constraints. Constraint as
  2443. 1:48:49in be helpful like this. Okay. Or
  2444. 1:48:52constraint as in if you want constraint
  2445. 1:48:54in terms of
  2446. 1:48:56what do we call it? If you want large
  2447. 1:48:59language model to not do something then
  2448. 1:49:01you should always include them as
  2449. 1:49:03explicit constraints. Okay. For example,
  2450. 1:49:06sometimes large language models assume a
  2451. 1:49:09lot. Large language models actually
  2452. 1:49:12assume a lot.
  2453. 1:49:15Large language models assume a lot. So
  2454. 1:49:17you can go ahead and tell them that
  2455. 1:49:18please do not assume only take check the
  2456. 1:49:21information that is available in this
  2457. 1:49:23context that I have shared with you.
  2458. 1:49:25Similarly, you'll understand more about
  2459. 1:49:27constant when we talk about iteration.
  2460. 1:49:28So understand prompt engineering is
  2461. 1:49:31called engineering. Prompt engineering
  2462. 1:49:33is called engineering because it is
  2463. 1:49:35iterations
  2464. 1:49:37which is you tweak your way around. You
  2465. 1:49:39give it a prompt. You understand that I
  2466. 1:49:42got the output but the output does not
  2467. 1:49:44follow these rules or the output is not
  2468. 1:49:47good in this particular way. So you are
  2469. 1:49:49going to understand the output and then
  2470. 1:49:51you are going to give it the constraint
  2471. 1:49:52that boss make sure that you are not
  2472. 1:49:54taking unnecessary assumptions. Make
  2473. 1:49:57sure that you are not using examples
  2474. 1:49:59which are let's say very much vague or
  2475. 1:50:02generic. Use specific examples. Okay. So
  2476. 1:50:05when you go ahead and apply all of these
  2477. 1:50:07steps and when you keep on iterating
  2478. 1:50:10on top of all of these six steps you are
  2479. 1:50:14going to learn how to design better
  2480. 1:50:16products.
  2481. 1:50:17Okay. Now even after I give you all of
  2482. 1:50:20this I know that most of the people are
  2483. 1:50:22lazy and they are not going to follow
  2484. 1:50:23this. So now I'm going to give you a
  2485. 1:50:25prompt guide for busy people. Okay. So
  2486. 1:50:28four things that everyone should learn
  2487. 1:50:30and then we are going to wrap up the
  2488. 1:50:31session. First is please build a prompt
  2489. 1:50:33directory. Whenever you come across good
  2490. 1:50:36prompts have a notion document or a
  2491. 1:50:38Google doc where you are storing all of
  2492. 1:50:39these things. Okay? So that you don't
  2493. 1:50:41have to find your way through good
  2494. 1:50:43prompts every time. Right? Second is
  2495. 1:50:45quick shortcuts. Okay? Keep a bookmark
  2496. 1:50:49where you are able to access this
  2497. 1:50:51library as soon as possible. So what I
  2498. 1:50:53do is whenever I want to write something
  2499. 1:50:56I do not want to find a writing pad.
  2500. 1:50:57What I do is I just click on this new
  2501. 1:50:59tab and then I have all of my notes from
  2502. 1:51:02notion available here.
  2503. 1:51:05Okay, Chrome new tab is the name of the
  2504. 1:51:07extension and then it is going to load
  2505. 1:51:08here. Right now I think notion is down
  2506. 1:51:10so it is not loading but now it has
  2507. 1:51:11loaded. Okay, so all of my notes and
  2508. 1:51:14everything is here. So what I've done is
  2509. 1:51:16I have set up a Chrome extension where
  2510. 1:51:18whenever I click on this new tab button
  2511. 1:51:20it will automatically load my dashboard.
  2512. 1:51:22so that I don't have to run here and
  2513. 1:51:23there. I can just go ahead and click on
  2514. 1:51:25this and then I can start writing my
  2515. 1:51:26notes and my prompt directory is also
  2516. 1:51:28there. Right?
  2517. 1:51:31The other piece of advice is use a
  2518. 1:51:34prompt manager. Okay? So there are
  2519. 1:51:36multiple prompt managers. You can use
  2520. 1:51:38any one of them. And you can also use
  2521. 1:51:41this prompt wild card. Okay. If you are
  2522. 1:51:43too lazy to write your own prompt, you
  2523. 1:51:45can also get this wild card which is
  2524. 1:51:47analyze the following prompt idea.
  2525. 1:51:51Analyze the following prompt idea.
  2526. 1:51:53Insert prompt here. Rewrite the prompt
  2527. 1:51:55for clarity and effectiveness. Identify
  2528. 1:51:57potential improvements or additions.
  2529. 1:51:59Refine the prompt based on identified
  2530. 1:52:00improvements. Present the final
  2531. 1:52:02optimizing prompt. Okay. And also there
  2532. 1:52:05is a prompt
  2533. 1:52:08creator from anthropic. Okay. So there
  2534. 1:52:11is a prompt creator called as
  2535. 1:52:15anropic
  2536. 1:52:19prompt
  2537. 1:52:21creator. Okay, where you can go ahead
  2538. 1:52:24and create prompts. So it would be
  2539. 1:52:27somewhere or have to login in order to
  2540. 1:52:29see this. But you should be able to go
  2541. 1:52:31ahead and generate this from cloud
  2542. 1:52:32console.
  2543. 1:52:34Okay. Once you log in, it will give you
  2544. 1:52:36a prompt uh creator so that you can go
  2545. 1:52:37ahead and create your own prompts which
  2546. 1:52:39are much better than what you would have
  2547. 1:52:40gone ahead and written by yourself.
  2548. 1:52:43Okay. So this is about
  2549. 1:52:46the guide to prompt engineering for busy
  2550. 1:52:48people. Now in tomorrow's session what
  2551. 1:52:50we'll do is we will talk about notebook
  2552. 1:52:54LM how does it works. We will talk take
  2553. 1:52:57the similar kind of case studies. We'll
  2554. 1:52:58detail it enough. Then we'll talk about
  2555. 1:53:00fine-tuning. Then we'll talk about how
  2556. 1:53:03to choose between fine-tuning, prompt
  2557. 1:53:04engineering and rag. And then we'll talk
  2558. 1:53:06about AI agents. Then I'll give you how
  2559. 1:53:09products such as lovable, bolt,
  2560. 1:53:10emergent, and visero works. And then we
  2561. 1:53:13are going to go ahead and talk about
  2562. 1:53:15MCPS. And then eventually I'll give you
  2563. 1:53:17some examples of how to write AI
  2564. 1:53:19evaluations. Okay, this is going to be
  2565. 1:53:21tomorrow. But guys understand whatever
  2566. 1:53:23I'm telling you in these two sessions
  2567. 1:53:26this is just 10% of what we offer in our
  2568. 1:53:30bigger program at hello. Okay. So at
  2569. 1:53:32hello we have created the world's most
  2570. 1:53:35detailed AI product management program.
  2571. 1:53:39Okay. If you want to understand anything
  2572. 1:53:40about the program just go to this
  2573. 1:53:42website called hellopm.co
  2574. 1:53:44click on this video and then I'll
  2575. 1:53:45explain you what that content is. Okay.
  2576. 1:53:48This is the most detailed, the most
  2577. 1:53:51practical and the most long-term support
  2578. 1:53:53AI product management program that you
  2579. 1:53:54can find. The content that I've told you
  2580. 1:53:56today is just 10% of what we teach in
  2581. 1:53:58the program just in the first two
  2582. 1:53:59classes. We will make sure that tomorrow
  2583. 1:54:01you'll get a much more power pack
  2584. 1:54:04session. So thank you everyone. Bye and
  2585. 1:54:07take care. If you have any queries, you
  2586. 1:54:08can use the same form to publish these
  2587. 1:54:09queries. Tomorrow we are going to meet
  2588. 1:54:11at the same time. Make sure that you
  2589. 1:54:13also go ahead and bring your friends.
  2590. 1:54:15Thank you everyone. Bye and take care.
  2591. 1:54:16You have been a great audience. I hope
  2592. 1:54:18you got some value from this session and
  2593. 1:54:19the two hours that you have invested.
  2594. 1:54:21We'll meet everyone tomorrow. Thank you
  2595. 1:54:24everyone. Take care. Today is the day
  2596. 1:54:26two of AI product management masterass
  2597. 1:54:30and we are going to give you almost
  2598. 1:54:32everything that you need to get started
  2599. 1:54:34in your journey as an AI product
  2600. 1:54:36manager. This is the foundation. Now you
  2601. 1:54:39can go ahead and explore the whole
  2602. 1:54:41canvas in order to go into detail. But
  2603. 1:54:44these are the major building blocks that
  2604. 1:54:45you need to absolutely know if you
  2605. 1:54:47really want to call yourself as an AI
  2606. 1:54:49product management enthusiast. Right?
  2607. 1:54:52And because AI product management is so
  2608. 1:54:54new, even if you are coming from a very
  2609. 1:54:56senior background or you are just
  2610. 1:54:58aspiring to be a product manager just
  2611. 1:55:00straight out straight out of college,
  2612. 1:55:02this content is going to be equally
  2613. 1:55:04useful for you. So yesterday what we
  2614. 1:55:06have done, we have talked about the
  2615. 1:55:08agenda. I talked to you about what is
  2616. 1:55:09the GI revolution. lot of companies are
  2617. 1:55:12building value on the top of this geni
  2618. 1:55:13revolution then even in our normal lives
  2619. 1:55:16AI has found its way right
  2620. 1:55:21yes
  2621. 1:55:23cool
  2622. 1:55:25I will stop the chat for some time so
  2623. 1:55:27that you guys are not getting distracted
  2624. 1:55:29yes cool so AI has also found the way
  2625. 1:55:34onto our daily lives and almost every
  2626. 1:55:37day we are using chat GPT or Gemini or
  2627. 1:55:39some of the other AI tools tools in
  2628. 1:55:41order to make ourselves more productive
  2629. 1:55:42and grow the impact of our work. Right?
  2630. 1:55:45And then I talked about the most
  2631. 1:55:49fundamental unit why this AI boom has
  2632. 1:55:52started which is because of a particular
  2633. 1:55:54technology called large language models.
  2634. 1:55:57These large language models, these large
  2635. 1:55:59language models are algorithms that are
  2636. 1:56:02trained on massive amount of text and
  2637. 1:56:05they have learned the patterns of
  2638. 1:56:07language really well and they are now
  2639. 1:56:09acting as the brain of the computers.
  2640. 1:56:12And now what is happening? They are
  2641. 1:56:13enabling us to understand, generate and
  2642. 1:56:16reason with natural language by
  2643. 1:56:17predicting the next token most likely or
  2644. 1:56:19the token in the context. And I have
  2645. 1:56:20told you yesterday how all of these
  2646. 1:56:22things actually work. I have given you
  2647. 1:56:24the whole architecture of what an LLM
  2648. 1:56:26is. The content is like you will go
  2649. 1:56:28ahead and take all the content as a
  2650. 1:56:30training data from the internet. You
  2651. 1:56:32will break it down into input and
  2652. 1:56:33output. Then you are going to tokenize
  2653. 1:56:36it. You are going to send the input from
  2654. 1:56:37here. The neural network or the
  2655. 1:56:40transformer is going to predict the next
  2656. 1:56:42token. And then whatever is the right
  2657. 1:56:44token from the uh training data, you are
  2658. 1:56:46going to compare it. Then whatever is
  2659. 1:56:48the difference, the feedback is going to
  2660. 1:56:49be sent to the transformer again. And
  2661. 1:56:51then it will keep on iterating. When
  2662. 1:56:53this cycle happens billions and
  2663. 1:56:54trillions of time, you will have a very
  2664. 1:56:57mature model, right? But this model is
  2665. 1:57:00only a base model. It is trained on some
  2666. 1:57:04random data from the internet. So it it
  2667. 1:57:06has certain kind of biases. It
  2668. 1:57:07hallucinates a lot. So what we do is we
  2669. 1:57:10go ahead and do something called as post
  2670. 1:57:12training. Questioning means we are going
  2671. 1:57:14to have some human labelers or we are
  2672. 1:57:17going to have some data analytors who
  2673. 1:57:18are going to give some specific input
  2674. 1:57:21and output maybe in this particular
  2675. 1:57:24format.
  2676. 1:57:26Wait.
  2677. 1:57:32Yes. Maybe in this particular format
  2678. 1:57:35where
  2679. 1:57:37we are going to insert this kind of data
  2680. 1:57:39like well articulated inputs and well
  2681. 1:57:41articulated outputs so that the human
  2682. 1:57:44can the uh uh algorithm can go ahead and
  2683. 1:57:47learn from the same. Okay. This is
  2684. 1:57:49called a supervised learning. And one
  2685. 1:57:51part of that learning is also called
  2686. 1:57:52reinforcement learning through human
  2687. 1:57:54feedback which is humans are telling how
  2688. 1:57:57what is correct and what is incorrect.
  2689. 1:57:59Right? Humans are reinforcing the
  2690. 1:58:00correct things by giving the rewards to
  2691. 1:58:02the LLM. Now after that
  2692. 1:58:05we talk about the genai value stack. So
  2693. 1:58:08there is multiple kind of values. For
  2694. 1:58:09example there are companies who are
  2695. 1:58:11creating infrastructure such as these
  2696. 1:58:12big Nvidia and Google. Then there are
  2697. 1:58:14company who are creating the models. You
  2698. 1:58:16know about anthropic and open AI. Then
  2699. 1:58:18there are companies who are building on
  2700. 1:58:21top of these large language models. This
  2701. 1:58:23is where most of the value unlock is.
  2702. 1:58:25And then we have companies and people
  2703. 1:58:27who are actually using these AI tools in
  2704. 1:58:29order to make their clients happy, solve
  2705. 1:58:32their problems and also solve their own
  2706. 1:58:34problems. Right? And then I discussed
  2707. 1:58:37about type of AI PMs. Everyone who is
  2708. 1:58:39using AI is AI enabled PM AI tools such
  2709. 1:58:41as chat GPD and all. Anyone who is using
  2710. 1:58:43AI tools is a AI enabled PM. And then we
  2711. 1:58:46have other type of PM which are more
  2712. 1:58:47serious PMs. These are PMs who are
  2713. 1:58:50either working on core technologies such
  2714. 1:58:52as databases, models, infrastructure and
  2715. 1:58:54then there are people who are working on
  2716. 1:58:56the application layer and these are
  2717. 1:58:58people who are actually using these LLMs
  2718. 1:58:59and models and everything in order to
  2719. 1:59:01build some truly AI products. Agents are
  2720. 1:59:04one of the examples. Chat GP is one of
  2721. 1:59:06the examples. Grammarly is one of the
  2722. 1:59:08example. Lovable is one of the examples.
  2723. 1:59:10So if you are building these products
  2724. 1:59:12not building with these product you are
  2725. 1:59:13building these products then you are an
  2726. 1:59:15applied AIPM and the purpose of this
  2727. 1:59:17session is to help you understand the
  2728. 1:59:19core AIPM part and the applied AIPM
  2729. 1:59:21part. Okay, for this part we have
  2730. 1:59:23already uploaded a lot of content
  2731. 1:59:25on our YouTube channel that you can see
  2732. 1:59:28right then
  2733. 1:59:31I talked about
  2734. 1:59:33how this application these meeting
  2735. 1:59:36assistant such as granola works okay and
  2736. 1:59:38not only granola but if you take any of
  2737. 1:59:40the meeting assistant such as fireflies
  2738. 1:59:42fed them or anything everyone works in a
  2739. 1:59:44similar format the format is whenever
  2740. 1:59:47you want to
  2741. 1:59:49create a product as a product manager
  2742. 1:59:51manager understand please do not look
  2743. 1:59:53only from the engineering or the AI
  2744. 1:59:55angle. You are the product manager who
  2745. 1:59:58is responsible to bring the user
  2746. 2:00:00outcomes and the business outcomes. So
  2747. 2:00:02please look at these five things. The
  2748. 2:00:04first thing is what is the value that is
  2749. 2:00:06being generated for the users? Why would
  2750. 2:00:08the users use it? Second is what is the
  2751. 2:00:10business value that is generated. Then
  2752. 2:00:12there is how do you make design so
  2753. 2:00:14intuitive that people are able to use it
  2754. 2:00:16easily and then how it is feasible with
  2755. 2:00:19the help of engineering. So all the
  2756. 2:00:21system architecture is going to come
  2757. 2:00:22here and then growth and adoption. In
  2758. 2:00:24granular we knew that this product helps
  2759. 2:00:27us save time by recording our meetings
  2760. 2:00:30and sending us the summary. How does it
  2761. 2:00:33helps a business? The business should
  2762. 2:00:35invest in granular in creating granular
  2763. 2:00:37because there is a large opportunity in
  2764. 2:00:39meeting apps. So it is going to make
  2765. 2:00:41money. Similarly, how do we make this
  2766. 2:00:43intuitive to the users? By making the
  2767. 2:00:45design very intuitive. How do we make it
  2768. 2:00:47intuitive? We make the design intuitive
  2769. 2:00:49by making sure that just after logging
  2770. 2:00:52and connecting connecting granular
  2771. 2:00:54fireflies. You don't have to do
  2772. 2:00:55anything. Whenever a meeting is
  2773. 2:00:57scheduled, it is automatically going to
  2774. 2:00:59join that meeting. It is automatically
  2775. 2:01:01going to generate the summary. It is
  2776. 2:01:02automatically going to send the summary
  2777. 2:01:04to everyone who was invited to that
  2778. 2:01:05meeting. Right? With just few clicks,
  2779. 2:01:07you should be able to do so without your
  2780. 2:01:09involvement. So that is the
  2781. 2:01:10intuitiveness. Similarly, how will this
  2782. 2:01:13be engineered? So I have told you about
  2783. 2:01:14this.
  2784. 2:01:15So let's say Zoom and Google meet or any
  2785. 2:01:18kind of platform
  2786. 2:01:21is the place where you are conducting
  2787. 2:01:22this meeting. Then Fireflies or granola
  2788. 2:01:26is going to either use the API for Zoom
  2789. 2:01:29or Google or they are going to do the
  2790. 2:01:33audio capture through a bot. Okay, like
  2791. 2:01:36you can see that there are a lot of bots
  2792. 2:01:38in this meeting who are actually
  2793. 2:01:40recording the meeting on the behalf of
  2794. 2:01:41their administrators. Right? After that
  2795. 2:01:44that audio is captured and then there
  2796. 2:01:46are tools called as audio to text
  2797. 2:01:48transcription machine learning models.
  2798. 2:01:50Right? These models such as whisper by
  2799. 2:01:54open AAI, speech to text by Google, they
  2800. 2:01:57are going to convert the audio into text
  2801. 2:02:00transcription right and then you are
  2802. 2:02:03going to attach a system prompt. So you
  2803. 2:02:05as a product manager of granular is
  2804. 2:02:07going to add a system prompt and then
  2805. 2:02:09you are going to add a transcript. Let
  2806. 2:02:10me show you that system prompt that I
  2807. 2:02:12have shown you yesterday.
  2808. 2:02:17So this is the prompt that you will
  2809. 2:02:20paste. The prompt is very simple. You
  2810. 2:02:21are an expert chief of staff and note
  2811. 2:02:23taker given the following things. Please
  2812. 2:02:24go ahead and summarize
  2813. 2:02:27the summary of the please go ahead and
  2814. 2:02:28summarize the given transcript in this
  2815. 2:02:30particular format.
  2816. 2:02:32Right? So now what will happen? We have
  2817. 2:02:34this sub we have the system prompt
  2818. 2:02:38and then the system prompt is going to
  2819. 2:02:39be combined with the transcript and then
  2820. 2:02:41it will be sent to large language models
  2821. 2:02:45such as Gemini or Google Gemini or open
  2822. 2:02:48uh open AI's APIs right understand this
  2823. 2:02:51is happening at the back end you do not
  2824. 2:02:52know what is happening you are just
  2825. 2:02:53using granular at the back end granular
  2826. 2:02:55is doing all of this and then it will
  2827. 2:02:57generate the summary actionables and the
  2828. 2:02:59task and you can take a next step you
  2829. 2:03:02can make it into an agent
  2830. 2:03:03by actually sending the tasks on a
  2831. 2:03:07calendar on your Jira or on your slack.
  2832. 2:03:10So this is how any application
  2833. 2:03:13which is a note takingaking assistant
  2834. 2:03:15can work right even if you go ahead and
  2835. 2:03:17understand a bit of by coding you can
  2836. 2:03:19also go ahead and create your own
  2837. 2:03:21personal AI meeting assistant. This is
  2838. 2:03:24the simplest architecture that teams
  2839. 2:03:26use, right? And after that we talk about
  2840. 2:03:29a very important part that yes in this
  2841. 2:03:32example we were able to work with prompt
  2842. 2:03:34engineering but how do we go ahead and
  2843. 2:03:37build applications
  2844. 2:03:39which are able to work on the large set
  2845. 2:03:42of data such as data which is on your
  2846. 2:03:44Jira dashboard, data which is on notion
  2847. 2:03:45AI, data which is on stripe.
  2848. 2:03:50So what we do is we cannot let's say I
  2849. 2:03:53have a notion database I want to ask
  2850. 2:03:56some questions on the top of the
  2851. 2:03:57database. So I cannot just go ahead and
  2852. 2:03:59put all of these content in the text in
  2853. 2:04:00the context. Why? Because the LLM is
  2854. 2:04:03going to go out of context and then
  2855. 2:04:06there are researches that are conducted
  2856. 2:04:07which have proven that with increasing
  2857. 2:04:10context the accuracy of the LLM incre
  2858. 2:04:12decreases. With increasing context, the
  2859. 2:04:15accuracy of the LLM decreases. And after
  2860. 2:04:18this, we talked about the simple thing
  2861. 2:04:20that if you have if you are working with
  2862. 2:04:22LLMs, try to make your inputs concise
  2863. 2:04:26otherwise they can go ahead and
  2864. 2:04:27hallucinate too much and they are going
  2865. 2:04:29to run out of context and give you
  2866. 2:04:31irrelevant answers. And then we
  2867. 2:04:33presented you to con context
  2868. 2:04:35engineering. In context engineering, we
  2869. 2:04:37first talk about rag. So what is rag?
  2870. 2:04:41Super simple.
  2871. 2:04:43What we do is rather than putting all
  2872. 2:04:45the documents let's say I want to build
  2873. 2:04:48a functionality where on my notion
  2874. 2:04:51document or on my Google drive I ask a
  2875. 2:04:53question that what is the
  2876. 2:04:57main what are the tasks that I need to
  2877. 2:04:59do tomorrow okay and somewhere in one of
  2878. 2:05:03the PRDs one of the documents it is
  2879. 2:05:05written that I have to do these tasks
  2880. 2:05:06tomorrow okay so in a non ideal scenario
  2881. 2:05:10what will happen I will try to get all
  2882. 2:05:11the content of the Google Drive I will
  2883. 2:05:14put it in the LLM context of the LLM and
  2884. 2:05:16then I'll ask the question among all of
  2885. 2:05:18this content what is something that I
  2886. 2:05:20need to do tomorrow okay and then what
  2887. 2:05:21will happen because it is lot of content
  2888. 2:05:23the LM the LLM is going to run out of
  2889. 2:05:27context so what we'll do is rather than
  2890. 2:05:30going ahead and taking all the data at
  2891. 2:05:32once to the LLM we are going to only
  2892. 2:05:34find the content that is relevant right
  2893. 2:05:36so what we do in the
  2894. 2:05:39what we do here
  2895. 2:05:42We simply go ahead.
  2896. 2:05:45We simply go ahead first whatever data
  2897. 2:05:48that we have we break that data. We
  2898. 2:05:51break that data into chunks.
  2899. 2:05:54And after chunking the data into small
  2900. 2:05:57enough and meaningful chunks, we are
  2901. 2:06:00going to convert it into vector
  2902. 2:06:01embeddings. And after we have converted
  2903. 2:06:03into vector embeddings, we are going to
  2904. 2:06:05store in a vector storage. Once the
  2905. 2:06:07vectors are stored, we will go ahead and
  2906. 2:06:09get the user prompt, find all the
  2907. 2:06:11relevant content from the vector
  2908. 2:06:12storage, then convert it into text and
  2909. 2:06:15then ask this question to the LLM that
  2910. 2:06:19based on these information please try to
  2911. 2:06:21answer this question and then it will
  2912. 2:06:22give you answer answer the question from
  2913. 2:06:24the limited context that you have given.
  2914. 2:06:27Right? And I have also shown you a
  2915. 2:06:28visual example with a rag model that we
  2916. 2:06:31have created like a rag vibe app that we
  2917. 2:06:33have created.
  2918. 2:06:34Right? So this is about rank
  2919. 2:06:39and then we talked about
  2920. 2:06:42prompt engineering. Okay, I have shared
  2921. 2:06:45with you some very simple but very
  2922. 2:06:47effective tips which is try to
  2923. 2:06:48understand the value of prompt
  2924. 2:06:50engineering. Make sure that you are
  2925. 2:06:51giving it the right role so that it is
  2926. 2:06:53more authoritative and you are getting
  2927. 2:06:54the right answers. Then mention the
  2928. 2:06:57output expectation very clearly. give it
  2929. 2:07:00do something called as chain prompting
  2930. 2:07:02where you are going to mention ask the
  2931. 2:07:04LLM to think in steps so that it is able
  2932. 2:07:06to go ahead and give you what is the
  2933. 2:07:07reason behind this thinking and then
  2934. 2:07:09give examples this is called as few
  2935. 2:07:11short prompting when you don't give
  2936. 2:07:13example it is zero short prompting when
  2937. 2:07:15you give example it is few short
  2938. 2:07:16prompting right and then mention the
  2939. 2:07:18constraints understand all of this is
  2940. 2:07:20called as iterations because once you
  2941. 2:07:22give it a prompt you will understand
  2942. 2:07:24that maybe there is something missing I
  2943. 2:07:25should have mentioned this clearly and
  2944. 2:07:27then you are going to iterate on the
  2945. 2:07:28prompt and then you'll understand what
  2946. 2:07:29are the constraints that you need to put
  2947. 2:07:31okay and then I have shared with you
  2948. 2:07:32some advices and some wild card prompts
  2949. 2:07:36so that you can go ahead and get better
  2950. 2:07:38at prompt engineering and writing better
  2951. 2:07:39prompts right understand prompts are
  2952. 2:07:42your doorway to seize this AI
  2953. 2:07:45opportunity right it is not just plain
  2954. 2:07:48English you need to go ahead and think
  2955. 2:07:49deeper about the prompts so as to get
  2956. 2:07:51the better answers right you have a very
  2957. 2:07:56o uh a very obedient and a very powerful
  2958. 2:08:00individual at your disposal. If you ask
  2959. 2:08:03it like uh awful questions, you are
  2960. 2:08:05going to get awful answers. Now it's
  2961. 2:08:07your responsibility to make sure that
  2962. 2:08:08you're asking it better kind of
  2963. 2:08:09questions. Right? Yes. So this is what
  2964. 2:08:12we have done so far. I think we have
  2965. 2:08:13spent 15 minutes just in the revision.
  2966. 2:08:15Now everyone please tell me go ahead in
  2967. 2:08:18the chat if you have understood
  2968. 2:08:19everything so far. How many of you are
  2969. 2:08:21aware about this product called as
  2970. 2:08:23notebook?
  2971. 2:08:24So in case someone has not used I'll
  2972. 2:08:27just give you a glimpse. Okay. So let's
  2973. 2:08:29say I want to learn about AI product
  2974. 2:08:32management. Okay. This is the topic for
  2975. 2:08:34today.
  2976. 2:08:36But sadly I do not have time. I do not
  2977. 2:08:38want to invest time. So what I'll do is
  2978. 2:08:39I'll go to this platform
  2979. 2:08:40notebook.google.com.
  2980. 2:08:42Okay. I will click on new notebook.
  2981. 2:08:46Right? And now what I can do is I can
  2982. 2:08:49give it lot of documents, lot of
  2983. 2:08:51resources and then I can ask questions
  2984. 2:08:55and summarize these documents from this
  2985. 2:08:56interface
  2986. 2:08:59right on chat GBT when you give so many
  2987. 2:09:01document documents it runs out of
  2988. 2:09:03context but it is this particular
  2989. 2:09:05platform notebook is working on rag that
  2990. 2:09:07I have just told you so it will be able
  2991. 2:09:09to answer let me show you how it works
  2992. 2:09:10okay so let's say I want to understand
  2993. 2:09:12about a IML product management so I'm
  2994. 2:09:14going to insert some resources okay so
  2995. 2:09:16the resources
  2996. 2:09:18At hello PM we have gone ahead and done
  2997. 2:09:20something called as the AI sprint
  2998. 2:09:22which has everything that you need to
  2999. 2:09:25understand as an AI product manager. So
  3000. 2:09:28I will click on this.
  3001. 2:09:38Yeah. So I'll click on my channel and
  3002. 2:09:40then I'll click on playlist and then
  3003. 2:09:43I'll click on the AI sprint
  3004. 2:09:45>> and then
  3005. 2:09:46>> okay so this is one video. So what I'll
  3006. 2:09:49do is I'll copy the URL.
  3007. 2:09:51I will go to notebook. I am now
  3008. 2:09:53collecting the resources. Okay. So my
  3009. 2:09:55resource are these URLs. So I'll click
  3010. 2:09:57on YouTube. I will paste the URL here.
  3011. 2:10:01Insert. So this would be inserted in
  3012. 2:10:03some time. Second. So now what is
  3013. 2:10:05happening the Google uh uh Google
  3014. 2:10:09notebook alm is actually taking the
  3015. 2:10:12transcript of the video it is breaking
  3016. 2:10:14the transcript into small small parts
  3017. 2:10:17and then it is vectorizing all of these
  3018. 2:10:19transcripts okay all of the contents out
  3019. 2:10:22there. Second,
  3020. 2:10:25I will take maybe uh uh the second
  3021. 2:10:28video.
  3022. 2:10:33I will put it again in the YouTube part.
  3023. 2:10:37Insert. Now I want a blog. So a IML
  3024. 2:10:42this. So I've written a blog as well. So
  3025. 2:10:45I will go ahead and just
  3026. 2:10:47add it here.
  3027. 2:10:49And then I would put a link of website.
  3028. 2:10:53I can put multiple URLs as well. Okay.
  3029. 2:10:56So now I have all of this context ready.
  3030. 2:10:58These are long 1 and a half hour 2 hours
  3031. 2:11:00videos and this is a very long I would
  3032. 2:11:02say 3 4,000 words of vlogs. Okay. So now
  3033. 2:11:06you understand that yes I have all the
  3034. 2:11:07context available. I can go ahead and
  3035. 2:11:09ask it any kind of question and then
  3036. 2:11:11these questions would be answered from
  3037. 2:11:12the data that I have given. Right? So I
  3038. 2:11:14will ask a question how do I
  3039. 2:11:19what
  3040. 2:11:21skill does a
  3041. 2:11:24AI product manager needs.
  3042. 2:11:29Now this answer would be grounded in
  3043. 2:11:31what is written in these sessions.
  3044. 2:11:34Right? So if you want to do any research
  3045. 2:11:36of the world you can just catch up some
  3046. 2:11:38YouTube videos, some interesting
  3047. 2:11:39podcasts from the founders and industry
  3048. 2:11:41leaders. put up some blogs, put up some
  3049. 2:11:43reports in PDFs from Mackenzie and other
  3050. 2:11:45companies and then you should be able to
  3051. 2:11:47do this. Okay, now it has given me the
  3052. 2:11:49answer. But this is not the beauty. This
  3053. 2:11:51is okay. This is cool. But it also has
  3054. 2:11:54some wonderful features which is it can
  3055. 2:11:56help me create mind map. Right? So if I
  3056. 2:11:59click on this, it will create a
  3057. 2:12:00beautiful mind map from all the
  3058. 2:12:01concepts. Okay.
  3059. 2:12:03Another important part is reports. So if
  3060. 2:12:05I click on the reports,
  3061. 2:12:07these are all the report that it will
  3062. 2:12:09create. It will create a complete blog
  3063. 2:12:10post which I can read. It will create a
  3064. 2:12:13study guide so that it will be having a
  3065. 2:12:14short answer, quizzes, some uh revision
  3066. 2:12:17material, everything. Then a briefing
  3067. 2:12:19doc so that I can go ahead and just
  3068. 2:12:21understand what is important in these
  3069. 2:12:23particular three four resources. And
  3070. 2:12:24then there are multiple things. Okay,
  3071. 2:12:27concept explainer, process overview and
  3072. 2:12:29everything. So it is now able to
  3073. 2:12:31understand the content and based on
  3074. 2:12:33content it is suggesting me that this
  3075. 2:12:35kind of reports are possible from this
  3076. 2:12:37and I can also give my own report right.
  3077. 2:12:40So let's say I want to get a briefing.
  3078. 2:12:46So now it will take some time in order
  3079. 2:12:48to generate this particular report.
  3080. 2:12:51Okay. And then I can also go ahead and
  3081. 2:12:53create mindm flashcards quiz and
  3082. 2:12:55everything. And also eventually I can
  3083. 2:12:57also create an audio overview. Okay. So
  3084. 2:12:59this is what this product does. This is
  3085. 2:13:01almost a number one research tool based
  3086. 2:13:04on AI which almost every product manager
  3087. 2:13:07and every individual should use. Okay.
  3088. 2:13:10So this is notebook LM for you. There
  3089. 2:13:11are so many use cases. You just think
  3090. 2:13:13about it and notebook LM should be able
  3091. 2:13:15to do these things. Right. So my
  3092. 2:13:17recommendation to everyone would be that
  3093. 2:13:18after this session go ahead and try to
  3094. 2:13:21play around with notebook. Super helpful
  3095. 2:13:23tool. Right? Yes. Everyone a quick yes
  3096. 2:13:27or no if you're able to understand this
  3097. 2:13:28tool.
  3098. 2:13:35Amazing. Thank you. Yes. So now
  3099. 2:13:39let us try to understand and also
  3100. 2:13:43what I'm telling you is not just how
  3101. 2:13:45notebook LM works but also any of the
  3102. 2:13:49tools any of the AI tools which are
  3103. 2:13:51based on documents. So in notebook we
  3104. 2:13:54are giving it a lot of documents and
  3105. 2:13:56transcripts and it is working on the
  3106. 2:13:57same. On notion AI we are actually
  3107. 2:13:59giving it all of our databases the
  3108. 2:14:01notion document that we have created it
  3109. 2:14:02is working on the same in Salesforce
  3110. 2:14:05Einstein we have all the document that
  3111. 2:14:07we have created in our salesforce all
  3112. 2:14:08the sales record all the CRM all the
  3113. 2:14:10emails all the customer conversations
  3114. 2:14:12and then there is an LLM on top of it.
  3115. 2:14:14So the mental model is that if you have
  3116. 2:14:15a lot of data and if you want to put a
  3117. 2:14:18LLM on top of it in order to make it
  3118. 2:14:20more
  3119. 2:14:21queryable with the help of a natural
  3120. 2:14:23language then this is what you should
  3121. 2:14:24do. This is the same architecture for
  3122. 2:14:26all of these products. Okay. Yeah. So
  3123. 2:14:28what we do is
  3124. 2:14:31we follow the same format. Question
  3125. 2:14:34number one is
  3126. 2:14:36what problem does it solve in people
  3127. 2:14:38lives? This is something that you need
  3128. 2:14:41to answer as a product manager before
  3129. 2:14:42even building the product. So why does
  3130. 2:14:44notebook help why is notebook helping
  3131. 2:14:46helpful? Because it helps people conduct
  3132. 2:14:48research
  3133. 2:14:50by helping them read so many documents
  3134. 2:14:52and summarize these documents at once.
  3135. 2:14:55It helps people read and learn about
  3136. 2:14:57exhaustive full topics within a lot less
  3137. 2:15:01period of time.
  3138. 2:15:03It also helps people create some
  3139. 2:15:05effective nodes for their learning, for
  3140. 2:15:08their research, for building any product
  3141. 2:15:09or for doing anything. Okay. So, there
  3142. 2:15:11is definitely a value in the product,
  3143. 2:15:16right? So, it will help people become
  3144. 2:15:18more productive and take better
  3145. 2:15:20decisions in shorter period of time,
  3146. 2:15:22right? What is the business value? Now
  3147. 2:15:25Google has understood that people are
  3148. 2:15:27using chat GPD a lot and Google has
  3149. 2:15:30understood that now if people keep on
  3150. 2:15:32using chat GP and perplexity
  3151. 2:15:34the research that people used to do on
  3152. 2:15:36Google is now going to get reduced. So
  3153. 2:15:39they have to create a product that will
  3154. 2:15:41make sure that they are getting their
  3155. 2:15:43lost foothold. And now notebook alum has
  3156. 2:15:45become popular that people are have
  3157. 2:15:47started using it. So it is a strategic
  3158. 2:15:49bet for Google to create this kind of
  3159. 2:15:50product. Right. Third is how do we make
  3160. 2:15:54it intuitive to use? So Google has made
  3161. 2:15:56it very simple. So you can see the UI.
  3162. 2:15:58It is very simple. It tells you. So
  3163. 2:16:02Google might have thought that why not
  3164. 2:16:04we go ahead and allow people to just
  3165. 2:16:06enter content. Okay. But content could
  3166. 2:16:08also be in the form of YouTube. So they
  3167. 2:16:10explicitly mentioned that yes people
  3168. 2:16:12want to learn from YouTube so you can
  3169. 2:16:13enter YouTube. People want to upload
  3170. 2:16:16their PDFs. So they are allowing you to
  3171. 2:16:17upload the PDFs. So they understood that
  3172. 2:16:19from what kind of resources people would
  3173. 2:16:22want to ideally get the information and
  3174. 2:16:23they have enlisted all these resources.
  3175. 2:16:26Similarly they were able to understand
  3176. 2:16:27that most of the people are very lazy in
  3177. 2:16:30terms of prompt engineering. So they are
  3178. 2:16:32giving you some automatic templates of
  3179. 2:16:34reports. So rather than you thinking
  3180. 2:16:37that what is the question that I asked
  3181. 2:16:38from this document they will give you
  3182. 2:16:40automated question in the form of report
  3183. 2:16:41that I have just shown you.
  3184. 2:16:44Right? So this is how you make the
  3185. 2:16:46product more intuitive. Right? And if
  3186. 2:16:48you guys want to learn how to make the
  3187. 2:16:49product more intuitive, a simple
  3188. 2:16:51exercise is go ahead look at 10 top AI
  3189. 2:16:55products and then reverse engineer what
  3190. 2:16:57are the things that they are doing in
  3191. 2:16:58order to make it more intuitive. You can
  3192. 2:17:00follow the similar kind of principles.
  3193. 2:17:02You will be ahead of 80% people who do
  3194. 2:17:04not know anything about UI, right? And
  3195. 2:17:06then we have how will this be
  3196. 2:17:08engineered, right? How will this be
  3197. 2:17:10engineered? This is the structure.
  3198. 2:17:12Please look at this very very carefully.
  3199. 2:17:15Okay.
  3200. 2:17:17Yes, we have 510 people in the chat.
  3201. 2:17:20Everyone please write focus if you are
  3202. 2:17:22ready to go through this. Please write
  3203. 2:17:24focus if you are ready to go through
  3204. 2:17:25this.
  3205. 2:17:37Amazing. Great. Cool. So focus here
  3206. 2:17:40everyone. So here what is happening is
  3207. 2:17:43first is the resources.
  3208. 2:17:46Resources are in the format of articles,
  3209. 2:17:49videos, PDFs and text which is videos it
  3210. 2:17:55will not be able to understand. So what
  3211. 2:17:56it does is it takes a YouTube videos and
  3212. 2:17:59YouTube videos comes with a transcript.
  3213. 2:18:01So it is understanding the transcript
  3214. 2:18:03and not the video. Okay. Second is PDFs
  3215. 2:18:08to convert PDF into text.
  3216. 2:18:11We can either if the PDF is created
  3217. 2:18:13digitally, we can go ahead and convert
  3218. 2:18:15it into text like through some PDF
  3219. 2:18:17extractors. However, if it is an image
  3220. 2:18:19that we have taken photos of and then we
  3221. 2:18:21have converted the PDF, then we have
  3222. 2:18:23something called as OCR or optical image
  3223. 2:18:25recognition, character recognition,
  3224. 2:18:27right? So these things would be creative
  3225. 2:18:29to understand it is not just that it
  3226. 2:18:33building an AI product is only about
  3227. 2:18:34implementing the LLM. You have to do
  3228. 2:18:36this dirty work as well which is making
  3229. 2:18:39sure that all the content is in the
  3230. 2:18:40right format which is text
  3231. 2:18:44right after this
  3232. 2:18:47after this
  3233. 2:18:50and even if let's say we have audio
  3234. 2:18:52right now I don't think it allows audio
  3235. 2:18:54but if it allows audio what it will do
  3236. 2:18:56is it will get the audio from you it
  3237. 2:18:58will give it to the back end like from
  3238. 2:19:00the back end it will give it to Google
  3239. 2:19:03speechtoext API or whisper API and then
  3240. 2:19:06it is going to get the transcript and
  3241. 2:19:07then the transcript is going to be added
  3242. 2:19:09here. Okay. So as soon you add the
  3243. 2:19:11sources the sources are extracted they
  3244. 2:19:15are chuned and then
  3245. 2:19:18they are chuned at two levels document
  3246. 2:19:20level and the paragraph level. Right? So
  3247. 2:19:23it tells you that from which document
  3248. 2:19:25and which part of document is this
  3249. 2:19:26content coming from. So whenever you are
  3250. 2:19:28storing these chunks there would be a
  3251. 2:19:31link to that document whole document
  3252. 2:19:32like the source and there will also be a
  3253. 2:19:34link to that particular part of the
  3254. 2:19:36document which is the chunk right I have
  3255. 2:19:39shown you this example yesterday with
  3256. 2:19:40that thing right after this
  3257. 2:19:44we have embedding so now this will be
  3258. 2:19:47stored in Google's own database for
  3259. 2:19:48embedding and understand whenever you
  3260. 2:19:50change the content whenever you update
  3261. 2:19:52the content this is going to get
  3262. 2:19:54refreshed
  3263. 2:19:56right till Here we have not used the
  3264. 2:19:58genai so far. We are only using
  3265. 2:20:01engineering computer science engineering
  3266. 2:20:03so far and some machine learning
  3267. 2:20:05algorithms. Right now what happens
  3268. 2:20:10your platform notebook
  3269. 2:20:13is going to understand what this content
  3270. 2:20:16is all about. So it will try to go ahead
  3271. 2:20:19and create highle summaries of all the
  3272. 2:20:20documents that you have created like
  3273. 2:20:22highle summary for every document
  3274. 2:20:23automatically and then it will try to
  3275. 2:20:25understand what are the different kind
  3276. 2:20:27of reports that I can generate and for
  3277. 2:20:29generating these reports it would have
  3278. 2:20:31some kind of templates already. So let
  3279. 2:20:33me show you
  3280. 2:20:36so this is what Google might have
  3281. 2:20:38created at the back end. Okay. So let's
  3282. 2:20:40say
  3283. 2:20:42if
  3284. 2:20:44we think that there there could be a
  3285. 2:20:47summary that we can create. So it will
  3286. 2:20:48go ahead and give this kind of prompt
  3287. 2:20:50which is summarize the key ideas in the
  3288. 2:20:51plain English focus on main findings and
  3289. 2:20:53implications. if they need to create a
  3290. 2:20:55study guide. So here what is happening
  3291. 2:20:56is we have these report prompts right it
  3292. 2:21:00will show you that these are the things
  3293. 2:21:01that you can do with this report and
  3294. 2:21:04then the user input whatever the user
  3295. 2:21:06has inputed the prompt and the retrieved
  3296. 2:21:09context. Retrieve context means whatever
  3297. 2:21:12is matching with that prompt. Whatever
  3298. 2:21:15the words that you have mentioned in
  3299. 2:21:16that prompt, whatever is matching in the
  3300. 2:21:19vector database that is going to be
  3301. 2:21:21fetched and then that is be that will be
  3302. 2:21:24sent to the LLM. If it is Google, the
  3303. 2:21:26LLM is most probably going to be Gemini.
  3304. 2:21:28So this is the prompt library. Okay. So
  3305. 2:21:30if the summary type the report type is
  3306. 2:21:32summary, then this is the prompt. If it
  3307. 2:21:35is a study guide, then generate a
  3308. 2:21:36structured outline with key component,
  3309. 2:21:38definitions, and questions for self-
  3310. 2:21:40testing.
  3311. 2:21:42Right? Mind map. Organize the main ideas
  3312. 2:21:45hierarchically with branches for non for
  3313. 2:21:47subconcepts and examples.
  3314. 2:21:51Right?
  3315. 2:21:52And then
  3316. 2:21:54reports would be generated and then
  3317. 2:21:56reports could be summary, mind web,
  3318. 2:21:57guides, FAQs and then what will happen?
  3319. 2:21:59You as a user will give you the feed
  3320. 2:22:01will give the feedback that it is good
  3321. 2:22:03or it is bad and then it is going to go
  3322. 2:22:04ahead and autocorrect these prompts and
  3323. 2:22:07you can also go ahead and put your own
  3324. 2:22:09prompts. So what is happening this is
  3325. 2:22:15augmenting
  3326. 2:22:17this part
  3327. 2:22:21is retrieval and this part is
  3328. 2:22:24generation.
  3329. 2:22:27Right? So we are first creating the
  3330. 2:22:28documents then we are generating then we
  3331. 2:22:31are uh going ahead and giving it to the
  3332. 2:22:33LLM and then we are generating and going
  3333. 2:22:35giving the output to the user right so
  3334. 2:22:37this is how notebook LM works in a
  3335. 2:22:40nutshell it is a pure play rag
  3336. 2:22:42application right everyone a quick yes
  3337. 2:22:46or no if you are able to understand
  3338. 2:22:55H
  3339. 2:22:58now one question to everyone
  3340. 2:23:01question to everyone okay
  3341. 2:23:04let's say if I ask the question to
  3342. 2:23:06notebook alm
  3343. 2:23:08that summarize all the contents
  3344. 2:23:12summarize
  3345. 2:23:13everything that you are like from all
  3346. 2:23:15the resources summarize
  3347. 2:23:17Now what do you think will happen? Think
  3348. 2:23:20about it for a moment and tell me in the
  3349. 2:23:21chat what will happen then? Let's say if
  3350. 2:23:23I give it a query, give me a summary of
  3351. 2:23:26this content. What will happen
  3352. 2:23:37now? So summarization. Yes.
  3353. 2:23:41Cool. So understand summarization is a
  3354. 2:23:45non-typical task. Why? Because
  3355. 2:23:49summarization
  3356. 2:23:50is the most I would say popular task but
  3357. 2:23:54it is a non-trivial task. Because in the
  3358. 2:23:57prompt what would be mentioned?
  3359. 2:23:59Summarize this document.
  3360. 2:24:01When this is mentioned in the prompt
  3361. 2:24:03when it will search in the rag model
  3362. 2:24:05when it will search in the embedding
  3363. 2:24:07what will it search for? Summarize
  3364. 2:24:09article. And now how will it find that
  3365. 2:24:13where is summarize and all because it is
  3366. 2:24:14doing a vector like search. So it might
  3367. 2:24:17find some chunks where summarize brief
  3368. 2:24:20executive summary these kind of things
  3369. 2:24:22are written but summary would not be
  3370. 2:24:23accurate.
  3371. 2:24:25Right? So what is the solution? The
  3372. 2:24:26solution is we do not implement this
  3373. 2:24:29normal rag pipeline in these kind of
  3374. 2:24:31applications. What we do is
  3375. 2:24:35we have something called as hierarchal
  3376. 2:24:39hierarchal
  3377. 2:24:40rag.
  3378. 2:24:45I'm not sure what the spelling is. So
  3379. 2:24:47hierarchal rag what it is is that I have
  3380. 2:24:51source one,
  3381. 2:24:54I have source two, I have source three.
  3382. 2:24:58Okay. So now first of all understand the
  3383. 2:25:00problem clearly. Okay, I have created
  3384. 2:25:03chunks. Let's say there are 10 chunks
  3385. 2:25:06that are from this document. There are
  3386. 2:25:0910 chunks from this document and four
  3387. 2:25:11chunks from this document. If I ask LLM
  3388. 2:25:14the question that please
  3389. 2:25:19summarize this, then what will happen?
  3390. 2:25:22It will make the vector of summarize,
  3391. 2:25:24right? And summarize vector might be
  3392. 2:25:26equal to brief.
  3393. 2:25:30Okay.
  3394. 2:25:31or maybe some other things like synonyms
  3395. 2:25:35of summarize right and it will go ahead
  3396. 2:25:37and try to find summarize brief and some
  3397. 2:25:39things in these chunks and whatever
  3398. 2:25:41whatever are the chunks that are
  3399. 2:25:42relevant it will go ahead and give these
  3400. 2:25:44chunks let's say one chunk from here one
  3401. 2:25:46chunk from here and one chunk from here
  3402. 2:25:48so we have got three chunks
  3403. 2:25:52right but understand these chunks are
  3404. 2:25:54incomplete they have mentioned summary
  3405. 2:25:57or brief or in short something but they
  3406. 2:26:00do not contain the true summary they
  3407. 2:26:02just contain these words
  3408. 2:26:05right. So what we will do here is we
  3409. 2:26:08maintain a summary
  3410. 2:26:12we maintain a summary at a high level.
  3411. 2:26:15So for all of these documents as soon as
  3412. 2:26:18you upload this document in notebook LM
  3413. 2:26:21it is first going to generate the
  3414. 2:26:22summary of the whole document. So it
  3415. 2:26:24will send it to the LLM. It will
  3416. 2:26:26generate the complete summary
  3417. 2:26:29so that it understands what the report
  3418. 2:26:31is. Then for the other it is going to
  3419. 2:26:33generate the summary. For other it is
  3420. 2:26:34going to generate the summary without
  3421. 2:26:35you saying anything. And then whenever
  3422. 2:26:37you send a query of summary it will
  3423. 2:26:39understand what the equation is. And
  3424. 2:26:41then it is going to answer by
  3425. 2:26:44concatenating or copying or taking all
  3426. 2:26:46of these summaries into the context.
  3427. 2:26:49That way context is also not increased
  3428. 2:26:51but there would be some more LLM calls.
  3429. 2:26:56Right? So how we have solved this
  3430. 2:26:58problem? We have taken all the sources
  3431. 2:27:01automatically without even the user
  3432. 2:27:03saying so we have taken the summaries of
  3433. 2:27:05every individual source.
  3434. 2:27:08Right? And once we got the summary from
  3435. 2:27:10the LLM now whenever a user is asking
  3436. 2:27:12question about summary we are going to
  3437. 2:27:13combine all of these summaries in order
  3438. 2:27:14to get a better answer.
  3439. 2:27:17Right?
  3440. 2:27:19Yes, everyone a quick yes or no if
  3441. 2:27:21you're able to understand this and like
  3442. 2:27:23this guys
  3443. 2:27:25although rag is simple okay rag is not a
  3444. 2:27:29rocket science but you have to
  3445. 2:27:31understand the nuances every product is
  3446. 2:27:35unique so you have to understand these
  3447. 2:27:37kind of nuances before going ahead and
  3448. 2:27:39calling yourself an AI product manager
  3449. 2:27:42okay so this is about how not works and
  3450. 2:27:44all the rag applications works in the
  3451. 2:27:46similar format you have the knowledge
  3452. 2:27:48base, you convert the knowledge base
  3453. 2:27:50into the vector database. After that,
  3454. 2:27:52you go ahead and get the user query, you
  3455. 2:27:54match the pattern, you get the uh uh top
  3456. 2:27:57similar chunks and then you put the LLM
  3457. 2:28:00on top of it along with the system
  3458. 2:28:01block. Right? Yes.
  3459. 2:28:05Now in the context engineering we have
  3460. 2:28:08so far talked about rag
  3461. 2:28:10we have talked about
  3462. 2:28:12uh prompt engineering and the third part
  3463. 2:28:15of context engineering is actually
  3464. 2:28:17fine-tuning. So sometimes what happens
  3465. 2:28:18is
  3466. 2:28:21sometimes what happens is you have to
  3467. 2:28:24retrain the model
  3468. 2:28:26you have to change the parameters in the
  3469. 2:28:28model for your use case. For example,
  3470. 2:28:31Google has this amazing model called as
  3471. 2:28:35alpha. Okay, Google alpha and
  3472. 2:28:40Google alpha fold or something is the
  3473. 2:28:42name alpha fold I think. Okay, so what
  3474. 2:28:44it does is it is able to identify the
  3475. 2:28:47patterns in protein and then it is able
  3476. 2:28:49to suggest that what is going to be
  3477. 2:28:51let's say the consequences which is the
  3478. 2:28:53diseases which are identified from
  3479. 2:28:55protein patterns and so many things.
  3480. 2:28:57Okay, but understand when Chad GPT or
  3481. 2:29:00Gemini was trained, it does not have any
  3482. 2:29:03information about proteins and all. It
  3483. 2:29:05has the information about how normal
  3484. 2:29:07natural processing works, but it does
  3485. 2:29:09not have any understanding about how to
  3486. 2:29:10understand the protein models. Okay. So
  3487. 2:29:12now what happens is
  3488. 2:29:14we are going to take some new data which
  3489. 2:29:17only contains information about these
  3490. 2:29:19protein folds and then we are going to
  3491. 2:29:22go ahead and retrain our large language
  3492. 2:29:24model again. So that now we have
  3493. 2:29:26contextual information about this. So if
  3494. 2:29:29there is some information that is
  3495. 2:29:31completely lacking that cannot be
  3496. 2:29:33compensated with rag then we use
  3497. 2:29:36fine-tuning plus sometimes when you have
  3498. 2:29:39to change the personality of the model
  3499. 2:29:41for example this is a real use case that
  3500. 2:29:43one of the bigger banks they used chat
  3501. 2:29:46GPT in order to answer the customer
  3502. 2:29:49queries right and then they were able to
  3503. 2:29:51find that chat GP is able to answer well
  3504. 2:29:53but it does not have that personality of
  3505. 2:29:56how their people were actually going
  3506. 2:29:58ahead and answering. So what they did
  3507. 2:29:59was they actually taken all of their
  3508. 2:30:01past records of the chat which humans
  3509. 2:30:03have done they have fine-tuned GPT and
  3510. 2:30:07other models on the top of the same and
  3511. 2:30:09then they were able to get a new model
  3512. 2:30:11which is now able to act nicely right
  3513. 2:30:14similarly Bloomberg has created a
  3514. 2:30:16product called as Bloomberg GPD where
  3515. 2:30:19they have trained complete Bloomberg on
  3516. 2:30:22top of uh the a GPT on top of Bloomberg
  3517. 2:30:25data so that if it has that kind of
  3518. 2:30:27context
  3519. 2:30:28Right? It kind that kind of information
  3520. 2:30:30and knowledge. So finetuning is adopting
  3521. 2:30:33a pre-trained large language model which
  3522. 2:30:35is a chat GP or any base model with a
  3523. 2:30:37domain specific data to make it more
  3524. 2:30:39useful for a particular task. Right? So
  3525. 2:30:42what we do is we take a base model llama
  3526. 2:30:44GT sonnet. Then we do the fine tuning
  3527. 2:30:47with curated data and examples and then
  3528. 2:30:49we have a fine-tuned error. Okay. It is
  3529. 2:30:51one line of code which you have to use
  3530. 2:30:53in the openi terminal. OpenAI API
  3531. 2:30:56fine-tune create t data.json JSON
  3532. 2:30:58whatever the data that you have then
  3533. 2:31:00this is the model that you want to train
  3534. 2:31:02one line of code can go ahead and do the
  3535. 2:31:03finetuning but understand finetuning is
  3536. 2:31:06the costliest of all the three method
  3537. 2:31:08that we have talked about finetuning
  3538. 2:31:11takes a lot of money a lot of resources
  3539. 2:31:13so unless you are not sure you should
  3540. 2:31:15not start with finetuning first do
  3541. 2:31:17prompt engineering then try to
  3542. 2:31:20understand if the problem can be solved
  3543. 2:31:21with rag if it is lack of information
  3544. 2:31:23problem if it is not solved then you
  3545. 2:31:25should go ahead and go to finetuning
  3546. 2:31:30Right. And
  3547. 2:31:33generally finetuning is of two types.
  3548. 2:31:35One is full finetuning. Second is
  3549. 2:31:38parameter efficient finetuning or PFP.
  3550. 2:31:42Okay. So in full finetuning what happens
  3551. 2:31:44is whatever are the billion parameters
  3552. 2:31:46that we have in the large language
  3553. 2:31:47models we are going to try to update
  3554. 2:31:50them all. So it is very intensive right.
  3555. 2:31:54So this is going to give you great
  3556. 2:31:56results but it is also going to be very
  3557. 2:31:59very intensive on the CPU and GPU and it
  3558. 2:32:01is going to cost you a lot of money.
  3559. 2:32:03Right? Similarly we have parameter
  3560. 2:32:05efficient finetuning. Okay. Where what
  3561. 2:32:08we do is rather than so I have talked
  3562. 2:32:10about parameters in the last class. In
  3563. 2:32:13parameter efficient finetuning
  3564. 2:32:15rather than going ahead and uh uh
  3565. 2:32:20optimizing and changing every parameter
  3566. 2:32:22we only change few parameters to make
  3567. 2:32:25sure that middle model is able to get
  3568. 2:32:27that behavior without spending a lot of
  3569. 2:32:29money on training
  3570. 2:32:31right so it updates the subset of
  3571. 2:32:33parameters it has lost cost and store
  3572. 2:32:36right and the f the training can be done
  3573. 2:32:38faster the examples are adopters and
  3574. 2:32:40lora
  3575. 2:32:42Right. So this is called as fine tuning
  3576. 2:32:46in LMS. Now a major question is
  3577. 2:32:49when should I choose what to do whether
  3578. 2:32:52I should do prompt engineering or rag or
  3579. 2:32:54fine-tuning. How should I choose? So
  3580. 2:32:56this is a simple decision tree for you.
  3581. 2:32:58Okay. If you want to decide the right
  3582. 2:33:00contextualization method, this thing is
  3583. 2:33:02called contextualization or context
  3584. 2:33:03engineering. If the base LLM is good
  3585. 2:33:07enough with careful prompting, then go
  3586. 2:33:09with prompting. Experiment. Try with
  3587. 2:33:11prompt first. Before going to advanced
  3588. 2:33:14method, try with prompt first. If it is
  3589. 2:33:15giving you the answer, go ahead and do
  3590. 2:33:17this. There are multiple products that
  3591. 2:33:18are based on the same. For example,
  3592. 2:33:20granola and chat PD, they are only
  3593. 2:33:22working on prompt engineering.
  3594. 2:33:24Right? Second is if it is not working,
  3595. 2:33:27prompt is not enough. Then if the
  3596. 2:33:30problem is only about missing or dynamic
  3597. 2:33:32knowledge then go ahead use rag is try
  3598. 2:33:36notion AI notebook lm they are using rag
  3599. 2:33:39right and the third is if the issue is
  3600. 2:33:42about style tone or a domain specific
  3601. 2:33:45behavior that you'll understand by
  3602. 2:33:47asking questions to the LLM then you
  3603. 2:33:49should go with this and examples are
  3604. 2:33:51dual indo max and bloomberg GP that I
  3605. 2:33:53have already given you examples of right
  3606. 2:33:56so guys this was context engineering.
  3607. 2:33:59Everyone tell me yes or no in the chat
  3608. 2:34:00if you are able to understand everything
  3609. 2:34:01so far.
  3610. 2:34:04We talked about prompt engineering, we
  3611. 2:34:06talked about rag, we also talked about
  3612. 2:34:07fine-tuning,
  3613. 2:34:11right? And the question is the question
  3614. 2:34:14is that
  3615. 2:34:16what you should use what you should use
  3616. 2:34:20is
  3617. 2:34:22usually decided by your context in your
  3618. 2:34:26problem. Okay? Don't think that if some
  3619. 2:34:28company was able to use something and
  3620. 2:34:30get the results, you will also get it.
  3621. 2:34:32Please try to understand the user
  3622. 2:34:33problems, the context, the limitations,
  3623. 2:34:36the trade-offs and then choose whether
  3624. 2:34:38you should go with prompt engineering,
  3625. 2:34:39rag or fine-tuning. You should always
  3626. 2:34:42start with prompt engineering. If
  3627. 2:34:44there's a issue with data, go with rack
  3628. 2:34:46and then if the issue is with
  3629. 2:34:47personality or the base data, then go
  3630. 2:34:50with fine-tuning. Right? There is also
  3631. 2:34:53an interesting thing that is coming
  3632. 2:34:55across these days. I'll just give you a
  3633. 2:34:57hint. We talk about this in detail in
  3634. 2:34:59our bigger program which is an amazing
  3635. 2:35:02thing which is called as
  3636. 2:35:06transfer learning. Okay, this is an
  3637. 2:35:09upcoming very I would say very promising
  3638. 2:35:11field and many companies are going to
  3639. 2:35:13adopt this. Just a moment.
  3640. 2:35:26Yes. So there is something called as
  3641. 2:35:29transfer learning.
  3642. 2:35:31So what we do is the issue with large
  3643. 2:35:34language models is that more intelligent
  3644. 2:35:37the model okay more it is going to cost
  3645. 2:35:41and more it is going to have latency
  3646. 2:35:44which is it is going to take more time
  3647. 2:35:46to respond. So if you go to the OpenAI
  3648. 2:35:48API,
  3649. 2:35:54okay, OpenAI API
  3650. 2:35:58cost, okay, so if I go to pricing,
  3651. 2:36:01understand that this GPT 5 is their best
  3652. 2:36:05model and the cost of GPT5 is for output
  3653. 2:36:08$10 per 1 million tokens, right? And
  3654. 2:36:11then they have a small model which is GP
  3655. 2:36:13nano which is $0.41 $4 for 1 million
  3656. 2:36:16tokens
  3657. 2:36:18almost 25x difference. Right? So models
  3658. 2:36:23which are small models have less number
  3659. 2:36:25of parameters are more efficient and
  3660. 2:36:28cost effective but they do not have the
  3661. 2:36:30right kind of they are not trained on
  3662. 2:36:31more data and they do not have more
  3663. 2:36:33parameter that means their output could
  3664. 2:36:35be a bit here and there. Okay. So we
  3665. 2:36:37have something called a transfer
  3666. 2:36:38learning. What we do is we pick a small
  3667. 2:36:40language model such as Gemma
  3668. 2:36:44or a combination of or something between
  3669. 2:36:46the small and the large language model
  3670. 2:36:47such as nano
  3671. 2:36:50which is GP nano 5 nano or 4 nano
  3672. 2:36:53whatever you want to choose. Okay, these
  3673. 2:36:55things have less cost. What you will do
  3674. 2:36:57is you will go ahead generate some
  3675. 2:37:01synthetic data from the top models which
  3676. 2:37:05is GPT5 or Gemini 2.5 flash okay you are
  3677. 2:37:10going to use Gemini in order to generate
  3678. 2:37:12some synthetic data and then you are
  3679. 2:37:14going to generate that data and then you
  3680. 2:37:15are going to fine-tune these models on
  3681. 2:37:17that data so that these these models
  3682. 2:37:20although they will not get as
  3683. 2:37:21intelligent as GPT5 or or or Gemini 2.5
  3684. 2:37:25but still if you give on specific use
  3685. 2:37:27cases. For example, if you are using for
  3686. 2:37:28customer support, if you are using for
  3687. 2:37:30coding, if you are using for coding in a
  3688. 2:37:33particular language, if you are using
  3689. 2:37:34for a particular use case, then you can
  3690. 2:37:36generate enough data and then you can
  3691. 2:37:38retrof these models with fine-tuning and
  3692. 2:37:40then there is going to be one-time cost
  3693. 2:37:42of finetuning. But then eventually your
  3694. 2:37:44overall cost of API and inference will
  3695. 2:37:46reduce. This is called as transfer
  3696. 2:37:48learning. So you have a small language
  3697. 2:37:49model which is efficient which has less
  3698. 2:37:52cost but it does not know about certain
  3699. 2:37:55knowledge. So you will generate that
  3700. 2:37:57knowledge artificially from bigger
  3701. 2:37:59models put that knowledge into
  3702. 2:38:01fine-tuning data for these small
  3703. 2:38:03language models then the small language
  3704. 2:38:05models will become more powerful for
  3705. 2:38:06your context.
  3706. 2:38:10Right? So imagine these large language
  3707. 2:38:12models as swords.
  3708. 2:38:16But sometimes for some purposes you
  3709. 2:38:18don't need a sword. You just need a
  3710. 2:38:19needle and then transfer learning gives
  3711. 2:38:23the power of sword to this particular
  3712. 2:38:24needle.
  3713. 2:38:27Right? A quick yes on everyone if you're
  3714. 2:38:29able to understand the power of transfer
  3715. 2:38:31learning.
  3716. 2:38:33You can explore more about this. We talk
  3717. 2:38:35about this in more detail in our bigger
  3718. 2:38:37program. super helpful skill for any
  3719. 2:38:39product manager because implementing LM
  3720. 2:38:41and understanding is is is is easy but
  3721. 2:38:45getting the most out of from this is
  3722. 2:38:47super important.
  3723. 2:38:49Yes. Cool. Now with that being said, let
  3724. 2:38:53us go ahead
  3725. 2:38:56and talk about the interesting piece in
  3726. 2:38:57the room. Okay. Which is AI agents.
  3727. 2:39:02So far
  3728. 2:39:04the AI agent
  3729. 2:39:06was
  3730. 2:39:08like your most interesting, your most uh
  3731. 2:39:12intelligent manager. They are telling
  3732. 2:39:14you that this is what you should do,
  3733. 2:39:16this is what you should do, this is what
  3734. 2:39:17you should do. But they are not taking
  3735. 2:39:19action. And nothing is more frustrating
  3736. 2:39:21than a handsoff manager which has they
  3737. 2:39:24don't know how to do the work but they
  3738. 2:39:26always try to give you knowledge and gam
  3739. 2:39:28okay and LM are the same. You give them
  3740. 2:39:31the input, they give you the output and
  3741. 2:39:32they appear the most intelligent part.
  3742. 2:39:34But they cannot act. Act means
  3743. 2:39:37you do not want the LLM just to write an
  3744. 2:39:40email. You want them to send the email
  3745. 2:39:42and take the follow-ups. You want them
  3746. 2:39:43to do your work rather than just being
  3747. 2:39:44your uh uh uh your brainstorming buddy.
  3748. 2:39:48So in order to give agency to the agent
  3749. 2:39:51in to the AI, we have something called
  3750. 2:39:53as AI agents. So AI agent is nothing but
  3751. 2:39:55a very simple concept. Okay, which is
  3752. 2:40:00we give access to some actions to our
  3753. 2:40:04agents. We get our AI to act. So what we
  3754. 2:40:09do is a simple example of agent is let's
  3755. 2:40:12say I post very frequently on LinkedIn.
  3756. 2:40:16Okay. And if someone wants to go ahead
  3757. 2:40:20and be updated with what is happening in
  3758. 2:40:23the product management world, what they
  3759. 2:40:26can just do is go to my profile, look at
  3760. 2:40:29what I have recently posted and then you
  3761. 2:40:31should be able to understand what is
  3762. 2:40:32happening in the AI product management
  3763. 2:40:34world. Okay, but this thing you have to
  3764. 2:40:36do manually. What if there would be a
  3765. 2:40:40large language model? What if there
  3766. 2:40:42would be a software or an agent that can
  3767. 2:40:44go to my profile every day in the
  3768. 2:40:47morning look at the five recent post
  3769. 2:40:49that I have done let's say not every day
  3770. 2:40:51but let's say in a way in a week in that
  3771. 2:40:53week whatever I have posted they should
  3772. 2:40:55collect all that post and then they
  3773. 2:40:58should give all of this post to a large
  3774. 2:41:00language model which can summarize all
  3775. 2:41:01the important content and then it can
  3776. 2:41:03send me an email. This is an example of
  3777. 2:41:06a large language model. This is an
  3778. 2:41:08example of an AI agent. Okay, which is I
  3779. 2:41:10am choosing a time where I am going to
  3780. 2:41:13crawl a profile, LinkedIn profile. I'm
  3781. 2:41:16going to get all of their post. Then I'm
  3782. 2:41:18going to summarize this content and then
  3783. 2:41:19I'm going to get them to send an email.
  3784. 2:41:21The summarize part is the intelligent
  3785. 2:41:22part that is done by AI. That is why it
  3786. 2:41:24is called as an AI agent.
  3787. 2:41:27Right now I can go ahead and tweak this
  3788. 2:41:29AI agent more. What I can do is I can
  3789. 2:41:32allow tell the AI agent that rather than
  3790. 2:41:34getting the post from someone,
  3791. 2:41:36you only go ahead and send me the
  3792. 2:41:38message rather rather than crawling all
  3793. 2:41:41the post, you should only go ahead and
  3794. 2:41:43crawl the post where something is
  3795. 2:41:45written about AI product management. So
  3796. 2:41:47now the AI agent will go ahead and take
  3797. 2:41:49some calls based on or take some
  3798. 2:41:52decisions based on the content that it
  3799. 2:41:54finds. So when the AI agent is taking
  3800. 2:41:57some decisions based on its own context
  3801. 2:42:00then it is called an autonomous AI agent
  3802. 2:42:02when it is just going ahead and
  3803. 2:42:04following the instruction it is a
  3804. 2:42:05workflow agent
  3805. 2:42:08right a quick yes everyone if you're
  3806. 2:42:10able to understand the example of AI
  3807. 2:42:12agent
  3808. 2:42:18cool and we'll actually create that
  3809. 2:42:19agent today okay so intelligence
  3810. 2:42:21autonomy and uh action Right? And there
  3811. 2:42:25are multiple platform guys understand
  3812. 2:42:27building AI agents these days is not
  3813. 2:42:30rocket science. It is commoditized
  3814. 2:42:32information. How to build great agents
  3815. 2:42:35is something that is something that you
  3816. 2:42:37need to learn. Okay. So if you go to
  3817. 2:42:38platforms such as agents.ai, ZPR, NAN
  3818. 2:42:42and OpenAI has very recently created
  3819. 2:42:43their agent kit. You can go ahead and
  3820. 2:42:45create multiple agents. Okay. However,
  3821. 2:42:50there has been a report recently. There
  3822. 2:42:52has been a report recently and this
  3823. 2:42:54report got way too popular and it has
  3824. 2:42:57mentioned that 95% of most of the AI
  3825. 2:43:00initiative most of them are AI agents
  3826. 2:43:02have failed and the reason being there
  3827. 2:43:04was a learning gap. Learning gap means
  3828. 2:43:08these project did not fail because these
  3829. 2:43:11people were failing to engineer agents.
  3830. 2:43:14They were able to create agents but the
  3831. 2:43:16problem was these agents were actually
  3832. 2:43:19not solving any good enough problem
  3833. 2:43:22and it was not learning from the
  3834. 2:43:25feedback
  3835. 2:43:27right so anytime you want to go ahead
  3836. 2:43:29and build any kind of product please
  3837. 2:43:31remember this if you are creating AI
  3838. 2:43:34agent if you are creating a normal
  3839. 2:43:37traditional product or even if you are
  3840. 2:43:38creating an offline product please make
  3841. 2:43:40sure that you start from these two
  3842. 2:43:44If you read this report, I'll I'll
  3843. 2:43:46attach this report in the resources
  3844. 2:43:48section when we are sending this to you,
  3845. 2:43:50you will understand why not having the
  3846. 2:43:53right product sense was a major problem
  3847. 2:43:54why these things fail rather than just
  3848. 2:43:57not knowing about the AI. So
  3849. 2:43:58understanding AI is easy but using AI at
  3850. 2:44:01a scale is a different beast altogether.
  3851. 2:44:04Right? Yes. So this is simple about AI
  3852. 2:44:07agents. I'm going to help you understand
  3853. 2:44:08how AI agents are built. So,
  3854. 2:44:12a quick yes or no everyone if you have
  3855. 2:44:14ever built an agent.
  3856. 2:44:17A quick yes or no if you have ever built
  3857. 2:44:18an agent.
  3858. 2:44:27Cool. A lot of nos.
  3859. 2:44:30Cool. So, I I'll Okay. So, understand is
  3860. 2:44:32also a fantastic flow, but I'll show you
  3861. 2:44:35something even simpler. Okay. So you can
  3862. 2:44:36go to this app called relay.app.
  3863. 2:44:42This is free with enough credit. So I'm
  3864. 2:44:44using this. Okay. And it is very simple.
  3865. 2:44:46Okay. So I'll click on login.
  3866. 2:44:50I might be logged on already. Okay. So
  3867. 2:44:52I'm already logged in. Okay. So what
  3868. 2:44:53I'll do is I'll create a simple flow.
  3869. 2:44:55Okay. So I'll click on new workflow.
  3870. 2:45:00Now every agent starts from a understand
  3871. 2:45:03guys. uh this agent I am telling you
  3872. 2:45:06these agents that you can build the
  3873. 2:45:08production grade agents are different
  3874. 2:45:11the products that I'm going to give you
  3875. 2:45:13examples in just a moment they are also
  3876. 2:45:14agent but right now we are using like a
  3877. 2:45:16agent that you can also build on your
  3878. 2:45:17own okay this is for your own
  3879. 2:45:19productivity okay so the agent is
  3880. 2:45:24yes so the agent is will do the simple
  3881. 2:45:26thing at 8:00 a.m. In the morning it is
  3882. 2:45:32going to crawl my profile or any other
  3883. 2:45:33profile that you want to. It will take
  3884. 2:45:36all the posts and then it will summarize
  3885. 2:45:38these post and then it will send me an
  3886. 2:45:41email. That's it. Okay. Summarization
  3887. 2:45:44will happen with an AI. So add a
  3888. 2:45:46trigger. Trigger means when should this
  3889. 2:45:49event happen? When should this event
  3890. 2:45:52happen? Okay. So I will just go ahead
  3891. 2:45:54and click on
  3892. 2:45:56schedule trigger. It should happen
  3893. 2:46:02tomorrow or at today's 26th today at 8
  3894. 2:46:06a.m. So this time has already passed. I
  3895. 2:46:08can make it tomorrow.
  3896. 2:46:11Okay, it can run at this time and it
  3897. 2:46:14should run daily. I can also make it any
  3898. 2:46:16other time. Okay, this is how the event
  3899. 2:46:18is triggered. Okay, and then I'll click
  3900. 2:46:20on done.
  3901. 2:46:22To make it simple, I have chosen this
  3902. 2:46:24frequency. But you can also execute your
  3903. 2:46:26agent on any other event. For example,
  3904. 2:46:29when you send a message to Slack, when
  3905. 2:46:32you send and get an email from someone,
  3906. 2:46:34when you go ahead and maybe send a
  3907. 2:46:36message on Telegram, when you go ahead
  3908. 2:46:39and click a button, when you go ahead
  3909. 2:46:40and get a new lead from your CRM, you
  3910. 2:46:42can go ahead and add any kind of
  3911. 2:46:43triggers. Okay, this is just to make it
  3912. 2:46:45simple. Keep it simple, right? Then
  3913. 2:46:48we'll add a step. The other step is I
  3914. 2:46:50want to add LinkedIn.
  3915. 2:46:52So on LinkedIn I will just click on add
  3916. 2:46:55this tab. I will search for LinkedIn and
  3917. 2:46:56then
  3918. 2:46:59get LinkedIn
  3919. 2:47:01comments person post. I want some people
  3920. 2:47:04some person's post. I'll click on this
  3921. 2:47:07and then I'll select a URL. So what is
  3922. 2:47:09my LinkedIn URL? I'll go to this
  3923. 2:47:13LinkedIn
  3924. 2:47:16slashin
  3925. 2:47:20/ ankit.
  3926. 2:47:22So this is my LinkedIn profile.
  3927. 2:47:26I'll just click on this.
  3928. 2:47:28I will
  3929. 2:47:30enter manually. I will enter this
  3930. 2:47:34and then I want to get the top 10 posts
  3931. 2:47:38and then if posts are not returned then
  3932. 2:47:40continue without a result and then done.
  3933. 2:47:43Second step is done. The third step is I
  3934. 2:47:47have to summarize.
  3935. 2:47:49So I will summarize and then what will I
  3936. 2:47:52summarize? I will summarize posts. Next
  3937. 2:47:56it will automatically tell me what you
  3938. 2:47:57want to summarize based on what I have
  3939. 2:47:59sent from the last step. Okay. And then
  3940. 2:48:04this is the prompt.
  3941. 2:48:06Okay. I can do it better. I can go to
  3942. 2:48:09chat GPT
  3943. 2:48:12and I can ask chat GPT that write me an
  3944. 2:48:17effective prompt to
  3945. 2:48:21summarize my LinkedIn posts.
  3946. 2:48:32Right. So I will go ahead and copy this.
  3947. 2:48:38Right. I'll go ahead and copy this.
  3948. 2:48:40Okay. But to keep it simple, I'm not
  3949. 2:48:41using this. But you can just go ahead
  3950. 2:48:43and copy this and paste it there. Okay.
  3951. 2:48:45I'll go ahead with the simple one which
  3952. 2:48:47is summarize the attached post. Use
  3953. 2:48:49fewer than 100 words. Okay. Then access
  3954. 2:48:53to this this this this is this this.
  3955. 2:48:55Okay. Plain text. Okay.
  3956. 2:48:58Done.
  3957. 2:48:59Right. And then we have plus button
  3958. 2:49:03which is I want to send myself an email
  3959. 2:49:06whenever this happens.
  3960. 2:49:08Email send email to yourself. What is
  3961. 2:49:11the subject?
  3962. 2:49:13Summary from
  3963. 2:49:17Ankit's post add body. If I write X I
  3964. 2:49:21should if I rect the rate I should be
  3965. 2:49:22able to get the sum
  3966. 2:49:26AI output
  3967. 2:49:33summary is above
  3968. 2:49:36okay and then I'll go ahead and click on
  3969. 2:49:38done
  3970. 2:49:40right and now okay so everyone so far
  3971. 2:49:45write yes or no in the chat if you're
  3972. 2:49:46able to understand the flow so far it is
  3973. 2:49:48super simple Right.
  3974. 2:49:52Correct. And now what we'll do is we
  3975. 2:49:55will just go ahead
  3976. 2:49:58and try to test this start now. I can
  3977. 2:50:03test this, right? I don't have to wait
  3978. 2:50:04for morning tomorrow because you guys
  3979. 2:50:05would not be there. So I will test this
  3980. 2:50:13summarize with AI
  3981. 2:50:17and then an email to yours. So I'll
  3982. 2:50:19click on this. This is the email. The
  3983. 2:50:21post primarily promotes a free multi
  3984. 2:50:24session AIPM master class which drew
  3985. 2:50:26over 800 live attendees. The master
  3986. 2:50:29class focuses on mastering LLM. This
  3987. 2:50:31this this and this. I hope you guys
  3988. 2:50:33remember this
  3989. 2:50:35right now guys tell me confident in the
  3990. 2:50:38chat if you are confident in creating
  3991. 2:50:40your own agents now
  3992. 2:50:42tell me confident in the chat. Yes. So
  3993. 2:50:45understand this tooling was never
  3994. 2:50:48difficult.
  3995. 2:50:49This tooling was never difficult. What
  3996. 2:50:51one thing that AI has done is it has
  3997. 2:50:54gone ahead and made things simpler for
  3998. 2:50:57everyone. It has gone ahead and made
  3999. 2:51:00things super simpler for everyone. Okay.
  4000. 2:51:04As a person, you need to understand that
  4001. 2:51:05now you have so much power and you have
  4002. 2:51:08the power to exercise this power. You
  4003. 2:51:10have the ability to exercise this power.
  4004. 2:51:12Okay. Now you should focus on the right
  4005. 2:51:15use cases. Okay. So what I'll also do is
  4006. 2:51:21I will share with you a list. So Google
  4007. 2:51:22has created an amazing guide.
  4008. 2:51:25Google has created an amazing guide
  4009. 2:51:27which talks about what are the different
  4010. 2:51:30kind of use cases in different kind of
  4011. 2:51:32industries
  4012. 2:51:34for AI agents. I will share this guide
  4013. 2:51:37also with you in the slides so that you
  4014. 2:51:39are able to understand and then create
  4015. 2:51:41agents there. First whenever you create
  4016. 2:51:43any product understand the users and the
  4017. 2:51:46business. An AI product manager is a
  4018. 2:51:49product manager before they are an AI
  4019. 2:51:50product manager. Okay tools are easy. I
  4020. 2:51:53have already taught you the tools. they
  4021. 2:51:54are not so difficult. Important thing is
  4022. 2:51:56understanding to solve the right
  4023. 2:51:58problems.
  4024. 2:51:59Okay. And then when you create an AI
  4025. 2:52:02agent, these are the things that you
  4026. 2:52:04need. So this is a general stack that
  4027. 2:52:06you guys can go ahead and take a
  4028. 2:52:07screenshot of. In an agent, you need
  4029. 2:52:10reasoning so that you can summarize, you
  4030. 2:52:12can take decisions, you can call certain
  4031. 2:52:14kind of tools, right? And generally LLMs
  4032. 2:52:17are used. LM's large language models are
  4033. 2:52:19GPT, Claude, Llama and others. And small
  4034. 2:52:21language models are F3 and JMA.
  4035. 2:52:24Right? Similarly,
  4036. 2:52:27you need memory. For example, if you in
  4037. 2:52:31chat GPT, it remembers everything that
  4038. 2:52:32you have told. But when APIs are called
  4039. 2:52:34in in agents, they might forget about
  4040. 2:52:36your older conversation. So, you need to
  4041. 2:52:39save your memory. Okay. So, understand
  4042. 2:52:41here what has happened in this model.
  4043. 2:52:43What is memory? Let me tell you. So, in
  4044. 2:52:45this model, in this flow,
  4045. 2:52:48it found 10 post then it gathered the
  4046. 2:52:51data. It sent the data to the other step
  4047. 2:52:53where the AI summarized it and then it
  4048. 2:52:56was able to get that memory that data
  4049. 2:52:58that summarization to the next step.
  4050. 2:53:00This is called as memory. Making sure
  4051. 2:53:02that LLM and or the whole uh model the
  4052. 2:53:06whole agent is able to remember what you
  4053. 2:53:08just said. Right? This is called as
  4054. 2:53:10memory. And for memory we have multiple
  4055. 2:53:13tools.
  4056. 2:53:15For memory we have vector databases such
  4057. 2:53:18as pine cone, chroma, rag and feedback
  4058. 2:53:20loops. Right. And then there are tools.
  4059. 2:53:22Tools can be accessed with the help of
  4060. 2:53:24databases, visual agents and APIs. APIs
  4061. 2:53:26are available. There is something also
  4062. 2:53:28called as visual agents. Visual agents
  4063. 2:53:30is it will if it does not have an API,
  4064. 2:53:32it will act like a computer. It will
  4065. 2:53:34browse, it will click buttons in order
  4066. 2:53:36to get the data for you. Okay. And then
  4067. 2:53:40so open world operator is example of a
  4068. 2:53:42visual agent.
  4069. 2:53:45Right. Then we have orchestrators
  4070. 2:53:47platform on which you can create these
  4071. 2:53:49kind of tools these kind of agents. So
  4072. 2:53:51langraph crew AI NA10 is these
  4073. 2:53:55platforms. I have given you a new
  4074. 2:53:57example today which is array.app and
  4075. 2:53:59then we have guard rails. So now
  4076. 2:54:01understand AI agents are like fire. You
  4077. 2:54:06can use them to cook your own food. You
  4078. 2:54:08can use them to show away danger
  4079. 2:54:09animals. And you can also use it to burn
  4080. 2:54:10your own hands and burn your own home.
  4081. 2:54:13So guardrails are super important.
  4082. 2:54:16Guardrails make sure that your content
  4083. 2:54:18is relevant, your agents are safe, you
  4084. 2:54:20have you are not abusing the tools and
  4085. 2:54:23then you are also validating the output
  4086. 2:54:25before presenting it to users. Right? In
  4087. 2:54:28our major big program we tell you about
  4088. 2:54:30in detail of all of these things so that
  4089. 2:54:32you are able to build some secure
  4090. 2:54:34agents, production grade agents,
  4091. 2:54:38right? Yes. And uh these are some
  4092. 2:54:42examples of agents which are useful.
  4093. 2:54:43Customer support agents which will read
  4094. 2:54:46tickets, drafts, replies and then update
  4095. 2:54:49the CRM meeting productivity such as
  4096. 2:54:51fireflies, fireflies and granular that
  4097. 2:54:53we have discussed yesterday and bizops
  4098. 2:54:55business ops which is sepia or enterain
  4099. 2:54:57agents that monitor incoming data and
  4100. 2:54:59execute automations. Right? So this is
  4101. 2:55:01in a nutshell what agents are. Okay. Now
  4102. 2:55:05in the next part of the class we are
  4103. 2:55:06going to talk about how platforms such
  4104. 2:55:08as V coding platforms such as Lovable
  4105. 2:55:10Berchant on Vero works. Okay. But right
  4106. 2:55:14now let's take a quick break. Okay. So
  4107. 2:55:17before that everyone tell me on a scale
  4108. 2:55:18of 1 to five how good are you able to
  4109. 2:55:21understand everything so far?
  4110. 2:55:25Great. Cool. Amazing. Cool. So now
  4111. 2:55:27everyone a quick break of 4 minutes and
  4112. 2:55:31then we are going to come back.
  4113. 2:55:34Quick break of 4 minutes and then come
  4114. 2:55:36back.
  4115. 2:55:39I think we are right on time. How much
  4116. 2:55:42is the time?
  4117. 2:55:44Oh 911. Oh 911 is the time. So
  4118. 2:55:49great behind lovable.
  4119. 2:55:56Cool.
  4120. 2:56:00I'm sure many of you might have gone
  4121. 2:56:02ahead and tried your hands or at least
  4122. 2:56:06heard about these apps like these very
  4123. 2:56:09high growth apps called as lovable,
  4124. 2:56:11bolt, emergent, fezero. What they do is
  4125. 2:56:14you give them a prompt then they work in
  4126. 2:56:17the back end in order to create a
  4127. 2:56:18full-fledged application for you. Right?
  4128. 2:56:22What these app do at the back end is
  4129. 2:56:24something that I'm going to tell you
  4130. 2:56:25today. Okay, I'll tell you at a high
  4131. 2:56:28level how these things are supposed to
  4132. 2:56:29work.
  4133. 2:56:31But before that we should follow the
  4134. 2:56:33follow the rules. Okay, the first thing
  4135. 2:56:35is what is the user value? The user
  4136. 2:56:38value here is that as an entrepreneur,
  4137. 2:56:42as a product manager, as an engineer, I
  4138. 2:56:46either do not know how to code or I do
  4139. 2:56:49not have enough time to spend on a
  4140. 2:56:52unproven idea. So what I do is I give it
  4141. 2:56:55a prompt. I give I want a tool that can
  4142. 2:56:59help me build a full-fledged app that
  4143. 2:57:02can help me test my idea. Before these
  4144. 2:57:05kind of apps, before AI, what used to
  4145. 2:57:06happen? I will hire a developer. I'll
  4146. 2:57:08build something and then it will take me
  4147. 2:57:10a lot of time. Then it will take me a
  4148. 2:57:12lot of money and then maybe I'll know
  4149. 2:57:14that this thing is not working. Right?
  4150. 2:57:16Why? Because you only know if a product
  4151. 2:57:17is working when you go ahead and launch
  4152. 2:57:18it. So it was very difficult to build
  4153. 2:57:21full-fledged apps without the
  4154. 2:57:23involvement of a developer. These low
  4155. 2:57:25code tools that used to happen before
  4156. 2:57:26that like web flow and all they were not
  4157. 2:57:29very effective for any non-engineer.
  4158. 2:57:30They still used to take a lot of time.
  4159. 2:57:32So now with the possibility of AI we
  4160. 2:57:34have some tools with which we can just
  4161. 2:57:36go ahead and give it a prompt. It will
  4162. 2:57:37be able to go ahead and generate a full
  4163. 2:57:38website or an app. Right? So value
  4164. 2:57:41unlock is definitely there. Okay. But
  4165. 2:57:43you should define what is the market
  4166. 2:57:45that you are playing in. Is it engineers
  4167. 2:57:46or hobbyist or entrepreneurs or
  4168. 2:57:49non-coders that will define the UI and
  4169. 2:57:52the UX right and the strategy. Why
  4170. 2:57:54should the business pursue this
  4171. 2:57:55opportunity? There are so many people
  4172. 2:57:57who want to build their own products,
  4173. 2:58:00right? And traditionally these people
  4174. 2:58:02have not do not have the power to do
  4175. 2:58:04this. Why? Because technology could not
  4176. 2:58:06support it. Now what has happened right
  4177. 2:58:08now is that there is a technology called
  4178. 2:58:10as Gen AI through which this is possible
  4179. 2:58:13now. Okay. So now there is a huge
  4180. 2:58:15business opportunity out there. You can
  4181. 2:58:16do the sizing of the market in terms of
  4182. 2:58:18tam but there is a big market
  4183. 2:58:20opportunity right and many product
  4184. 2:58:23managers many entrepreneurs they want to
  4185. 2:58:24build quick prototypes before they can
  4186. 2:58:26go ahead and full-fledged take the
  4187. 2:58:28business the engineering resources there
  4188. 2:58:31is a business value the third part is
  4189. 2:58:33design how do we make it intuitive to
  4190. 2:58:35use so if you look at the platform such
  4191. 2:58:38as lovable
  4192. 2:58:40you'll be able to find multiple things
  4193. 2:58:43okay first is
  4194. 2:58:45these These platforms give you
  4195. 2:58:50a very good interface where you can just
  4196. 2:58:52write a prompt like a chat plus they
  4197. 2:58:55will let you to add
  4198. 2:58:58any screenshots. So most of the people
  4199. 2:59:00they are inspired. So they will go to a
  4200. 2:59:02website look at the website it is
  4201. 2:59:04looking good they will take a screenshot
  4202. 2:59:06and they want to make something like
  4203. 2:59:07that right and then they are also going
  4204. 2:59:12to give you examples of how other people
  4205. 2:59:14have done this. So you are getting some
  4206. 2:59:16inspiration. Okay. Plus they also make
  4207. 2:59:18sure that there is a community
  4208. 2:59:21which can go ahead and help you. So you
  4209. 2:59:23can go ahead and get added to this
  4210. 2:59:24community and then you can go ahead and
  4211. 2:59:27learn about how other people are using
  4212. 2:59:28Lovable. So it makes sure that you are
  4213. 2:59:29able to get on boarded on the platform
  4214. 2:59:31very very easily.
  4215. 2:59:34Right? And then they also have some
  4216. 2:59:35learning tutorials and all that makes
  4217. 2:59:37sure that it is easier for you to use.
  4218. 2:59:39And they have also made sure that they
  4219. 2:59:40have a free pricing plan.
  4220. 2:59:44Yes, I already have a paid plan. So they
  4221. 2:59:46do have a premium plan through which
  4222. 2:59:48they can you can go ahead and try the
  4223. 2:59:50platform before you go ahead and start
  4224. 2:59:52spending your money. Right? So this
  4225. 2:59:54makes sure that the platform is usable.
  4226. 2:59:55The ultimate usability is coming from
  4227. 2:59:57the simple fact that an LLM can allow
  4228. 2:59:59you to generate like convert your simple
  4229. 3:00:02prompt into a full-fledged website or a
  4230. 3:00:04web app. Okay. So this is the usability
  4231. 3:00:07and then how does it work?
  4232. 3:00:10Okay, how does it work? So this is the
  4233. 3:00:13simple architecture of these kind of
  4234. 3:00:14apps. Okay, the user will give the
  4235. 3:00:18input. Okay, the user will give a input
  4236. 3:00:21that please create a clone for Airbnb.
  4237. 3:00:24Simple but they are going to enhance it
  4238. 3:00:27with a system prompt. So they will write
  4239. 3:00:29a prompt like you are a senior level
  4240. 3:00:33system architect and a backend developer
  4241. 3:00:36and a front end or a fullstack developer
  4242. 3:00:39and now you have to create the app the
  4243. 3:00:42product that the user is requesting.
  4244. 3:00:45Make sure that you are going ahead and
  4245. 3:00:47following up with uh you are going ahead
  4246. 3:00:48and following all the engineering
  4247. 3:00:50principles and using these kind of files
  4248. 3:00:52and they would go ahead and give more
  4249. 3:00:53context. Okay. So your prompt whatever
  4250. 3:00:55you are giving will be enhanced with the
  4251. 3:00:58system prompt and then as a result what
  4252. 3:01:00you will have first it will create a
  4253. 3:01:02prompt to plan the whole product. Step
  4254. 3:01:04number one is create this file. Step
  4255. 3:01:06number two is create this file. Step
  4256. 3:01:07number three is create this function
  4257. 3:01:08then create an API. So it is going to
  4258. 3:01:10lay down the complete plan. After that
  4259. 3:01:13it will create files.
  4260. 3:01:15It has access to a virtual environment.
  4261. 3:01:18So now it is becoming agentic. Why? It
  4262. 3:01:20has an access to a tool. What is the
  4263. 3:01:22tool? The tool is a virtual environment.
  4264. 3:01:23So what will happen a virtual
  4265. 3:01:25environment is nothing a piece of
  4266. 3:01:27computer that is given to lovable where
  4267. 3:01:29it can go ahead and deploy your apps.
  4268. 3:01:32Okay. So it has access to a file system
  4269. 3:01:34it has access to an automatic
  4270. 3:01:35deployment. Okay. And then it is going
  4271. 3:01:37to keep on running the file on itself so
  4272. 3:01:39that it is able to understand if there
  4273. 3:01:41are any kind of mistakes and then
  4274. 3:01:43because it's an agent it is going to
  4275. 3:01:44automatically correct these mistakes and
  4276. 3:01:46eventually you are going to get the
  4277. 3:01:48output.
  4278. 3:01:50Okay. So lovable, emergent, vzero are
  4279. 3:01:54nothing. They are just agents which work
  4280. 3:01:57in a loop to correct the mistakes and
  4281. 3:02:00they also make sure that they have
  4282. 3:02:02access to some kind of file system where
  4283. 3:02:04they can host these files so that you as
  4284. 3:02:06a user can go ahead and access these
  4285. 3:02:07files.
  4286. 3:02:09Okay. So let me give you a moment. Okay.
  4287. 3:02:17This is chat GPT.
  4288. 3:02:19I am giving a simple prompt to charge
  4289. 3:02:21GBD. Okay.
  4290. 3:02:24I want to create a clone of
  4291. 3:02:29Okay. help me create a system prompt
  4292. 3:02:35that I can
  4293. 3:02:40use in my vibe coding app
  4294. 3:02:45where user can
  4295. 3:02:49enter their idea of app and the system
  4296. 3:02:55prompt will make it
  4297. 3:02:59detail. scale
  4298. 3:03:01effective
  4299. 3:03:03to be
  4300. 3:03:04able to create a
  4301. 3:03:08dependable
  4302. 3:03:11modern app
  4303. 3:03:13with
  4304. 3:03:16let's say JavaScript as the primary
  4305. 3:03:20language. Most of the apps you will see
  4306. 3:03:22that they are written in JavaScript.
  4307. 3:03:23Okay, I'll just click on this and then
  4308. 3:03:26I'll get a very detailed system prompt.
  4309. 3:03:34Yes. So here what will happen? While the
  4310. 3:03:36prompt is being generated, what will
  4311. 3:03:37happen here?
  4312. 3:03:40I will create a system.
  4313. 3:03:43If I want to create a clone of lovable,
  4314. 3:03:44I will create a system. This is the box.
  4315. 3:03:48User will input something. This request
  4316. 3:03:51will be added with my system prompt
  4317. 3:03:55and the user input will be added and
  4318. 3:03:58then it will be sent to an LLM and then
  4319. 3:03:59I'll get the complete set of
  4320. 3:04:01instructions.
  4321. 3:04:03Right? So this prompt I have taken. Now
  4322. 3:04:06this is a prompt system prompt. This you
  4323. 3:04:08are a Yoder. This this this is this this
  4324. 3:04:10this. And now you understand everything
  4325. 3:04:12is
  4326. 3:04:14mentioned here.
  4327. 3:04:17Right. This now will be sent to the LM.
  4328. 3:04:20Now based on this files would be
  4329. 3:04:23generated. So it will create a plan. In
  4330. 3:04:25the plan there would be some files,
  4331. 3:04:26there would be some testing, there would
  4332. 3:04:28be some functionality and then this will
  4333. 3:04:30be again sent to the prompt.
  4334. 3:04:33Right? You can actually create your own
  4335. 3:04:36lovable, your own emergent with the help
  4336. 3:04:39of relay app because there also you are
  4337. 3:04:41executing instructions step by step.
  4338. 3:04:47Right?
  4339. 3:04:50So this is how lovable and every
  4340. 3:04:52platform works on the back end. So agent
  4341. 3:04:54is nothing. It is thinking and accessing
  4342. 3:04:58tools in a loop. So they have
  4343. 3:05:01orchestrated them in such a way that
  4344. 3:05:02they are able to go ahead and execute
  4345. 3:05:04things again and again in a methodical
  4346. 3:05:07or a step-wise manner. Right? Now agents
  4347. 3:05:10are built on multiple patterns. One
  4348. 3:05:11pattern is that there is one agent who
  4349. 3:05:12is doing multiple task. Then
  4350. 3:05:16let's say if I give you people an
  4351. 3:05:17assignment that tomorrow you have to
  4352. 3:05:18create a case study on lovable five
  4353. 3:05:20people in the same team. Okay. Now what
  4354. 3:05:23will happen? I believe that if five
  4355. 3:05:24people are working on the same team the
  4356. 3:05:26quality should improve. That is why I'm
  4357. 3:05:27putting five people and I'm giving you
  4358. 3:05:30less time. For an individual I would
  4359. 3:05:31have given one week but for five people
  4360. 3:05:33I'm giving two days. So now because I
  4361. 3:05:35think that efficiency will increase. So
  4362. 3:05:37now what you guys will do is you will
  4363. 3:05:39divide the work among yourself that I
  4364. 3:05:41will look do the research you do the
  4365. 3:05:43direct someone is going to do the design
  4366. 3:05:45someone is going to do something else.
  4367. 3:05:47Okay. And when you go ahead and come
  4368. 3:05:49back you are going to go ahead and
  4369. 3:05:50combine all the out outputs and then you
  4370. 3:05:52are going to create something which is a
  4371. 3:05:54one case study. So this is how agents
  4372. 3:05:56also do the orchestration. So there is
  4373. 3:05:58also design patterns in agents which
  4374. 3:06:01define how different agents are going to
  4375. 3:06:03work with each other.
  4376. 3:06:06Okay. So this is in a nutshell what
  4377. 3:06:08agents are. Okay. Everyone tell me on a
  4378. 3:06:11scale of 1 to five you're able to
  4379. 3:06:13understand agents.
  4380. 3:06:17Yes. So please everyone please
  4381. 3:06:18understand things from first principles
  4382. 3:06:20which is agent is nothing. Agent did not
  4383. 3:06:23existed. AI agent did not existing 4
  4384. 3:06:25years ago. Okay. So it's very simple. If
  4385. 3:06:28you are creating a workflow which can
  4386. 3:06:31have an AI LLM in between which can
  4387. 3:06:34execute actions for you and do some
  4388. 3:06:36intelligent task that is an AI agent.
  4389. 3:06:40Right now after this
  4390. 3:06:44there is one problem with the agents.
  4391. 3:06:45The problem is that the agents in order
  4392. 3:06:49to act they need to connect with tools.
  4393. 3:06:52LinkedIn is one platform,
  4394. 3:06:55Gmail is one platform, Google Drive is
  4395. 3:06:58one platform, maybe your SMS is one
  4396. 3:07:00platform, your Telegram is one platform
  4397. 3:07:02and there are so many platform, your
  4398. 3:07:03Slack is one platform. So they need to
  4399. 3:07:05connect with many tools. And if you are
  4400. 3:07:07someone who is building agents where LLM
  4401. 3:07:09needs to connect with the agents with
  4402. 3:07:11the tools, then it's a nightmare to read
  4403. 3:07:13every API and connect your product with
  4404. 3:07:16the API. Okay. So if so many let's say
  4405. 3:07:21like one LM has to connect with multiple
  4406. 3:07:23products then everyone has their unique
  4407. 3:07:25API. So that is a nightmare. So now what
  4408. 3:07:29these people have done is enthropic the
  4409. 3:07:31people behind claude they have created a
  4410. 3:07:34simple thing which is they told everyone
  4411. 3:07:37that if you want to they have told Gmail
  4412. 3:07:39slack Jira everyone and the whole world
  4413. 3:07:41that if anyone wants the LLM to use
  4414. 3:07:44their APIs
  4415. 3:07:46please go ahead and create something
  4416. 3:07:48called as model context protocol or MCP.
  4417. 3:07:51So what is an MCP? MCPS is these people
  4418. 3:07:55have created one more versions of their
  4419. 3:07:57APIs or a layer over their APIs which
  4420. 3:08:00can be understood by large language
  4421. 3:08:02models.
  4422. 3:08:05Right? So maybe yesterday only or a
  4423. 3:08:08couple of days before Zumato has
  4424. 3:08:10launched their own MCP. So Zumato is an
  4425. 3:08:13Indian website where you can is an
  4426. 3:08:14Indian app or website where you can go
  4427. 3:08:16ahead and order food. So this is the
  4428. 3:08:18detailed article on the same where is
  4429. 3:08:20that? Yes. So now you can go ahead and
  4430. 3:08:24do so many things from your cloud. So on
  4431. 3:08:27your cloud desktop or your chat GPT
  4432. 3:08:29desktop you can go ahead and install
  4433. 3:08:31this uh uh this cla this summato MCP and
  4434. 3:08:34then you should be able to go ahead and
  4435. 3:08:37write these kind of queries Indian food
  4436. 3:08:39in your Indraagar pizza under 200 rupees
  4437. 3:08:42and then you should be able to make an
  4438. 3:08:43order from there only. Right. So now
  4439. 3:08:46Zumato has an API which already existed
  4440. 3:08:48for a long period of time but you cannot
  4441. 3:08:51have conversation with an API through
  4442. 3:08:53the LLM through natural language. Now
  4443. 3:08:56they have created an MCP. What does an
  4444. 3:08:57MCP do? MCP converts the natural
  4445. 3:09:01language helps the LLM to talk with the
  4446. 3:09:04API in natural language.
  4447. 3:09:07Right? That is an NCP. Okay. And there
  4448. 3:09:09are multiple I'll share this link with
  4449. 3:09:11you so that you are able to go and
  4450. 3:09:12understand how it is created. Understand
  4451. 3:09:14it's not difficult to create MCP. What
  4452. 3:09:16you need to do is if you are a product
  4453. 3:09:19like Zumat or any other product in the
  4454. 3:09:20world, you would have an API
  4455. 3:09:22documentation. Take that API
  4456. 3:09:24documentation, go to chat GPT and ask it
  4457. 3:09:27to convert into an MCP. It will give you
  4458. 3:09:30a file that you have to host on your
  4459. 3:09:31server and then you are done. You have
  4460. 3:09:32to do a couple of testing as well but
  4461. 3:09:34that is done
  4462. 3:09:38right. So that is model context
  4463. 3:09:39protocol. So in model context protocol
  4464. 3:09:41we have three components. The first part
  4465. 3:09:43is the AI host where you are going to
  4466. 3:09:45send query. So it could be claude,
  4467. 3:09:48cursor, chat, GPT. This is where your
  4468. 3:09:50MCP client is going to be there. This is
  4469. 3:09:51your MCP client. Okay. Then there's an
  4470. 3:09:55MCP server that is hosted at the person
  4471. 3:09:58who has given you the MCP which is
  4472. 3:10:00Zumato or Razer Pay or something. And
  4473. 3:10:02then there is a data source. This is
  4474. 3:10:04stored at Zumato or somewhere where you
  4475. 3:10:06can go ahead and have the data or you
  4476. 3:10:07can take actions. Okay. So any MCP
  4477. 3:10:10server will give you a small file that
  4478. 3:10:12is called as client configuration file.
  4479. 3:10:14You have to enter it into your cloud or
  4480. 3:10:16any of the LLM that you are using and
  4481. 3:10:18then your agent will be able to talk to
  4482. 3:10:19these tools without understanding the
  4483. 3:10:21API.
  4484. 3:10:24Right? So this is MCP. You can go ahead
  4485. 3:10:25and read more about it. Right? Yes. So
  4486. 3:10:29we have talked about so many things so
  4487. 3:10:30far.
  4488. 3:10:32Cool.
  4489. 3:10:37Everyone tell me how would you describe
  4490. 3:10:39the session so far in one word so that I
  4491. 3:10:41know if we are going in the right
  4492. 3:10:42direction.
  4493. 3:10:43Tell me how would you explain this
  4494. 3:10:46session so far in one word so that I can
  4495. 3:10:48go ahead and
  4496. 3:10:52tell you something more.
  4497. 3:10:54Yes.
  4498. 3:10:56Great. Now let me just go ahead. Thank
  4499. 3:10:58you. Thank you everyone. Thank you for
  4500. 3:10:59the nice words. Now I think we are on
  4501. 3:11:01time. So we have some more time. So I'll
  4502. 3:11:03give you
  4503. 3:11:05one more thing. Okay, which is
  4504. 3:11:08evaluations.
  4505. 3:11:09Look at this very carefully. Okay, so
  4506. 3:11:12there are some challenges
  4507. 3:11:14that happen in building AI products. The
  4508. 3:11:17challenges are they hallucinate. They
  4509. 3:11:19have certain kind of biases and they are
  4510. 3:11:22indeterministic.
  4511. 3:11:23Okay. But understand nowadays you people
  4512. 3:11:25would be understanding that language
  4513. 3:11:27models are becoming more and more
  4514. 3:11:28intelligent. Okay. If you find that
  4515. 3:11:30there is an error, you can ask it to
  4516. 3:11:33correct that error and it corrects that
  4517. 3:11:34error. Okay. But still large language
  4518. 3:11:37models are these powerful beast. If you
  4519. 3:11:42leave them without a leash then they can
  4520. 3:11:44do a lot of disaster to your customers.
  4521. 3:11:46Okay. So this is what AI believes like.
  4522. 3:11:50Okay. It believes that it has all the
  4523. 3:11:51content in the world and it can give
  4524. 3:11:53answers like wrong answers with complete
  4525. 3:11:56confidence.
  4526. 3:11:58Okay. So that is why we have something
  4527. 3:12:00to tame these beast. The leash that
  4528. 3:12:03works on your LLMs is called as
  4529. 3:12:05evaluations.
  4530. 3:12:07Okay. And what happens is whenever your
  4531. 3:12:10LLM is not working and if you're not
  4532. 3:12:12getting the right kind of output, there
  4533. 3:12:14are certain issues and you can resolve
  4534. 3:12:16these issues with three things. Okay. So
  4535. 3:12:19when you are building any kind of GI
  4536. 3:12:21product, you have to take three
  4537. 3:12:23important decisions. The one important
  4538. 3:12:25decision is what is the model that you
  4539. 3:12:27are going to choose. If you choose a
  4540. 3:12:29very high quality model then you have to
  4541. 3:12:31pay more cost. If you choose a very low
  4542. 3:12:34cost model
  4543. 3:12:37then you have an issue of accuracy.
  4544. 3:12:40Right? Similarly rag instrumentation in
  4545. 3:12:44rag there are multiple components.
  4546. 3:12:48If your chunk size is not correct then
  4547. 3:12:51the information that it is giving you
  4548. 3:12:52would be incorrect. If you understand I
  4549. 3:12:55have told you that there is a vector
  4550. 3:12:56embedding but for vector embedding also
  4551. 3:12:58there are multiple algorithms which
  4552. 3:13:00algorithm should you use okay it depends
  4553. 3:13:02on the use case. So what is going to be
  4554. 3:13:05the instrumentation of your rag? What is
  4555. 3:13:07the vector algorithm? What is the size
  4556. 3:13:09of chunking? What are the different kind
  4557. 3:13:11of model that you will use? That is also
  4558. 3:13:13very important.
  4559. 3:13:14Okay. These are the decision that you
  4560. 3:13:16need to take. And then context
  4561. 3:13:18engineering. What should be the prompt?
  4562. 3:13:20How long should be the context? how you
  4563. 3:13:22should give the instructions. These
  4564. 3:13:24things are going to determine whether
  4565. 3:13:26your geni app is working rightly or not.
  4566. 3:13:29And this is actually engineering.
  4567. 3:13:31Engineering why? Because there is going
  4568. 3:13:33to be a lot of course correction.
  4569. 3:13:37Okay. So in order to do these things, in
  4570. 3:13:40order to understand whether our geni
  4571. 3:13:43application is working well or not, we
  4572. 3:13:45have something called as evaluations. So
  4573. 3:13:47what evaluations do is they check the
  4574. 3:13:49output for correct syntax and formats
  4575. 3:13:52for bias for correctness relevance and
  4576. 3:13:54other unnecessary checks. Okay. So for
  4577. 3:13:57example
  4578. 3:13:59if on notebook LM al on granular we
  4579. 3:14:04generated a summary we want to
  4580. 3:14:05understand whether this summary is
  4581. 3:14:07actually aligned with whatever has been
  4582. 3:14:09said in the meeting or not. So how do we
  4583. 3:14:10test this? We test this with the help of
  4584. 3:14:13large language models. Okay. So what we
  4585. 3:14:17do is
  4586. 3:14:19to help you understand I'm going to give
  4587. 3:14:21you a case study on the AI first job
  4588. 3:14:23website. Okay. So tell me in the chat
  4589. 3:14:27how many people are looking for jobs.
  4590. 3:14:30Tell me in the chat yes or no if you're
  4591. 3:14:31looking for a job.
  4592. 3:14:39Yes guys even if you don't know your
  4593. 3:14:42colleagues and your bosses might be
  4594. 3:14:44present in this meeting. Now
  4595. 3:14:47I will give you an idea. Okay. And I'm
  4596. 3:14:49sure many people would have faced this.
  4597. 3:14:50Okay. So let's say I am creating a new
  4598. 3:14:53kind of job website where what I'll do
  4599. 3:14:55is I will crawl all the websites from
  4600. 3:14:58the all I will crawl all the jobs from
  4601. 3:15:01major websites from the internet. So
  4602. 3:15:03I'll go to hired, I'll go to LinkedIn,
  4603. 3:15:06I'll go to no, I'll go to Instaire, I'll
  4604. 3:15:08go to multiple websites. I'll go to
  4605. 3:15:09indeed and other websites in order to
  4606. 3:15:12crawl jobs. scroll as in I will go to
  4607. 3:15:14this website automatically I will get
  4608. 3:15:17the content and I'll scrape the jobs so
  4609. 3:15:19now I have a job database I have
  4610. 3:15:23database of all the job descriptions
  4611. 3:15:25titles companies and everything right
  4612. 3:15:28now what I'll do is I will enhance this
  4613. 3:15:31job with LLM I will enhance this job
  4614. 3:15:35with LLM and by enhancing what I mean is
  4615. 3:15:37I will give it a prompt and then what
  4616. 3:15:39I'll do is I will generate this output
  4617. 3:15:42so I will enter a job description and
  4618. 3:15:45then the LLM will give me summary of the
  4619. 3:15:47job description
  4620. 3:15:50possible interview question. So from the
  4621. 3:15:51job description in the company it will
  4622. 3:15:53try to understand what are the question
  4623. 3:15:55that can be asked
  4624. 3:15:57skills that are needed to do this job
  4625. 3:16:00learning guide for this job and quiz for
  4626. 3:16:03assessment which is a small quiz that
  4627. 3:16:05will help me understand whether I'm
  4628. 3:16:06ready to fill or apply for this job or
  4629. 3:16:09not. Okay, this is a simple website that
  4630. 3:16:13I need to create. Okay, tell me everyone
  4631. 3:16:16will this kind of website will be
  4632. 3:16:17helpful for you or not? People are
  4633. 3:16:18looking for jobs.
  4634. 3:16:24Yes. So, it will give you some more
  4635. 3:16:26context about the job description.
  4636. 3:16:31Right. So, now and this can be created.
  4637. 3:16:35You can go ahead and create this website
  4638. 3:16:37today also like by using labable or
  4639. 3:16:39something. Okay. But now there is an
  4640. 3:16:41issue. How do I know this job
  4641. 3:16:43description, interview question, skill
  4642. 3:16:45needed, learning guide, everything is
  4643. 3:16:46good or not. Okay. So I'm going to
  4644. 3:16:49introduce one method of so understand
  4645. 3:16:52these things that I have told you which
  4646. 3:16:54is all of these things they are done
  4647. 3:16:57with multiple methods. One of the method
  4648. 3:17:00to run your evaluations is called as LLM
  4649. 3:17:04as a judge. So we run our outputs
  4650. 3:17:09through another more intelligent LLM in
  4651. 3:17:12order to understand whether it is
  4652. 3:17:13correct output or not. Okay. So here the
  4653. 3:17:16issue is that although I'm generating
  4654. 3:17:18good information but this information
  4655. 3:17:19can be wrong.
  4656. 3:17:21Okay. So what I'll do is I'll do this.
  4657. 3:17:23Okay. So I have crawled a job from the
  4658. 3:17:25internet. I have stored them in my
  4659. 3:17:28database. I have ran them through
  4660. 3:17:32LLMs and then I have created this
  4661. 3:17:35content.
  4662. 3:17:37I have created this content.
  4663. 3:17:39Now what I'll do is I will get all of
  4664. 3:17:43these things
  4665. 3:17:46again go through another LLM in order to
  4666. 3:17:48understand which is called as evaluation
  4667. 3:17:51that whether this content is correctly
  4668. 3:17:53created or not. This is called as LLM as
  4669. 3:17:58a judge
  4670. 3:18:01and then I will find out whether the
  4671. 3:18:02content is correct or not. This is a
  4672. 3:18:04simple method of evaluation. Let me show
  4673. 3:18:06you how it works.
  4674. 3:18:19Yes. So this is the evaluation. Look at
  4675. 3:18:21this very carefully guys. This is the
  4676. 3:18:22prompt that I'll go to the I'll give to
  4677. 3:18:24the another LM. Okay. You are an AI
  4678. 3:18:27content quality evaluator for product
  4679. 3:18:29management job listings.
  4680. 3:18:31Given the following, this is the
  4681. 3:18:32original job description. This is the AI
  4682. 3:18:35generated summary. This is the interview
  4683. 3:18:37question. This is the output from the
  4684. 3:18:39other LLM. Right? These are the skills.
  4685. 3:18:42These are the concept. This is a quiz.
  4686. 3:18:44Evaluate the content using the following
  4687. 3:18:46checklist. Is the summary accurate?
  4688. 3:18:47Interview questions correct? Listed
  4689. 3:18:49skills aligned? Are the concept useful?
  4690. 3:18:51Is the quiz challenging? is any
  4691. 3:18:52information correct or hell needing and
  4692. 3:18:54then give me the response in this
  4693. 3:18:56particular format
  4694. 3:18:59okay then I'll have a dashboard where
  4695. 3:19:01for every job description this score
  4696. 3:19:03would be mentioned then I would know
  4697. 3:19:05whether my LLM is working correctly or
  4698. 3:19:07not okay so let's say if I get poor or
  4699. 3:19:12fair or low or weak what I'll do is I
  4700. 3:19:14will go back I will again try to tweak
  4701. 3:19:17these things
  4702. 3:19:19if my quality is add then I will maybe
  4703. 3:19:23choose change the model or I'll change
  4704. 3:19:25the rag instrumentation or I'll go ahead
  4705. 3:19:27and change the context engineering which
  4706. 3:19:29is the prompt that I have given okay
  4707. 3:19:31that is how you improve upon AI product
  4708. 3:19:33with the help of evaluation this is a
  4709. 3:19:35super simplistic example of evaluations
  4710. 3:19:38okay there are codebased evaluations as
  4711. 3:19:40well there are LLM based evaluations as
  4712. 3:19:42well generally this evaluation LLM that
  4713. 3:19:44you use so this is
  4714. 3:19:49LLM1 and this is LLM2. This LLM is
  4715. 3:19:52generally a more intelligent LLM which
  4716. 3:19:54is able to assess.
  4717. 3:19:56Right? So this is an example of
  4718. 3:19:58evaluation. Everyone a quick yes or no
  4719. 3:20:00if you're able to understand this.
  4720. 3:20:13Yes, there are many open source LLM
  4721. 3:20:15guys. OpenAI OSS is an open source LLM.
  4722. 3:20:19Lama is an open source LLM.
  4723. 3:20:24Right? So this is there. Now we have
  4724. 3:20:27almost completed the session. This is
  4725. 3:20:29some set of tools. If you guys are
  4726. 3:20:31curious, you can go ahead and start
  4727. 3:20:32using this in your product management
  4728. 3:20:34workflow. There is also a detailed video
  4729. 3:20:36on this on our YouTube channel. Okay. AI
  4730. 3:20:39for PM toolkit discovery for discovery
  4731. 3:20:41for discovering what to build chat GP
  4732. 3:20:44notebook perplexity mix panel textsql.
  4733. 3:20:46Okay. for delivering at intelligence
  4734. 3:20:49which is nothing but Jira, Asana, Vzero,
  4735. 3:20:52Kurser, Postbot, Figma which you can use
  4736. 3:20:54to create wireframes prototypes very
  4737. 3:20:56quickly. Okay. And then for distribution
  4738. 3:20:58you have craftable, chatbased, notion,
  4739. 3:20:59genex, moage that can help you create
  4740. 3:21:01marketing materials, collaborate with
  4741. 3:21:03your team and look at analytics.
  4742. 3:21:06Okay. So try to explore these tools at
  4743. 3:21:08your own time so that you are able to
  4744. 3:21:09become an AI enabled PM as well.
  4745. 3:21:11Whatever we have discussed so far was
  4746. 3:21:12for AI like applied AIPM, right? And
  4747. 3:21:16then one more important thing guys
  4748. 3:21:20that in this program like so far what I
  4749. 3:21:23have done is
  4750. 3:21:25I have given you information
  4751. 3:21:28I have given you information about
  4752. 3:21:31evaluations
  4753. 3:21:32about agents about various tools about
  4754. 3:21:36rack about prompt engineering about
  4755. 3:21:38finetuning but information is not
  4756. 3:21:40helpful for you information is just a
  4757. 3:21:42couple of prompts away what you need is
  4758. 3:21:46knowledge.
  4759. 3:21:49And how do you convert information into
  4760. 3:21:50knowledge? With the help of action
  4761. 3:21:54and with the help of feedback
  4762. 3:21:58and reflection.
  4763. 3:22:01Right? So what you need to do is please
  4764. 3:22:04do not limit yourself to only this
  4765. 3:22:06knowledge.
  4766. 3:22:08Go ahead and do something. Doing as in
  4767. 3:22:11go ahead and build something. Okay? You
  4768. 3:22:14have so much information available
  4769. 3:22:15across the internet. Utilize and try to
  4770. 3:22:18go ahead and build something right. If
  4771. 3:22:20you guys are looking for mentorship then
  4772. 3:22:22we also have a very detailed program. So
  4773. 3:22:25understand whatever I have told you in
  4774. 3:22:26this last two session that is not even
  4775. 3:22:2810% of what we teach in our bigger
  4776. 3:22:31program. So if you really found this
  4777. 3:22:33information genuine useful I teach a
  4778. 3:22:36bigger program which is a 15week program
  4779. 3:22:38on AI product management. Okay you can
  4780. 3:22:41go to the website you can get all the
  4781. 3:22:42details out there. But if you have to
  4782. 3:22:44ask me let's say three reasons why you
  4783. 3:22:46should join LOPM program
  4784. 3:22:48against other programs is very simple.
  4785. 3:22:51First it is the most detailed AI product
  4786. 3:22:54management program. We first talk about
  4787. 3:22:56the traditional product management then
  4788. 3:22:57we talk about AI product management. You
  4789. 3:22:59can go to the website you can compare
  4790. 3:23:01the curriculum. You can compare
  4791. 3:23:02curriculum to any other course in the
  4792. 3:23:04world. You will not be able to find a
  4793. 3:23:06more detailed program. First point.
  4794. 3:23:08Second point is everything is practical.
  4795. 3:23:10We believe in doing things. So in the
  4796. 3:23:13end of the program, you're actually
  4797. 3:23:14going to go ahead and build your own
  4798. 3:23:15product. Okay. So if you go ahead and go
  4799. 3:23:17to the website,
  4800. 3:23:22if you go ahead and go to the website
  4801. 3:23:24hellom.co, you should be able to find in
  4802. 3:23:27the curriculum section that this is the
  4803. 3:23:29whole curriculum. Everything is
  4804. 3:23:30supported with a lot of case studies and
  4805. 3:23:32tools.
  4806. 3:23:34Plus in the end of the sessions, we are
  4807. 3:23:37also going to help you build your own AI
  4808. 3:23:39product.
  4809. 3:23:42This helps you prove to other people and
  4810. 3:23:44to yourself that you are not an
  4811. 3:23:46information seeker. You are actually
  4812. 3:23:48someone who understands how to build
  4813. 3:23:50products and this is a big opportunity
  4814. 3:23:52for you. Right. And we also help you
  4815. 3:23:55prepare for interviews and all that is
  4816. 3:23:56given. And then
  4817. 3:24:01yes and then the third part is we are
  4818. 3:24:03the only program that supports you for
  4819. 3:24:05the long term. Even if you have
  4820. 3:24:08completed the program, we understand
  4821. 3:24:10that some people are able to get the job
  4822. 3:24:11within the program, some people get the
  4823. 3:24:13job after the program. We support you
  4824. 3:24:15for a period of two years. So in these
  4825. 3:24:16two years, if you have any questions,
  4826. 3:24:18any feedback, anything that you want to
  4827. 3:24:19get help from us, you should be able to
  4828. 3:24:21talk to us. Okay. And every week, we
  4829. 3:24:23keep on doing sessions to make sure that
  4830. 3:24:24you are able to learn. Okay. The
  4831. 3:24:30Yes.
  4832. 3:24:34Yes. And you can go to the website in
  4833. 3:24:37order to check all the other details
  4834. 3:24:38that are out there. The cost of the
  4835. 3:24:40program stands at 75,000 rupees or
  4836. 3:24:43$1,000 if you are outside from India.
  4837. 3:24:45Okay. But it is my assurance that if you
  4838. 3:24:47go ahead and take this program, this is
  4839. 3:24:48going to go ahead and give you a lot of
  4840. 3:24:50content,
  4841. 3:24:54right? We don't give any kind of
  4842. 3:24:56discounts, but this is the context. You
  4843. 3:24:58if you want to get more information
  4844. 3:25:00about this cohort, just go to the
  4845. 3:25:01website hello.co and then click on this
  4846. 3:25:04video. You should be able to get all the
  4847. 3:25:05information right now
  4848. 3:25:09an important part. Okay, that is why
  4849. 3:25:10I've given you this context.
  4850. 3:25:14Yes,
  4851. 3:25:16classes are conducted on Saturday and
  4852. 3:25:18Sunday evening 8:30 to 10:30 for ISD and
  4853. 3:25:21morning for the US batches. Okay. So now
  4854. 3:25:24everyone understand
  4855. 3:25:26if you really want to get into AI
  4856. 3:25:27product management you have to build a
  4857. 3:25:29strong portfolio so that people
  4858. 3:25:31understand that you have what it takes.
  4859. 3:25:34Okay. You are actually not a talker but
  4860. 3:25:36a doer. Okay. So what you should do is
  4861. 3:25:39in order to create a portfolio you can
  4862. 3:25:41start very small. You start by
  4863. 3:25:44commenting and start by creating content
  4864. 3:25:46about geni. Understand for yourself.
  4865. 3:25:49Okay. Then do tear down in case studies.
  4866. 3:25:52Then do product improvements and go
  4867. 3:25:54ahead and build some like try to go
  4868. 3:25:55ahead and build some hypothesis of the
  4869. 3:25:57products. After that build some side
  4870. 3:25:59projects and then if you have already
  4871. 3:26:00done some past work you can include all
  4872. 3:26:02of these things and then you can use in
  4873. 3:26:04your portfolio. You can go to the hello
  4874. 3:26:06channel there we have created. So if you
  4875. 3:26:08go to the hello channel on YouTube
  4876. 3:26:14we have an amazing playlist called as
  4877. 3:26:18summer of product. Okay. Or this is the
  4878. 3:26:21playlist getting started with product
  4879. 3:26:22management or summer of product where I
  4880. 3:26:24have explained how to create a
  4881. 3:26:25portfolio.
  4882. 3:26:31Okay. And then the last part is this.
  4883. 3:26:34This is the most important slide. What
  4884. 3:26:36you should do is please do not limit
  4885. 3:26:38this information that I have told you so
  4886. 3:26:40far to just this session. Okay? Don't
  4887. 3:26:43forget about everything as soon as you
  4888. 3:26:45leave the session. Please take action.
  4889. 3:26:46What you should do is reverse engineer
  4890. 3:26:48top AI products in the same way that I
  4891. 3:26:50have told you. Understand gaps,
  4892. 3:26:52frustrations in your personal and
  4893. 3:26:53professional workflow. Build AI tools
  4894. 3:26:55and agents to solve these problems.
  4895. 3:26:57Start writing what you are learning. Tag
  4896. 3:26:59me. I'll be able to like and post and
  4897. 3:27:01depost. Right? And then keep a track of
  4898. 3:27:03AI companies what they are doing. Help
  4899. 3:27:05them improve, enhance, expand and then
  4900. 3:27:06follow up. Try to find companies who are
  4901. 3:27:09do really doing good and then understand
  4902. 3:27:12their product. Reverse engineer the
  4903. 3:27:14product. Suggest improvements. reach out
  4904. 3:27:16to the founders and then follow up with
  4905. 3:27:18the founders. Most of the time you are
  4906. 3:27:19going to get some appreciation,
  4907. 3:27:21attention and maybe a job.
  4908. 3:27:24Okay, there are many people that we have
  4909. 3:27:26helped came from completely non- tech
  4910. 3:27:28background, some senior background, some
  4911. 3:27:29junior background and they were able to
  4912. 3:27:30become product managers. You can go
  4913. 3:27:32ahead and look at this playlist called
  4914. 3:27:34as transition to product management
  4915. 3:27:36where you can read their stories.
  4916. 3:27:38Okay. So this is it about today's
  4917. 3:27:40session guys. Yes. Uh the flagship
  4918. 3:27:43program is four weeks of foundation PM
  4919. 3:27:48content which is strategy and product
  4920. 3:27:49sense.
  4921. 3:27:528 weeks of going ahead and creating like
  4922. 3:27:55understanding AI in detail. So
  4923. 3:27:56understand if I can give you this much
  4924. 3:27:58information in 2 days what can I do in 8
  4925. 3:28:01weeks or maybe 15 weeks and then there
  4926. 3:28:04are three weeks of building your own
  4927. 3:28:06product.
  4928. 3:28:08So flagship program covers the entire
  4929. 3:28:10AIPM syllabus.
  4930. 3:28:15If some of you wants to check how does a
  4931. 3:28:17hello cohort looks like,
  4932. 3:28:20let me show you something. Give me a
  4933. 3:28:21moment.
  4934. 3:28:41Yes,
  4935. 3:28:42I have shared a link in the chat. This
  4936. 3:28:45is the detailed video
  4937. 3:28:47where we have shared the kickstarting
  4938. 3:28:50call for a cohort. So at hello PM, we
  4939. 3:28:52try to keep things as transparent as
  4940. 3:28:55possible. We love that. We love being
  4941. 3:28:57honest in this really corrupted tech
  4942. 3:28:59world. So I have gone ahead and shared a
  4943. 3:29:02link where you can understand who are
  4944. 3:29:03the kind of people who join, what are
  4945. 3:29:05their backgrounds so that you are able
  4946. 3:29:07to go ahead and take a better call.
  4947. 3:29:14Yes. And there is a lot of free content
  4948. 3:29:16that is available on our YouTube
  4949. 3:29:17channel. You guys should absolutely go
  4950. 3:29:19ahead and check it out. The placement
  4951. 3:29:20support that we offer is including four
  4952. 3:29:22things. We offer you we help you create
  4953. 3:29:24a better resume.
  4954. 3:29:27We help you build a strong portfolio.
  4955. 3:29:29We help you prepare better for the
  4956. 3:29:31interviews and then we also have an
  4957. 3:29:33internal job board where alumni or
  4958. 3:29:35network companies and other companies
  4959. 3:29:38that we seek out to also list your jobs
  4960. 3:29:40and for many of these jobs referrals and
  4961. 3:29:42recommendations might also be available.
  4962. 3:29:44We do not guarantee placements but we
  4963. 3:29:46help you out in all the possible ways
  4964. 3:29:48that we can and we also uh are available
  4965. 3:29:52across the gloes. So we have a lot of
  4966. 3:29:54people who are going to join from UK,
  4967. 3:29:57from the US, from Canada, Australia, New
  4968. 3:29:59Zealand and as well from India.
  4969. 3:30:03And this happens because of a large
  4970. 3:30:07alumni network that we have created.
  4971. 3:30:16You can use self-hosted LLMs without
  4972. 3:30:19having internet, but you should have a
  4973. 3:30:20powerful computer.
  4974. 3:30:24Cool. Thank you everyone. I'll just go
  4975. 3:30:26ahead and end the session now. Thanks a
  4976. 3:30:28lot for choosing to spend your weekend
  4977. 3:30:30with me and with Hello PM. I believe I
  4978. 3:30:33was able to go ahead and add some kind
  4979. 3:30:35of value as available from the feedback
  4980. 3:30:37and the LinkedIn comments. We are very
  4981. 3:30:39soon going to conduct more sessions. The
  4982. 3:30:42next batch is going to start from 9th of
  4983. 3:30:43November. So take your time. Understand
  4984. 3:30:45you do not have to take this decision in
  4985. 3:30:47FOMO. Go ahead, take the right decision
  4986. 3:30:50and understand it is not just a time
  4987. 3:30:52invest. It is not just a money
  4988. 3:30:53investment but it's an important time
  4989. 3:30:54investment. Okay? So take your decision
  4990. 3:30:57by understanding everything. We want you
  4991. 3:31:00to win but once you come in the session
  4992. 3:31:03we make sure that you are working hard.
  4993. 3:31:07Yes. Cool. Yes. Everyone if you have any
  4994. 3:31:11custom questions you can go to the
  4995. 3:31:12website. There's a shoulduling call
  4996. 3:31:13link. You can go ahead and schedule a
  4997. 3:31:15call and then the team should be able to
  4998. 3:31:16help. And we keep on doing these
  4999. 3:31:17counseling sessions so that you can ask
  5000. 3:31:19your questions as well. Okay. Cool.
  5001. 3:31:24Yes. Cool. Thank you everyone. Thank you
  5002. 3:31:27everyone. Bye. Take care. You have been
  5003. 3:31:29a great audience. Thanks again for
  5004. 3:31:31choosing to spend your time with me. I
  5005. 3:31:34really feel good that I was able to be
  5006. 3:31:38somewhat helpful for you guys. Thank you
  5007. 3:31:39everyone. Bye and take care. It was my
  5008. 3:31:42pleasure hosting you guys. Thank you
  5009. 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.