Code Story · Transcripts

S8 E20: Extracting Context from Chaos: Implementing Real-Time NLP Semantic Parsing and Automated Action-Item Routing with Artem Koren of Sembly AI

August 29, 2023 · 24:12
Listen to the episode Download .txtDownload .vtt
Artem Koren

We built some custom solutions for scaling different parts of our system differently. All the while, of course, from the very get-go, we were Dockerized and we were using Kubernetes and things like that. But in many cases, that wasn't enough, especially in our case. It's interesting, meetings tend to start at the top of the hour. And so you would have this barrage of instantiation of meeting sessions all around the same time, and then meetings finish around the same time. a platform that can scale very flexibly and quickly on demand and handle these peak loads, which we were constantly having. My name is Artem Koren. I'm the co-founder and chief product officer of Sembly AI.

Noah Labhart

This is Code Story, a podcast bringing you interviews with tech

Sound bite

visionaries. It's six months moonlighting. There's nothing on the back

Noah Labhart

end. Who share what it takes to change an industry.

Sound bite

It took many goes to get right.

Noah Labhart

Who built the teams that have their back.

Sound bite

The company is its people. The teams help each other achieve. I was proud of our team.

Noah Labhart

Keeping scalability top of mind.

Sound bite

All that infrastructure was a pain. Yes, we've been fighting it as a group. Total waste of time.

Noah Labhart

The stories you don't read in the headlines.

Sound bite

It's not an easy thing to achieve, Mike. Took it off the shelf and dusted it off and tried to begin.

Noah Labhart

Deride the ups and downs of the startup life.

Sound bite

You need to really want it. It's not just about technology.

Noah Labhart

us some more on Code Story. I'm your host, Noah Labhart, and today, Artem Koren is taking AI to new levels and building the smartest team assistant for your meetings. Artem Koren is now based in Amsterdam and has been a techie since his early years. He was programming in QBasic and C in fifth grade, and building web applications in high school. Post-school at Columbia, he started working at dot-com businesses, but found himself disenchanted with the state of AI. Outside of tech, he loves chess, attending running club, jiu-jitsu, and cosmology, the study of space, black holes, and things like that. Artem and his co-founder have years of experience in digital transformation. With the latest innovations in AI proving useful, they decided to make digesting and utilizing information from meetings easier. This is the creation story of Sembly AI.

Artem Koren

Sembly AI is an AI teammate, also known as an AI meeting assistant. It's an application that you invite to your online meetings. So you can invite it to Microsoft Teams meeting, a Google meeting or a Zoom meeting, just like you would a regular person. So you can include Sembly on your invite or you can in our app tell us to join your meeting. Sembly will show up as another participant in your meeting. It will say hello. It will say, hey, I'm recording this meeting. And then it will hang out with you during the meeting. At the end of the meeting, Sembly will process all the information it heard during the call and generate some insights for you. So, for instance, you'll have the full transcript of the meeting. meeting notes that are very comprehensive and very actionable. You'll also have automatically generated list of tasks. So all the things that you may have to do after the meeting is over, you'll have those tasks already generated for you, which can appear both in Sembly, but also in your to-do app or task management app, and they can be automatically populated there. There's things like risks and issues and decisions that Sembly picks up on. there is an AI chatbot called Semblian with whom you can talk to about your meeting. So you can ask Semblian some questions about the meeting or ask it to generate some content based on the meeting. So for instance, literal example from yesterday, I was talking to one of our recruiters after a candidate interview and I gave some feedback on the candidate. So I said, okay, these are things that were good, but these are the things I'm concerned about. So then after that call, I went into Semblian and I asked it to generate for me the resume of an ideal candidate based on my feedback on the call. And it did it. And I just copied and pasted that to the recruiter.

Noah Labhart

Let's dive into the MVP then. So that first version of the product you built, how long did it take you to build and what sort of tools did you use to bring it to life?

Artem Koren

