Latest / Agentic Conversations (formally mlops.community) / Building Effective Products with GenAI // Faizaan Charania // #187
Transcript
- 0:00Hey everyone, my name is Faizan Charania, I am a senior Product
- 0:04manager at Linton and my favourite coffee.
- 0:08Actually I am trying to decaffeinate myself so I'm
- 0:11actually trying to not consume copy right now.
- 0:14So my favourite coffee right now is water, which is, but that's
- 0:20it, it's. Welcome back to another Mill
- 0:24Office Community Podcast. I'm your host, Dimitrios, and
- 0:27today we're talking with Jason. Wow.
- 0:29I love this conversation because it is not every day that I get
- 0:33to talk to product to people. But when I do, you know, I go
- 0:36wild. I'm one of those guys that has
- 0:39been talking to engineers for the last three years and seeing
- 0:44the odd product person come through every once in a while
- 0:48just it lights me up. I love it.
- 0:51And today was no different because today we dove into how
- 0:56to think about building a I products.
- 0:59You've heard us talk about it before with other product
- 1:02managers and this time what? It was so nice to hear how he
- 1:10thought about. Generative AI as a tool in the
- 1:13toolkit, not some hammer and go around looking for a nail, which
- 1:18is common sense by this point. But I know I have seen the
- 1:22products out there, especially products and features being
- 1:25incorporated into products that look like they're just trying to
- 1:30hold on some Jenny I or AI capabilities because they have
- 1:35to or they're looking to make their investors happy now.
- 1:38He goes into the different ways that he has found gotchas while.
- 1:45Putting AI into. The different products that he's
- 1:50been creating, we didn't get to dive in too much to what he's
- 1:54doing at LinkedIn because for that we would need some PR
- 1:58permissions and we didn't get it, so we brushed over that
- 2:02whole thing. So if you're looking for his
- 2:04full on experience at LinkedIn and what he's doing with AI
- 2:08there, that will be for a whole another episode where we get the
- 2:12permission. For this one, however, we talked
- 2:15about. Troubleshooting we talked about
- 2:19incorporating your AI features. We also talked about how he has
- 2:25a. Product Manager speaks with and
- 2:28dives into the technical aspects of the platform.
- 2:32Team O hope you like it. This is, of course the Milos
- 2:38Community Podcast, and we'd love it when you share this with one
- 2:42other person that you think will find it interesting.
- 2:46All right, let's get into it. All right, I got to start with
- 2:55this dude. You are probably the first
- 2:58person to come here. And have a past life as an
- 3:03actor. Tell us about that, man.
- 3:07Yeah. Yeah.
- 3:08So this was when I was 5, actually, so I could start
- 3:16eight. Yeah.
- 3:17It's as I was by, I think I was out for some summer activity
- 3:21somewhere, and there was this one shoot happening for some
- 3:26commercial. And then I was just standing
- 3:28there. I was looking at it and my dad
- 3:30ended up speaking with someone and they were like, hey your
- 3:33kid, do you want to get in, try out, audition for things.
- 3:37And my dad was like might as well.
- 3:39It's a good learning experience and it started with that And
- 3:42they got two. I have a whole portfolio and I'm
- 3:45doing auditions and I ended up acting in some Bollywood movies.
- 3:49There was a prime time sitcom and we did like 350 episodes of
- 3:54it and it didn't rise. And whether the age of 14 and I
- 3:59was like, OK, I am bored of this now And they wanted me to
- 4:04retire. Yeah, yeah, yeah.
- 4:06It was either school or acting. So I was like, OK, now I'll just
- 4:09stick with school. You said I see a big future in
- 4:13machine learning. I'm going to chase that dream.
- 4:16Yeah, yeah, yeah. Ohh dude that is so wild.
- 4:21So anything that I may have seen your Bollywood days, I don't
- 4:28know how many body movements you've seen, but then the movies
- 4:31that I've done are a bit one of the top production houses.
- 4:34So they're like out there, they're popular.
- 4:36I don't actively advertise the actual movie names, not putting
- 4:39it out on the Internet. We gotta go find your IMDb page.
- 4:42All right, we'll post that in the show notes in case anyone
- 4:45wants to check it out. It's classic dude that is so
- 4:50good. Were you doing the whole dancing
- 4:51and everything? The whole 9 yards.
- 4:53Yeah, yeah, absolutely. I love dancing.
- 4:55I still dance. Ohh man that is awesome.
- 4:59Alright, that's that's my opinion.
- 5:00But my mother is not working and let me just go ahead and dance
- 5:03somewhere. When we do the in person ML OBS
- 5:07Community Conference, we may have to have you be one of the
- 5:13intermissions. You're you, we can me and you
- 5:15both. I'll do it with you.
- 5:17We'll create a dance routine and that's that.
- 5:21OK, let's do that. OK.
- 5:23So we didn't come here only to talk about Bollywood.
- 5:25I know that that was a bit of a tangent start.
- 5:29This isn't a retired Bollywood. Where are they now?
- 5:32VH1 behind the music type thing. This is a talk about you being a
- 5:38product owner and getting into the wonderful world of MLM's.
- 5:43And I especially want to talk about the evolution that you've
- 5:46seen because you've been in the game for 8 plus years.
- 5:49So before you were what people probably called ML product
- 5:54leader and now you're like an AI product leader.
- 5:57You got to. Hopefully you got a pay raise
- 5:59with the. Of new title.
- 6:00But the cool thing is I would love to just start and hear your
- 6:05story after the Bollywood fizz, then after school.
- 6:09You obviously did well enough in school to get yourself a job.
- 6:13You came to the US at some point and you started working for
- 6:16Yahoo. And what happened before Yahoo,
- 6:21I was always involved in they actually even at Yahoo to some
- 6:25extent. I was involved in the very
- 6:27technical aspects of machine learning.
- 6:29I started out as a research analyst.
- 6:31I ended up working with research labs.
- 6:35I worked with some investment banks and their resource
- 6:38departments. And then I did grad school
- 6:41focused on machine learning, took some grad PhD level courses
- 6:45that I didn't really bad at. But then I joined Yahoo as a
- 6:50machine learning engineer, and a few months into Yahoo, I
- 6:53realised there was this alternate troll.
- 6:55Which was a product manager, like a machine learning product
- 6:58manager. And they're like, hey, this
- 7:00person has to be technical for them to keep their job.
- 7:04But then they are also not very actively just working on at the
- 7:08lower level, like where they're actually executing and looking
- 7:11in GPU memory capacity and things like that.
- 7:13But they're still in modern machine learning and they're
- 7:15solving a lot of different kind of interesting problems.
- 7:18So at some point I made that decision like, hey, OK, both of
- 7:21these parts look very interesting.
- 7:22I cannot actually pursue both of them.
- 7:24I have to choose and I ended up choosing the product that's been
- 7:27part, but it's coming from a technical background and also
- 7:30being an MLM IT I've had to be extremely technical the whole
- 7:35time. So that's something that I
- 7:37really enjoy. And so yes, Machine learning PM
- 7:40at Yahoo. And then I ended up moving to
- 7:42LinkedIn and now our PMO here. Awesome.
- 7:45Yeah. And I want to get into a little
- 7:47bit of what you're doing at LinkedIn and if you are the one
- 7:50responsible for the, when I post on LinkedIn the AI feature.
- 7:55But before we get into that, you mentioned something interesting
- 7:58there, which is how you have to be technical, but you're not at
- 8:01that lower level. What are the technical pieces
- 8:04that you feel like? You definitely need to know
- 8:06about the technical pieces that I so generally when I'm trying
- 8:12to build, say, any kind of machine learning product, I have
- 8:15to understand how it's going to work under the hood.
- 8:17Otherwise, it's just going to be random ideas and my engineers
- 8:21will laugh me out of the room. So when I'm trying to think of a
- 8:25user problem, I'm thinking of a user problem.
- 8:27I'm thinking of, OK, how can we solve this using machine
- 8:30learning? And then once I've started going
- 8:33down that path, I'm thinking, OK, what kind of data do we
- 8:35need? What kind of data do we actually
- 8:37have already? Can we leverage that?
- 8:40How can we leverage that? And what kind of experience is
- 8:42needed? With other PMS I've seen
- 8:46sometimes there's a very clear cut handoff between the product
- 8:49idea and like how we end up building it.
- 8:52The working model that I have with my team is I start at the
- 8:55highest level and then I keep adding details and I keep adding
- 8:58details. And then there's a section where
- 9:00me and my tech leads, we are actively working on defining
- 9:04what the solution will be. And at one point, I just hand it
- 9:07off to them, OK. Now it's going to be much more
- 9:10about what the implementation should look like and we don't
- 9:14need any more product positions right now.
- 9:17So they do that and if they have any product questions, they come
- 9:20back to me later. So does that mean that you're
- 9:25really intimate with? The types of technology your
- 9:31teams are using, are you building out diagrams and
- 9:34figuring out, OK, we're going to be pulling data from this
- 9:36database and then making sure that we have all this type of
- 9:42whatever, we're throwing it into Kafka Stream or we're getting it
- 9:45from a Kafka stream and they were transforming it with Flank
- 9:48and that kind of thing? Or is it more just like hey this
- 9:52is our problem, I know that we have the data because I know.
- 9:58From this other project that we created, we definitely are using
- 10:02some similar data and I know that a similar project that
- 10:06we've created also had. Success.
- 10:10So we can do this like break it down, how does that look and how
- 10:14do you also think about those things and think those things
- 10:17through and talk to your team about it?
- 10:19Yeah, it's one of the latter. As much as I enjoy getting into
- 10:22the meat of like Kafka stream it is coming from, I don't think
- 10:27that's the best use of my time and that is why I have these
- 10:31brilliant engineers working with me.
- 10:33So what I do is I focus on the latter part, which is OK, what
- 10:36kind of features do we have? How can we use these features?
- 10:40Sometimes the the one step extra is I know what data we have
- 10:45available, what kind of experience that I'm trying to
- 10:47build and then I'll have recommendations of like, hey,
- 10:50maybe I don't think we can build a classifier at this point.
- 10:53Maybe we can just do this heuristic and then we collect
- 10:57any data and go from there. Or maybe we just start with some
- 11:00low form of clustering and maybe we just use these attributes of
- 11:04a user to create the MVP experience and then go from
- 11:08there. One thing just like came to me
- 11:10while I was talking about is the reason why this is potentially
- 11:14useful as well, just simplifying the solution even when generally
- 11:19the solution is owned by the engineers.
- 11:21Theoretically speaking is because whenever we are building
- 11:24an AI product, it's you cannot build the best model right away,
- 11:29you have to start smart. Otherwise it's just a lot of
- 11:32effort for confirming or even rejecting some hypothesis.
- 11:36O what we do is I try to simplify the MVP as much as
- 11:39possible. See if you're getting the right
- 11:41signal. See if we are accepting or
- 11:44rejecting the right kind of assumptions and then once we
- 11:47have that, then we need a good machine learning model.
- 11:50And then I take my hands off like, hey, OK, ports and
- 11:54airports and we just build me a nice thing and then they own the
- 11:58whole thing and I don't have to know any details.
- 12:00So the interesting thing that you said there is, for me at
- 12:04least. You're trying to figure out at
- 12:07what? Basically.
- 12:10Scale. You need to implement machine
- 12:13learning and how, if at all, machine learning or AI in quotes
- 12:19needs to be used because it feels like.
- 12:23You're going for speed and you're trying to say, alright,
- 12:26for this feature, let's see if we can get something U.
- 12:28Let's see if we can get something going.
- 12:30And then you're looking at the metrics and you're looking at
- 12:33what is important when it comes to that feature.
- 12:36And if there are some significant changes then you
- 12:39throw you layer on ML on top. Are there times where you jump
- 12:43from nothing to whatever the hardest thing that you could
- 12:48possibly implement because you know it's going to work, or is
- 12:51it always a gradual? Implementation and generally I
- 12:57try to establish that I start with a casual implementation
- 13:00always because there are going to be assumption.
- 13:04If I'm building something new, there are assumptions baked in,
- 13:08so generally I try to do a very simple thing first and then
- 13:12build on top of that. But yes, there are going to be
- 13:14situations where we have done something similar in the past or
- 13:17we have valid data-driven proof that this absolutely works.
- 13:22Now in that case we can tune up the complexity and then then I
- 13:27work with my team to see when can we ship something by how
- 13:31complicated does it have to be and work from there.
- 13:35How often do you actually ship something on time?
- 13:39Like, how often do you correctly?
- 13:42Analyse how long it's going to take you to build some kind of
- 13:46machine learning array AI feature and there's no more
- 13:52often than not actually. And I I've been the engineer on
- 13:56the other side and I know that's extremely difficult but then the
- 13:59partners that I'm working with that absolutely brilliant.
- 14:01There are obviously like something like some other things
- 14:04that throw us off, but most of the time we are shipping on
- 14:07time, so they've gone for something.
- 14:10Kudos to you guys. So there there is something
- 14:13else. I mean when you talk about
- 14:16building these features and and scoping them out and thinking
- 14:20through them. You had mentioned to me before
- 14:25we hit record that you wanted to jump into a little bit of like.
- 14:31What founders and builders should think about when they're
- 14:34bringing generative AI into their products.
- 14:38And I know that you have been. Really thinking deeply about
- 14:41this and I love the stuff that you share on LinkedIn and I love
- 14:45just like your mentality around it.
- 14:47So I want to hear what's your thesis or MO when it comes to
- 14:54building products with this new type of AI features in it as
- 14:58opposed to what you saw before where it was it was mainly ML.
- 15:04OK, if I try talking about this, I could just keep speaking and
- 15:09you won't get a chance. I get it.
- 15:10But to to keep it extremely short and the answer is kind of
- 15:16counterintuitive to some people is hey, it's the same, there is
- 15:20no change. We have to think about
- 15:23generative AI as a tool and nothing more.
- 15:27See how this tool can be used in service of your users?
- 15:33So if I had to put it in one sentence, I would just say hey
- 15:36Jenny is just a tool, you're still serving the users.
- 15:39Build what you can best to serve the users.
- 15:43Oh, I like that a lot. What are some key areas and ways
- 15:47that you feel like we can incorporate generative AI into
- 15:50our products? Indeed?
- 15:54And again, this answer has changed every like one or two
- 15:58months in the past year. Every open AI update, every
- 16:02opening I have it, or like every open source model update, Even
- 16:07when Lama Two came out, everyone was like, OK, now I can actually
- 16:10use these services. But anyway, OK, so the first
- 16:16thing in the simplest version of things, and if someone's not
- 16:18trying to add too much complexity to their product,
- 16:21what they can do is use LM's for creation of anything.
- 16:28And mostly like starting with text, because that's easier.
- 16:32Do this when you want to create some human aspect or not.
- 16:38Make it very robot, not not make your experience, but robotic
- 16:41when you want to add that sum and touch, which ironically is a
- 16:46start with there. And once you start adding more
- 16:50complexity or product, you can start addressing more problems
- 16:55that need factual information. And again, anyone who is
- 16:59listening to this podcast knows about hallucination.
- 17:01So you have to actively fight against hallucination,
- 17:04hallucination. So you start with experiences.
- 17:07The easiest experiences to build are the ones that don't care as
- 17:10much about the hallucination. And then you keep starting, keep
- 17:13adding complexity, and then you can add the trivial augmentation
- 17:16Commission. No, no.
- 17:17You're basing your outputs and truth, so you can start working
- 17:20on those things. Again, I think this is a very
- 17:23technical explanation, but if you if I had to think about OK,
- 17:27what kind of experiences are the highest value, I think that
- 17:32depends from one company to another company. 1 product to
- 17:35other product assistants are not for everyone.
- 17:38I know it's very easy to build, but I feel like again this is a
- 17:43very personal and I feel like a lot of people should not start
- 17:47building assistance and they they yes hot take actually and
- 17:53build experiences in your existing product and solve the
- 17:58hardest problem. Because the assistant product
- 18:03cycle requires you to request the customer user to talk, and
- 18:07it's a pull mechanism and that's a lot of effort talking to
- 18:11someone to get value. How about we cut through the
- 18:14chase and provide value using generative aid?
- 18:19Ohh, so talk to me a little bit more about this pool mechanism
- 18:22as opposed to a a push mechanism I guess.
- 18:25What what would a push mechanism be?
- 18:28So push mechanism would be? Let me think about non LinkedIn
- 18:33use cases. To not have to go through the PR
- 18:38people exactly, it's something that potentially.
- 18:41So let me let me just take a very simple example and this is
- 18:45a public product that's out there.
- 18:46This is the Help me Write section that you would see on
- 18:50Google. Is it at Gmail?
- 18:52I think they're testing and it's in beta right now, but that
- 18:57there's still one level of interaction where they're
- 19:00saying, OK, you want to write an e-mail, tell us what you want to
- 19:04write about and they'll create an output for you.
- 19:07So yes, it feels like I am telling the model to what to
- 19:11write and then it's getting an output.
- 19:12But there's so much happening in the background and all of that
- 19:16complexity is removed from the user.
- 19:19They're trying to explicitly Create an e-mail.
- 19:21You can write something very simple in there and it will
- 19:25still create a good e-mail from it so that there are meta
- 19:29prompts involved. There are probably looking at
- 19:31what your contact list is, they're looking at what the
- 19:33thread is, thread of the conversation is, and all of
- 19:37those things you don't have to worry about because it's already
- 19:40baked in. That complexity is abstracted
- 19:42away from you. So building those experiences
- 19:45where you do the heavy lifting, the product does the heavy
- 19:48lifting, and the user has to do minimal work, That's where the
- 19:52most value is going to be. And the counter example of this
- 19:55would be I take my problem to charge PT and say hey write me
- 20:01an e-mail and now it's actually doesn't know what e-mail where
- 20:04are you, where you writing to? What is the context?
- 20:07What went? Wrong.
- 20:09Yeah, yeah, yeah, exactly. It's like having to basically
- 20:13abstracting away all of the prompts and the context and the
- 20:16knowledge base that you need, right.
- 20:18It's just, oh, it's going to seamlessly give you something.
- 20:22And I understand now why it's like that push example.
- 20:26It's going to push you the information that you're looking
- 20:29for as opposed to you having to like pull it out of it.
- 20:34Yeah, yeah, yeah, that's cool. Yeah.
- 20:37And I think another one that is doing this well now that you
- 20:40mention it, I can see Notion being one of those where when
- 20:45you're just clicking around you don't have to explicitly add
- 20:50special prompts unless you want to.
- 20:52And to be honest I tend to find that when I do try and throw in
- 20:58Proms for like write me something, write me XYZ with
- 21:02whatever and notion I end U just getting frustrated.
- 21:05But when I have something there already and it's like, hey,
- 21:08clean this up or make this better, make this sound nicer,
- 21:11punch it up, then it works quite well And and that's just
- 21:15clicking a few buttons as opposed to adding some prompts
- 21:18and so I can see that for sure. Also this notion.
- 21:24Experience and even the Googles help me read experience.
- 21:26They meet you where you are right now.
- 21:29Yeah, I am writing this e-mail in this box and I can work with
- 21:33the AI over here. Rather than you going to a
- 21:36different vendor or a different assistant that's out there in
- 21:39the same window and then having a conversation over there and
- 21:41then putting it back, which is again, a lot of work.
- 21:45Yeah, totally, totally. You did say something earlier
- 21:48around when the open source models come out and how you felt
- 21:54like people were excited about Llama Two dropping and it's Ohh
- 21:58now I can use this. I imagine at an enterprise level
- 22:02you're looking at things differently.
- 22:05We don't have to talk about that at all, to not have to go
- 22:07through PR or whatever. But how did you see the
- 22:12difficulties in your own use cases or your friends use cases
- 22:17of using things like chat, CPT or Open AI and it being super
- 22:26expensive? And then also same goes for
- 22:29like, I guess anthropic is another one that can be really
- 22:32expensive. And we've talked at length on
- 22:35this podcast just for a little bit of context about how there's
- 22:39kind of two modalities of thinking right.
- 22:41One is that I'm going to get something U and running as
- 22:47quickly as I can to have that value for the end user and then
- 22:53once it gets to a certain point that we can see this product
- 22:58feature is useful, then we'll switch.
- 23:01But until we get there, we're not going to switch and
- 23:05potentially there's a lot of low hanging fruit that we can tackle
- 23:08with the LMS. And if all we need to do is hook up to the Open AI
- 23:15API, then we're good. And so they don't necessarily
- 23:19think about that the expense wise.
- 23:21But then there's a different category or a different school
- 23:24of thought where it's no, I don't want Open AI to touch my
- 23:27data and I don't. Or maybe it's not even that.
- 23:30It's just like, yeah, that's really expensive and I can do it
- 23:33myself, although I have thoughts on that that we can get into in
- 23:37a minute. But they prefer to use open
- 23:39source, and some people are just really interested in open source
- 23:42because it's open source. So talk to me about how you
- 23:46think through those things. Yeah, yeah.
- 23:49Actually, we have come to the open source part in a minute, so
- 23:52let me just address the. How do we approach, how do I
- 23:56approach thinking about these solutions?
- 23:58I am very much in the first cohort that you described.
- 24:03I think LMS are so useful to increase the go to market speed
- 24:08for anything that we are building.
- 24:11Having said that, it's it's not going to scale to 100 million
- 24:16users. It's going to be extremely
- 24:17expensive, but we don't need it to scale to 100 million users
- 24:22because most of the products, most of the products that we are
- 24:26going to build, we when I say we, I mean like any PM, any
- 24:29company, any product that we are going to build is going to have
- 24:33a very narrow use case. We don't need the internal
- 24:36model, the model behind it, to be able to answer log questions
- 24:40and medicine questions. And something about LinkedIn and
- 24:44something about Google. So go to market, test this
- 24:47quickly, see what works, see what doesn't work and then try
- 24:51to replace it with a narrower model or smaller model which I
- 24:55believe will in a lot of cases perform better than whatever LLM
- 25:00model you are using because now it's pre trained on something
- 25:03very specific, a 100%. It's funny because it's like you
- 25:08almost do full circle, you see if something works and I could
- 25:12see that you get the velocity really out the gates.
- 25:15You're like does it feature with AI work?
- 25:18Yes. No.
- 25:19Boom. We can test it.
- 25:21OK, we're seeing some good signals.
- 25:23Now let's bring it back. Let's start to figure out how we
- 25:26can use this in house. I mean, I do know there are
- 25:30other people that have come on here and said, yeah, you know
- 25:33what, actually we don't even care that we are spending this
- 25:38money with Open AI because it is making our product more
- 25:43attractive and then people will sign up for our product more.
- 25:47So the ROI is there. And so figuring out that ROI is
- 25:50a little bit tricky. Some people have it very clear,
- 25:52others don't. Yeah, absolutely.
- 25:55And actually this is again like 6 or 10 months ago, I was doing
- 25:59this as an exercise for something that I wanted to build
- 26:02and even generally speaking. So I was thinking, OK, if I want
- 26:06to build a Gen AI solution and if I want to test it with 50,000
- 26:11people and if I do it for 30 days, hypothetically speaking,
- 26:15and I do. So I did all of my, I put all of
- 26:17my assumptions in a table, what kind of QPS would I be looking
- 26:20for? And then when I use the open air
- 26:23public pricing? To calculate how much it would
- 26:26cost to run this experience. I was like, wow, this is really
- 26:31cheap. No, because I was thinking about
- 26:33it from obvious DNA price scale. But test something with 50,000
- 26:38users. And just do this back of the
- 26:43envelope math. This is really good.
- 26:45Otherwise, if I have to build my own e-mail solution, there's GPU
- 26:49cost, there's engineering time, there's so much infra that one
- 26:52would have to build and then maybe it works, maybe it doesn't
- 26:57work exactly, and then we have to do something all over again.
- 27:01Yeah. So then when you were talking
- 27:03about open source, what is your thoughts on that and how do you
- 27:06see that playing into it? With open source, there's a lot
- 27:11of I I think Open Air released, it's like new policies where
- 27:14they are saying if you're an enterprise customer, we won't
- 27:17use your, I am not sure, so don't quote me on that, but
- 27:20maybe there's data protection over there.
- 27:23But maybe, maybe, maybe, yeah, we'll find out.
- 27:27But anyway, open source models are just like open by
- 27:31definition, so there is no transparency issue over there.
- 27:34People can host the whole model in house.
- 27:36So for use cases that have stronger requirements, maybe if
- 27:41it's related to investment banking or if it's maybe related
- 27:45to law or something else, now you can know and explain what's
- 27:50going on. Well, you can completely
- 27:52explain, but you can. Controlled what sources are
- 27:56going into your model. So that's always good.
- 27:58And I think these models open source models are much smaller
- 28:01than a lot of other models that are out there, which makes it
- 28:04even more cheaper. You can.
- 28:06Continue using this large language model for your use case
- 28:10without it getting too expensive after, I don't know, 30 days.
- 28:14Totally Totally. Yeah.
- 28:16Yeah. So you spoke about you playing
- 28:20around with the spreadsheet and trying to build out something on
- 28:22your own. When you are building a
- 28:25generative AI experience, what are some things that you're
- 28:29focusing on? Because maybe there's stuff
- 28:32around model selection. You're prompt structure, your
- 28:35prompt evaluations iterating on prompts, an so with your
- 28:40project, how did you look at all that and how did you approach it
- 28:44from your product frame of mind? Yeah, when you ask that
- 28:49question, I I saw so many flashbacks up.
- 28:51Walking through models, late nights, weekends, all that good
- 28:57stuff. I don't know.
- 28:58Lot of interesting things. A lot of interesting things.
- 29:01But anyway, so again, without getting into too many technical
- 29:05details and like what the engineering decisions were and
- 29:08whatnot, one thing like I mentioned, my general stance is
- 29:12see what can get you a good go to market speed.
- 29:16Start with that. It's not going to be even if
- 29:19someone starting their new product.
- 29:22In in. Actually, in that environment,
- 29:24speed matters even more than other things.
- 29:27So look at what's the easiest to use and start with that.
- 29:31So that's from the model perspective.
- 29:33Again, it obviously has to solve for whatever your use case is.
- 29:38So that's that. The second bug is the prompt
- 29:42prompt selection. The one thing that I've been
- 29:45like preaching in pure circus, like whoever.
- 29:48I speak with other colleagues, colleague, not not, not just
- 29:51colleagues, like people in the industry, like, hey, the first
- 29:55time you hit a prompt about a product that you want to build,
- 29:57you'll see the output and you're like, Oh my God, this is
- 30:01brilliant. I've had jackpot.
- 30:03But when you do this for 10,000 different experiences, so the
- 30:09exact same experience, but for 10,000 different people, 10,000
- 30:12different users, you'll see all kinds of anomalies.
- 30:15And that is where prompt engineering and from iteration
- 30:19has to come in. And then you have to actively
- 30:21squash these bad experiences and make sure that you're building
- 30:25as consistent and experience as you can while it's still
- 30:29obviously providing great value to the end user.
- 30:32Mm-hmm. And is that the consensus?
- 30:33Is it mainly the prompt that you're focusing on more, as
- 30:37opposed to catching it if it outputs something wrong?
- 30:44When catching it when it output something wrong, then you would
- 30:47need an external. Evaluator and then yeah, in that
- 30:51sense. So when you're trying to build
- 30:53real time experiences, we can't do an external evaluation at
- 30:57that point or maybe like a near line evaluation.
- 30:59So it has to be built into the system.
- 31:02I think the first line of defence is still to have a
- 31:05better prompt rather than you can always make two GPA calls
- 31:10and have the second one verify the first one.
- 31:13It's going to help and it is one of the valid techniques that
- 31:16people use out there. But again, now your experience
- 31:18calls double what it was. Going to cost Collier, so
- 31:22there's a lot of value in prompt engineering.
- 31:25There's a lot of value in prompt iteration, so one should first
- 31:29spend time in making your prompt extremely robust.
- 31:33See what experience, how much of the mountain can you climb with
- 31:37just this one problem? And then when you start hitting
- 31:41the limits of that prompt, then you can think about, OK, what do
- 31:44I still need? What?
- 31:46How do I make that happen? Yeah, yeah, yeah.
- 31:51The idea of what you were saying when you were when you talk and
- 31:55you preach about the prompts and just getting anomalies and how
- 31:59basically every time you input the same thing the output can be
- 32:05a little bit different. Like how are some other ways?
- 32:09Is it just the prompts that you're looking at to help build
- 32:14that in a better way or are there other things that you're
- 32:18doing? Like I know we've had people on
- 32:19here from different tooling companies or who have built open
- 32:23source tools. Like I'm thinking about this guy
- 32:25Maxine Buchem Scheme, who is he created Prompt Demise.
- 32:31And I know there's a tonne of tools in that space where it's
- 32:34just like helping you evaluate your Proms, helping you save
- 32:37your Proms, helping you do everything that you could ever
- 32:41want and imagine with your prompts to make sure that you're
- 32:46tweaking them and you're getting the most you can out of the
- 32:49prompts. And it feels like that's great.
- 32:52And then there's also a guy that we had on here just a a week or
- 32:57two ago who was CTO of Beto and he was talking about how you
- 33:01want to just basically make the constraints as small as
- 33:08possible. So you're really trying to
- 33:11constrain the model and make sure that you give it a tonne of
- 33:16context, and then you constrain the output in the prompt.
- 33:20Did you come up with any other tricks or do you have any other
- 33:23secrets to lead us on to? Yeah, there's I I I very much
- 33:29agree with the second person who mentioned like add as much
- 33:32context as possible and then constrain the output for
- 33:36whatever you want to get out of the model.
- 33:39So that's one thing. What other things that we look
- 33:42at, obviously temperature is 1 and then all of the practise has
- 33:46no OK. If you want something much more
- 33:48consistent you can look at and you can look at the temperature
- 33:50parameter. But again, that comes with its
- 33:53own pros and cons. Anyway, that's that.
- 33:56I love the part that you mentioned about tooling, because
- 34:00as we keep doing this, more and more tooling gets extremely
- 34:04important and that becomes a productivity bottleneck if you
- 34:08don't have good tooling. So that's something that's going
- 34:11to be very useful. But I'm not recommending
- 34:14anything specific right now because again, these things
- 34:17change every month or every two months.
- 34:21When I started, which was many, many months ago, there were no
- 34:25tools around. So we had to build our own thing
- 34:28and see how we can make it work. That's that.
- 34:30Now I think Microsoft has Microsoft guidance and there are
- 34:34so many great open source tools out there.
- 34:36And last week I think, or the week before that, I read a paper
- 34:40where they're like AI can create better.
- 34:43Drums air has like proven to create better prompts than
- 34:46humans. For so maybe we automate this
- 34:50spot out as well. To some extent we still have to
- 34:53be involved, but to some extent we automate that.
- 34:56Yeah, yeah. And really reminds me of this
- 35:00conversation that I had with in The name is failing, you know,
- 35:04but some Stanford researcher. And he was, I think his name was
- 35:08Chiron and he was talking about how his whole pH.
- 35:13D was on where to have a human in the loop.
- 35:17So if we're going to be having a human in the loop in
- 35:20increasingly less places, he wanted to make sure that we
- 35:25choose the right places to have them in the loop.
- 35:28And so it feels like that is just more and more relevant.
- 35:31Yeah, new product comes out or each new update comes out.
- 35:37I love that. I love that, actually.
- 35:38Like after the podcast, send me a link to whatever issue such as
- 35:42I'd love to read it will do for sure.
- 35:45So when you were building your tool we were talking about
- 35:49earlier how don't just go out and set out to build with Gen AI
- 35:54just because. But did you do that?
- 35:57Did you like not follow your own advice and do as I say not as I
- 36:00do. Type thing and go and try and
- 36:03build something just to get your hands on Gen AI?
- 36:05Or was it that you saw a problem and you said alright, I could
- 36:09solve it with XYZ, but I think the best and the fastest is
- 36:13going to be with AI. So there there are a couple more
- 36:19extra data points over here. So I've been in Word and Jenny I
- 36:22for a few years now. So fun fact, 2017 I was working
- 36:28on some research item and I was using Gans to to generate
- 36:33things. The gang what?
- 36:34I know, right? It's old now.
- 36:36Yeah, I went out of style quick. Yeah, yeah.
- 36:40So I was inputting text, then out putting an image out of it,
- 36:43but then the only image I could show it was a 28 by 28
- 36:46thumbnail, which was really small, obviously takes a lot of
- 36:48CPU capacity to do anything. So from that world, I knew about
- 36:53Jenny already and I think September, October of last year,
- 36:57I was like, hey, there are a lot of new papers coming out and it
- 36:59seems like there's. Better solutions now and the
- 37:03technology is potentially commercially ready.
- 37:07So that I had that at the back of my mind and at LinkedIn I saw
- 37:12creators. Create this among other things.
- 37:15Now I'm working on content understanding as well, but
- 37:17anyway. In any kind of product, there
- 37:20are going to be some problems that were very difficult to
- 37:23solve. And then like, hey, if I add Jen
- 37:26AI, I can actually tackle this problem now.
- 37:30Until now I probably couldn't have, but now Jenni has or
- 37:35charged app at the time has made it accessible.
- 37:39For me to tackle this problem, and that's how I was looking at
- 37:42it. So it was a bit of an unlock
- 37:46where you realised, OK, now it's finally time to concoct my world
- 37:52domination plan that I've been waiting for.
- 37:56But no, in all seriousness, we mentioned we were going to talk
- 37:59about what you're doing at LinkedIn.
- 38:01And I don't know if you know this, but I'm a bit of a creator
- 38:04on LinkedIn myself. Yes, absolutely.
- 38:07Always focused on my feed when you bought something.
- 38:11So basically you work for me and yes Sir, yes Sir.
- 38:15What is? What are some cool things that
- 38:17you're doing at LinkedIn? Are and are you the person that
- 38:21created the features? So that I can just put a prompt
- 38:25into my post and then it will create some kind of a I
- 38:29generated post? OK.
- 38:32So what do I do? I think then I started a couple
- 38:35years ago. So back then it was more about
- 38:37personalization and what I can do to sort of creators on the
- 38:42platform. Now as time as it well it well
- 38:46now I'm focusing on how can I use AI to serve creators on the
- 38:50platform. This can mean better
- 38:52distribution for them. This can mean getting smaller
- 38:55creators to grow, reach that audience thought that virtuous
- 38:59flywheel of engagement and make connections.
- 39:02So that's something that we actively work on.
- 39:04I'm also now working on content understanding, so seeing how we
- 39:09can interpret what a particular post is about, what a particular
- 39:13image video is about. And then you start to serve
- 39:17better matching content to you when you log in on LinkedIn.
- 39:20And once you create something with Elms introduction, there's
- 39:25someone else out there who is interested in alms and get your
- 39:28content to them. So that's something that I
- 39:31actually work on. Sounds amazing.
- 39:33I want all of that get get my stuff out there so I can start
- 39:37sponsoring my posts and make a living from it.
- 39:41Become a real. Time on it.
- 39:43I have a meeting in 10 minutes with my engine manager, so I'll
- 39:46just ask her to just make everything happen today.
- 39:50The thing that I also was interested in on like you as a
- 39:56product guy, and maybe this isn't necessarily a LinkedIn,
- 40:00but just like what you've seen being able to go from what you
- 40:04were talking about before, where back in the day you had to put a
- 40:08lot of work into again and you had to use a lot of GPU
- 40:11resources just to get something that kind of worked right?
- 40:15And now it feels like over a weekend you could probably hack
- 40:18together an MVP and show value for something.
- 40:22So it almost has this gigantic. Unlock for any product engineer
- 40:28out there, because now there's no excuse as to why something
- 40:33isn't being created, or at least an MVP isn't being tested.
- 40:36Have you found that to be true, or am I just like making that up
- 40:40and creating my own theory and thesis?
- 40:43And my head no, it is 100% true, 100% true analogues, so many
- 40:48opportunities, so much speed. I think this is one of the best
- 40:52times to be an APM because generally as PMS. You want to
- 40:56test your ideas or do you want to test your hypothesis?
- 40:58See what works, what doesn't with a solutions?
- 41:00It used to be extremely tough and difficult and now you have
- 41:05this option where you can potentially even test for a
- 41:08small period with off the shelf solutions and then later on you
- 41:13can choose to build your own. Yeah, exactly.
- 41:16It's almost like you get this opportunity and you can I say
- 41:22ohh, actually if we wanted to do this, I could probably make that
- 41:26happen and it's a few API calls. So let's just test it out.
- 41:30Let's see if you're getting those signals and how are you
- 41:33looking at signals in general. Like I know each use case is
- 41:39going to have its own distinct signals and distinct things, but
- 41:46when you're trying to figure out like how to measure ROI on your
- 41:51different features, how do you think about that and like, walk
- 41:54me through your the way that you go about it?
- 41:58Yes. So the 1st I'll start with the
- 42:02channel playbook again a rough idea of a playbook that I
- 42:06wouldn't have anyone go through. Its first decide what problem
- 42:10are you solving. Is it a problem?
- 42:13What solving do your users actually care about you solving
- 42:17that problem? So that's the primary, that's
- 42:20where callback to one of our earlier points where I'm like,
- 42:24hey, Chennai is just a tool to solve problems for users.
- 42:29So see what kind of following that you're trying to solve.
- 42:32Start from there and then you can set a time period.
- 42:35You can set how good your MP is supposed to be, and you can test
- 42:39it against what kind of metric you're trying to move versus.
- 42:42I wanted how many dollars it's going to cost you to build this
- 42:44experience and then you can see in the long term Test match
- 42:48workout. But the fun part is, when you're
- 42:51thinking about general experiences, it's not all of
- 42:54this very obvious, very normal playbook things.
- 42:58You also have to think about, OK, now this is a new
- 43:01experience. This is not even just a new
- 43:04experience, it's a new interaction pattern.
- 43:07It's a new paradigm completely. So what are new things that I
- 43:10have to think about? And over there, I think trust is
- 43:14a very big part that we have to now actively think about and
- 43:17everyone should actively think about this.
- 43:20Because any of these LM models, they're very confident they will
- 43:25say something, but it doesn't always make sense.
- 43:27And when you want to survey users, you want to be right.
- 43:31So. Building of feedback mechanism
- 43:34and actively tracking that. Seeing.
- 43:37First of all, do a lot of offline testing.
- 43:39Obviously I'm assuming that's done already, but when the
- 43:43product is online, have a feedback pipeline.
- 43:45This shows that to your users that you're willing to learn.
- 43:49You're trying to be fast. You're trying to push something,
- 43:51You're trying to create new experiences for them.
- 43:54But you're also willing to take feedback and you will see corner
- 43:58cases where things just blow up and you would have never thought
- 44:01of that corner case. And then keep track of what's
- 44:05not working and actively fix that.
- 44:07Because with a lot of these new experiences it's you are
- 44:11creating a voice for your brand also has voice, so that's a
- 44:15different thing. But when Jenny experiences,
- 44:17you're adding this human element.
- 44:20So you have to make sure that the bar is very high for trust,
- 44:23because if it says something stupid, it's going to reflect
- 44:27badly on your product, on your company.
- 44:30So yeah, trust is the new element that I would supercharge
- 44:33for genuine experiences. And so you as a PM coming into
- 44:41the, I guess you've been doing this for a while.
- 44:43So potentially, it's not exactly your specific case, but I'm
- 44:49wondering if you've seen the other people go the other
- 44:55direction. Whereas you're doing a lot of PM
- 44:58work and you're understanding the technical pieces and you're
- 45:02going deeper into the machine learning and the alms.
- 45:05And what I've seen from different PMS is there's been
- 45:08this huge unlock with LM's, right?
- 45:11And so now they can hit an API and get this whole new world
- 45:18opened up to them. And they're like, wow, this is
- 45:21incredible. All that stuff, like you saying,
- 45:23like that stuff that I wanted to build for the last three years,
- 45:25I can do it now. This is great.
- 45:28And so that is one side where it's like PMS moving more
- 45:32towards understanding. You're trying to understand AI.
- 45:36Have you seen it where the mill teams or people that are doing
- 45:40mills, data scientists, whoever are trying to move towards
- 45:44product a bit more, It almost feels like potentially because
- 45:49now all of these PMS are basically playing in their
- 45:52playground. They're like, alright, whoa,
- 45:54whoa, product guy, what's going on here?
- 45:57Like, I gotta. I guess I gotta understand your
- 45:59world a little bit more too. Yeah, yeah.
- 46:03This is one thing that I've actively noticed and I really
- 46:07respect in the people that I am working with.
- 46:10The only very product oriented. And this has been true long
- 46:14before Jenny. I came in because for a
- 46:18different experience for a non machine learning experience.
- 46:21Sometimes it could be as cut and dry as hay.
- 46:25Product and design worked on some design and we need this
- 46:29exact experience and let's let's build it.
- 46:33But with machine learning, it's always going to be, hey, this is
- 46:35the experience that I'm trying to generate.
- 46:37And then the machine learning engineer is the one who was
- 46:40actually quoting the model. So they know where the biases
- 46:44could come up, They know how the experience could go wrong, and
- 46:48it's very difficult for someone who is just a PM to know all of
- 46:53this or actively squash any of those.
- 46:56Which was before they come UO. The people that I've worked
- 46:59with, they are very product oriented.
- 47:00They actually think about what's the problem that we're trying to
- 47:03solve, what could be the corner cases, where are we potentially
- 47:07adding bias, how could we actively debias the system?
- 47:11So I think all a lot of successful machine learning
- 47:15engines that I've worked with. They're very product oriented
- 47:18and as a PM I'm very thankful for it.
- 47:21Yeah, I bet I want to ask you about the different gotchas that
- 47:25you found. Maybe you don't have to talk to
- 47:27us about this stuff at LinkedIn, Wink, Wink, but you can talk to
- 47:33us about things that you were saying how it feels good when
- 47:37you add a new feature or you bring this AI into your product
- 47:42until all of a sudden you start talking to customers and they're
- 47:47saying this is absolute crap. And you mentioned how that trust
- 47:51factor is and needs to be very, very boosted.
- 47:57And So what are some other gotchas that you've seen the?
- 48:01God shows are also just things that I've been actively trying
- 48:04to be very particular about is. Thinking about what are you
- 48:10building the experience for? So the evaluation criteria, what
- 48:14makes this experience an actual success, And that's something
- 48:17that you will have to define like way earlier in the cycle
- 48:20and you have to be. Fanny strip in what the
- 48:24constraints are. What are we actually trying to
- 48:26build? Because when you're going to
- 48:27give a prompt or any input to any of the LLM models, they can
- 48:31create an output. Now how do you save this as good
- 48:34or bad? It's very difficult to sit and
- 48:37evaluate and be like, OK, maybe I would give this A5110, but
- 48:41what is A5110? And then when you want to scale
- 48:44the experience, you will have many people trying to score it.
- 48:48So OK, now this person's favourite.
- 48:50That person's 10. And so having that evaluation
- 48:54criteria is extremely critical so that you actually know what
- 48:57you're testing for and then you can reverse engineer your prompt
- 49:00to actually solve for that criteria.
- 49:04So that is something that I would say people should actively
- 49:07think about and then having a cadence going on, prompt
- 49:11engineering, saying what kind of problems you can solve, what
- 49:13came up in the previous evaluation, how can you do it
- 49:16better this time. That's that.
- 49:17And the third piece is then trust.
- 49:20See, once you look at what kind of feedback you're getting, how
- 49:25what kind of patterns are now emerging, the models change.
- 49:29A lot of things change. People's interaction patterns
- 49:31change. Because a lot of times you're
- 49:33going to build an experience that people won't use to in the
- 49:37old world. So you have to check your bias.
- 49:40This is actually a big one. You have to check your biases on
- 49:43how you thought the users will use the ecosystem or the new
- 49:46feature. Yeah, and maybe they have a
- 49:49completely different style of using your.
- 49:52System and then charge. GPD could give a third response
- 49:56that you hadn't even thought about.
- 49:58So that's something that comes right out of left field.
- 50:02Yeah, yeah, that's where you knew it.
- 50:04And I love this idea of like, the evaluation, man.
- 50:07It's so hard. And This is why we put together
- 50:09that survey and it feels like the consensus is just throwing a
- 50:13thumbs up or thumbs down on the response and letting the end
- 50:18user say if it was good or bad. But man, like, the truth is
- 50:22that's not good enough and that's not going to get you very
- 50:25far. And especially if you're trying
- 50:27to figure things out. Like half the time when I get
- 50:30bad responses, I don't give a thumbs down.
- 50:33I just am like, ah, this sucks. I gotta go figure out another
- 50:36way to do this. And so I I know we've had a loan
- 50:40on here from Aporia and he was talking about how he looks at
- 50:44when he's monitoring the output. The thumbs up, thumbs down is
- 50:49pretty much like, it's not worthless, but it's next to
- 50:52worthless. And he looks at things like if
- 50:55you bounce after you get the output, it's like, oh, that's a
- 50:59pretty clear ignore that that output was not useful for you.
- 51:02But then there's like those false positives where it's like,
- 51:05oh, you just copy paste it and you bounced.
- 51:07And so it's super complicated to figure out like was this
- 51:10valuable or not. I don't really know how to
- 51:14figure that out and have a clear picture on it.
- 51:17And again, that's why we put out that evaluation survey and
- 51:20hopefully through the collective wisdom of all of us in the
- 51:25community, we will figure something out or we'll have some
- 51:29clear ways of doing it and some of these best practises and
- 51:32patterns will emerge. But poop right now, it's a
- 51:35jungle out there, man. Yeah, yeah it it's a very
- 51:38exciting jungle. So I I've before you mention the
- 51:41bounce, I was going to mention the bouncer as well and I have
- 51:44my own thoughts are like what, what signals one could
- 51:46potentially look for, but again that would kind of vary from one
- 51:51product to another as well. Yeah.
- 51:54So dude, last question for you before we finish this one off.
- 52:00Who is more confident, A 14 year old you Bollywood actor or
- 52:07ChatGPT? Oh oh.
- 52:11I think I was definitely more humble than child CBD.
- 52:16If you go outside, typically they wake ohh yes I am an actor.
- 52:20Like no you're just an I and then on the output like I am an
- 52:24AI machine learning model. But anyway, yeah, it's it was
- 52:27the most probably 1. Yeah, yeah, I was laughing
- 52:32because I I made the joke at the beginning of the year and I said
- 52:36my New Year's resolution is to be as confident as Chad GT and
- 52:41that. Yeah, and the years, not over
- 52:43yet, but you know, still working on it.
- 52:45No, it's still trying to get there.
- 52:47They don't think I can. It's a pretty high bar that
- 52:50they've set. So.
- 52:51I love that. I love that for you.
- 52:55Well, this has been great. I really appreciate you coming
- 52:57on here and talking to us about building products, especially
- 52:59with the generative AI. And so I'll let you go.
- 53:04That's it. We'll end it here.
- 53:05Go. Awesome.
- 53:06Thank you so much for having me. There are serious.