So the decision on the platform, the stack was crucial. And I have previous experience in, you know, IT management and product management. So I kind of knew the macro things that would be involved. I consulted with some of my friends who happened to be architects in the IT space and talked about what's in vogue and which frameworks are good for what. And so we ultimately landed on a Postgres backend for the database, Django middle layer, and React for the front end. Then I'm giving you some goodies now. What I did was I hired not too expensive, but like a fairly expensive professional shop to build me a skeleton of my SaaS platform. So basically build a framework where the main screen of the interfaces, the login, the user management piece, just the basic, SaaS application, right? You need to be able to register, you need to be able to log in, log out, and then you need to be able to see some stuff on your screen. And so they built that framework. And then we hired a team in Odessa, Ukraine, that I then hand-held to take the application all the way out. And that first MVP, I think there's a proof of concept bit that we did using a Raspberry Pi as a recorded device, believe it or not. We did that in a matter of maybe three three months or so, like two, three months. And then the first MVP, I would say is probably six or seven months in.

Noah Labhart

Let's stay on an MVP for a minute. With any MVP, you got to make certain decisions and trade-offs. And I'm curious about some you had to make and specifically how you coped with those decisions.

Artem Koren

We were building Sembly at a time when there was no such concept of an AI meeting assistant in the wild. I mean, companies existed, but it wasn't well known. And so when you would go to a potential user or company and say, hey, there's this product we have. Are you interested? Very often you'd get blank stares and you would have to do a lot of education to those users to explain to them what it is and what it can do for them. There were a few must-have components that we needed in our system for it to be basically workable. And so the first was we had to be able to attend meetings and record them. We needed to be able to transcribe them. able to diarize them, meaning figure out who said what, and then be able to extract insights from them and finally present those insights. We had to have some minimal version of all those components lined up and working together to present a result. Otherwise, the product wasn't there. And so in that sense, there's some products that I think MVPs could be simpler, like what is the minimal set of components it takes for it to be alive. For our product, unfortunately, there's a very often, it's just the web app part, the interface part that's enough to be alive. But in our case, we had to attend meetings, record meetings, transcribe diaries, analyze. So there was a lot of little pieces that all had to come together. And when we started developing this product back in 2019, a lot of these technologies were still very raw. Transcription was an unsolved problem. Diarization was generally not available. And AI was just not even a buzzword at the time. So we had to do a lot of innovation on the fly to stick it all together to present and to present a product that our users can minimally get benefit from. So that's kind of how we started out.

Noah Labhart

Okay, so you've got your MVP, it's working, people like it, you're gaining traction. I'm curious about how you progressed and matured the product from there. And I think to wrap that in a box a little bit, what I'm looking for is how did you build your roadmap? go about deciding, okay, this is the next most important thing to build with Sembly?

Artem Koren

So important to know, we started by orienting ourselves to the larger company market, so larger companies and enterprises. And that's where both me and my co-founder, Gil McLeod, that's, you know, our background is a lot in that. And so our thinking and our styling of the product was always towards the larger environment, which ended up being our few years because we build a product that fits the enterprise, but the usability and experience on the individual levels was very lacking. It was tough to use. It was hard to understand. It wasn't intuitive. It was hard to gain traction because even though we're able to get in the door of some larger companies, once it hit the users, we hit a lot of roadblock because they just didn't really know what to do with it. One of the users told us it's like sitting into a Boeing or an and they just don't know which buttons to press or why they would press them. And so we had a big pivot where we reoriented to the individual experience. And this happened maybe three years ago, somewhere around there. And that was kind of the first step in the right direction, where we made the experience, the user experience, very simple, very intuitive, very easy, and then started to just give the user just the basics, but really polished and really well done in such a way that it's pretty easy to ramp up in the product and have it be valuable for you very quickly. And then, you know, once we started to see an uptake from users, then we started slowly adding features based on what our users told us, based on what we thought made sense internally, and also based on what we were seeing from some of our competitors.

Noah Labhart

So how did you go about building your team? And what did you look for that they were the winning horses to join you?

Artem Koren

The thinking was that, you know, we were a pretty cash-strapped startup. And so the thinking was, okay, so first of all, to afford developers, we need to go to a market where it's less expensive than, let's say, in the US. And so I had some experience traveling in Ukraine. I also happened to speak fluent Russian. And so we started with a core team of about five developers or so out in Ukraine. And that allowed us to build an MVP with very, very manageable budget. The trick there was that I thought, you know, we'd hire these guys and then I'd go back to New York and I'd manage them remotely. But very quickly, you know, within a matter of a few days, I realized that I can't leave because there's so much interaction that we're constantly, constantly sharing information that they really needed, you know, my presence there. And the guys were more more junior. And I think if I didn't have the technical depth that I had, it probably would have been a no-go. But because I could give them enough guidance and show them, okay, this is the kind of thing that I'm looking for. This is the kind of architecture that I'm thinking about. This is the kind of experience. This is one way we can technically make these things work. They would be able to kind of fill in the rest. And as I mentioned, we already had that skeleton of a SaaS platform. And so they weren't starting with zero. And so with that, you know, my expertise plus their enthusiasm and zero fear, you're able to get things done. I think the zero fear thing is very important. You know, there are some decisions that they're going to make that you're going to need to revisit later. But at the same time, they're very enthusiastic and not apprehensive about solving a different difficult problem that an experienced developer would be like, you're out we can do this in a month.

Noah Labhart

Let's flip to scalability then. And this will be interesting. Did you build this to scale efficiently from day one or with scale in mind, or have you been fighting this as you grow and gain traction?

Artem Koren

We were building with scale in mind. However, scalability is one of those things that it's very, very difficult to know that your product is well scaled because the test for scalability is complex and in our case very difficult to execute and to build a worthwhile test suite would be as complex as building you know real features in the product and so we always had to opt for the real features rather than the scalability test once the platform really got traction by virtue of the of the the traffic and the platform, we found the places where we weren't scalable. With every growth spurt, we would identify kind of the next weakest link in the environment and start to patch that link and then, you know, find the next. And then, you know, eventually we got to a point where we're very comfortable with the end-to-end and we have some custom, I would say, scaling mechanisms. Like we scale in a custom way where we shape our usage pattern. Because you can imagine that an AI meeting assistant, we're very active during working hours, wherever they may be. But then after work hours, there's very little activity on the platform. And so we needed to be able to scale with that load to also be cost effective in the way we manage our cloud. And so we built some custom solutions for scaling different parts of our system differently. All the while, of course, from the very get-go, we were Dockerized and we were using Kubernetes and things like that. But in many cases that that wasn't enough, especially in our case, like it's interesting, you know, meetings tend to start at the top of the hour. And so you would have like this barrage of instantiation of meeting sessions all around the same time and then meetings finish around the same time. And so you really have to build a platform that can scale very flexibly and quickly on demand and handle these peak loads, which we were constantly having.

Noah Labhart

well Artem as you step out on the balcony and you look across all that you've built what are you most proud of

Artem Koren

I'll probably say the the the overall Sembly team and organization that we were able to build I think that's probably the the number one most proud like the people how they're organized the the company taste that we have our style of work how everyone collaborates machine that we were able to stand up with, I'm most proud of. If, you know, if we're going to go into like different solutions or business decisions, there's so many candidates for that spot. But I think if I had to pick one, it would be, you know, our company culture and the team organization around that culture. Okay,

Noah Labhart

let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.

Artem Koren

we didn't start to build telemetry into our product until much later than would have been optimal which means that for a long time we were kind of flying blind and we weren't really sure if there were issues happening in certain parts of the system that if they were happening why they were happening who they were impacting how frequently and so on and it took us a while to get around to building this telemetry into every step of the way of our user's journey with Sembly then we started to be able to ask good questions and get answers to those questions as far as what's happening when users use our platform and so today we have a lot of telemetry and we know a lot about how the our users want Sembly to attend like which languages they use like you know how you know how long they stay on calls like all sorts of things like what parts of they use and how often. And that really, really helps. You're always challenged with like something happens. Why did this happen? You have to be able to have good telemetry to be able to answer those questions. And that I think didn't let us correct certain things quick enough, very early.

Noah Labhart

Well, this will be fun to ask Artem. I'm always interested to hear the founder's perspective here. What does the future look like for the product and for your team?

Artem Koren

there's so much possibility for what we've built with Sembly. I believe we're just scratching the surface so it's items that we're generating today from team conversations meeting notes task that's kind of like the low-hanging fruit and the the big challenge to date was effectively Effectively being able to flow into our users' day-to-day meeting environment, making it very fluid to be able to participate in any meeting they're on and to effectively capture their conversations and turn them into something that we can analyze. And a lot, a lot, a lot of the platform is based on that. And, you know, to do that not only for individuals, but to do that in like large corporate environments. In the years that are coming, you have to think about the fact that as these AI teammates hang out with you in your conversations, they're basically made aware of everything that's going on in your team. And so they're starting to build this digital trail of your work activity. And you can see how an AI who has full awareness of this digital trail of each individual in the team plus the team as a whole can now make intelligent decisions or notice certain things that it can communicate to team members, it can communicate to team leads, and it can also communicate across teams. And so the future is, you know, one of the paths in the future is this enterprise awareness in organizations where there's this kind of a second brain that's behind the scenes, that's aware of all of the things that are happening on teams. And in practically real time can relay that information across different AI nodes in the organization and measure that in next to real time against strategic value metrics, performance metrics, against certain competitive metrics. And you can imagine as an organization coming alive, the nerve endings can respond almost instantaneously. Whereas today, if you go to an enterprise environment, they try to do these things. But these things take, in the best case, a quarter, but in most cases, a couple of quarters to do what's called strategic alignment and project portfolio optimization, which is some of the things we used to do in management consulting back in the day. these are very manual takes a very long time takes a lot of hours a lot of effort and you know there's there's a lot of variance to to the the results because it's very human reliant on who and how is managing these kinds of efforts often they fall to the pmo sometimes not but it's a very like frozen in time process whereas now you can have an organization that becomes highly responsive to everything that's going on all the all at the same time it kind of can feel itself through the nodes of all of its team members because it has a tentacle that's kind of this AI tentacle in all of the team members through this AI teammate that hangs out with you and participates with you on all your meetings. Sounds a little sci-fi, but I think that's the world we live in.

Noah Labhart

Let's switch to you, Artem. Who influences the way that you work? Name a person or many persons or something that you look up to and why.

Artem Koren

Well, there's the classics, like Steve Jobs and how he used to think about product and organization. I really like what he has to say. And then I think it's like a big mix of some of the popular voices in tech. I like what Yann LeCun has to say with regards to how to approach AI. He's very even keeled and practical and he doesn't give into the hype. The way we think about engineering solutions and innovation, I pay a lot of attention to what he has to say. There's no like one person that I will kind of single out like this. You know, this is exactly the person that that I want to emulate. I think I kind of survey across the landscape and then I pick out things that I think resonate with me really well and try to adopt those things.

Noah Labhart

Okay, last question, Artem. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world and can't wait to show it off to you right there on the plane. What advice do you give that person having gone down this road a bit?

Artem Koren

it first of all every startup is a unique organism in the unique ecosystem and my first advice is take every piece of advice with a grain of salt there is no prescription to a successful startup it just doesn't exist that's like saying what's the perfect living organism okay i mean like a fish okay and land that's not going to survive human okay in the space in the cosmos like outside atmosphere, we won't survive. So it really depends on the timing, the environment, some of the social tendencies, some of the technical tendencies, like what business problems are in vogue at the time, so, so much the financial landscape. There's so, so many factors and they all culminating in this one startup. The first thing is like recognize that you're a unique and special marble and And there's nothing universal that will apply to you that applies to everyone else. That said, you have to keep your ears open. You have to keep your antennas up and listen as much as possible and then see if what you're doing is getting you progress. By progress, that is, are you seeing growing enthusiasm from people who you talk to about your product or idea? Yeah. If you're already in a stage where you have a product or an MVP to show or people, you know, wanting to bring this in rather than you having to explain to them why they need it. So kind of pay attention to those like very intuitive indicators that there's a pull for your product. And I think and that's the question of market market fit. Probably the most in our experience, maybe not for every product, but in our experience, this has been the most challenging, challenging question. And it's like, how do you find a fit for the product in such a way that it generates demand? And it took us a while to get there, luckily, some correct notes. And then now, you know, we're very successful in terms of our growth. But I would say, yeah, I would say that. I would say it's like you're unique. There's no kind of advice that's universal. That said, talk to a lot of people, get a lot of feedback and start to notice what are the, you know, what are some common themes and are you getting that pull? And if you're not getting that pull, that means you have some work to do.

Noah Labhart

That's great advice. Well, Artem, thank you for being on the show today. And thank you for telling the creation story of Sembly AI.

Artem Koren

Thank you for having me.

Noah Labhart

And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. and when you get a chance leave us a review both things help us out tremendously and thanks again for listening

Transcribed with Whisper and reviewed for names and terms; speaker labels are automatic and may contain small errors. Timestamps link to that moment of the transcript.