<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Prathamesh Mahale on Medium]]></title>
        <description><![CDATA[Stories by Prathamesh Mahale on Medium]]></description>
        <link>https://medium.com/@prathameshmahale734?source=rss-685f17c87600------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jo3gtyV_LsdKNtT87TDzkQ.jpeg</url>
            <title>Stories by Prathamesh Mahale on Medium</title>
            <link>https://medium.com/@prathameshmahale734?source=rss-685f17c87600------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 19:59:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prathameshmahale734/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[FM AI Studio: Adding Audio to Our AI Stack]]></title>
            <link>https://tales.pratilipi.com/fm-ai-studio-adding-audio-to-our-ai-stack-c4034cc1e802?source=rss-685f17c87600------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4034cc1e802</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Prathamesh Mahale]]></dc:creator>
            <pubDate>Wed, 05 Aug 2026 11:24:24 GMT</pubDate>
            <atom:updated>2026-08-05T11:55:09.695Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kKxGn9OtP9QRyhza09XnZQ.png" /></figure><h3>Pratilipi’s stories already travel across languages, cultures, genres and formats through AI. Audio was the next direction.</h3><p>Take a story published on Pratilipi in Bengali in 2016. Ten thousand people read it, loved it, and moved on.</p><p>At this point, that story has options. <a href="https://medium.com/team-pratilipi/building-hubble-how-we-built-semantic-story-discovery-at-pratilipi-ab9bb38fd55f"><strong>Hubble</strong></a> can surface it when a producer describes the kind of story they are looking for, or when the trend it belongs to comes back around. <a href="https://tales.pratilipi.com/beyond-the-context-window-architecting-long-form-story-generation-8f3a3350255f"><strong>Vaani</strong></a> can give it a second version in Bengali, retuned for the reader who arrived a decade after the first one. <a href="https://tales.pratilipi.com/setu-bridging-stories-across-languages-3a5e59a7cea0"><strong>Setu</strong></a> can carry it into Hindi or Tamil or Marathi, and not by translating sentences; it rebuilds the world around them, so the kitchen and the festival and the aunt with opinions belong to the new reader instead of being someone else’s. <a href="https://tales.pratilipi.com/one-story-many-lifetimes-247d231d221f"><strong>Story Spine</strong></a> can change what kind of story it is: shift the trope, move the genre, restructure it into the shape a different format demands.</p><p>Each of those is a tool we built, and each one owns a direction of travel. Time. Language. Culture and geography. Genre and format. A story enters the library once and can leave it many times over. We are making Pratilipi an AI-amplified Integrated IP Ecosystem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jvR-2Wf-7nHsDZr8TiiXoA.png" /></figure><p>There was one direction it still could not go cheaply: out loud.</p><p>This post is about the tool that closes that gap. <strong>FM AI Studio</strong> is Pratilipi FM’s production system, and it does for audio what Setu does for language and Story Spine does for format. It takes a story that exists as text and turns it into something you would happily live inside for eight hours.</p><p>It also does something the others hint at and none of them could afford. Because a production now costs a fraction of what it used to, the same story does not have to be recorded once and settled. It can be produced several ways, tuned for different listeners, and tested to find out which way actually lands. That turns out to matter more than the cost saving that made it possible.</p><h3>Why audio was the hard one</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rrrvyt-X4FPglAvTcvc4DA.png" /></figure><p>The other trips are expensive in human attention: a writer reading, a translator rewriting, an editor deciding. Those are exactly the costs our tools have been chipping away at.</p><p>Audio is expensive in a different way, and the cost is structural. An audiobook is not one decision. It is a studio, a narrator, and then hours of post-production per episode, every episode, forever. It does not get cheaper the second time you do it, and it does not benefit much from having done it before.</p><p>So the constraint was never appetite, and it was never material. We have 20 million stories and an audience that already listens. The constraint was arithmetic. At studio rates only titles with proven numbers clear the bar, which means a producer spends their time deciding what not to record, and a catalogue this size stays mostly unheard.</p><p>That is the constraint we have now removed, and removing it changes the ambition rather than the budget. We are not trying to ship a bigger audiobook slate. We are moving to abundance: every IP we hold should be available in audio by default, not something someone has to make a case for.</p><p>Getting there meant working out what actually makes an audiobook expensive. The answer was not what we expected.</p><h3>The voice was the easy part</h3><p>Press a button and out comes a voice: clear, warm, expressive, reading your story aloud. A few years ago that was science fiction. Now it is something you rent by the minute.</p><p>So audiobooks are solved. Feed in the text, collect the recording. That is what we assumed too, and we were wrong. Not about whether it could be done, but about which part of it was hard.</p><p>Put on headphones and listen to bare narration, a voice and nothing else, and you notice the absence within seconds. It is flat. Someone is reading at you. Now think about an audiobook that actually held you: the rain you could nearly feel on your neck, the low music that tightened your chest a beat before the twist, the door that slammed on the exact word the villain walked out on.</p><p>None of that is the voice. All of it is production, and production is where nearly all of the engineering went.</p><p>The whole problem fits in one sentence. A producer hears a paragraph and decides two things: <strong>what should be heard, and exactly when.</strong> We had to get a machine making both calls on its own, across hundreds of episodes, consistently enough to ship.</p><p>Synthetic voice is a commodity now; anyone can rent it. The craft that turns narration into an audiobook (scoring a scene, landing an effect on the precise beat, balancing it so music breathes underneath the voice and never over it) is still done by hand, by ear, hours per episode. Automating the producer rather than the narrator is a stretch of map almost nobody has drawn end to end. That is what FM AI Studio is.</p><h3>First attempt: the audio language model</h3><p>The obvious approach today is to hand the whole job to an audio language model, a model that listens to audio directly rather than reading text about it. So we fed it the finished narration and asked it to design the sound.</p><p>It half worked, and it worked in the way you would hope. The audio language model understood scenes. It could hear a confrontation and ask for something tense, hear a reunion and ask for something warm. Its choices were not random and its music suggestions were sane. What it could not do was point.</p><p>Ask an audio language model exactly <em>when</em> and it estimates. Placements drifted by whole seconds. They moved between attempts on the same episode. “Slam the door roughly around here” does not survive contact with hundreds of episodes.</p><p>Good taste, no ruler.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VTjBYqGU1QgntH7AsxjcHQ.png" /></figure><h3>Second attempt: transcript plus a planner agent</h3><p>So we stopped listening and started reading. Instead of one model doing everything from audio, we split the job into facts and taste, and gave the taste to an <strong>agent</strong> working off a transcript.</p><p><strong>Facts</strong> are the timing, and this consumed the most time by a distance. We generate the narration ourselves, so we know every word in it. What we do not know is where each word <em>sits</em> in the audio. So we do something slightly backwards: we run our own narration through speech recognition. Not to recover the words; we wrote those. To recover the clock. What comes back is a transcript where every spoken word carries its exact moment, to the millisecond.</p><p><strong>Taste</strong> is the creative call: which music belongs under this passage, which effect belongs on this line. That goes to the planner agent, which never touches the audio at all. It gets two things: the transcript, and a catalogue of our sound library written in plain language.</p><p>The catalogue is where the audio language model found its real job. It was never bad at listening; it was bad at pointing. So we put it to work doing the thing it is genuinely good at: it listens to every music bed and effect in our library once, offline, and writes down what the clip sounds like, what it feels like and how long it runs. That turned the library into something searchable by mood rather than by filename, and it means the descriptions come from something that actually heard the audio instead of from someone typing filenames at the end of a long day.</p><p>The planner agent then reads those descriptions and reasons over them, the way a producer scans a well-labelled shelf instead of auditioning every track. One model listens. The other decides. Neither is asked to do the other’s job.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ttWnt5_IasG-b4Deq9qpw.png" /></figure><p>Then the decisive part. The transcript is the ruler the audio language model never had, and it changes what we can ask the agent for. We never ask for a timestamp, because a timestamp from a model is a guess nobody can check. We ask the agent to point at a <strong>word</strong>, because a word is a fact you can look up.</p><p>So a cue is not “something tense at 4:12.” It is “start this bed at the sentence where she hears the lock turn, and land the slam on the word <em>slammed</em>.” The transcript converts those words back into exact moments afterward. The agent’s plan then survives whatever the narration’s real length and pacing turn out to be, and the door lands on the right line every time.</p><p>From there the system lays the music end to end so no two beds fight and no scene sits in accidental silence, then mixes it the way an engineer would at a console: voice always winning, effects on their marks, everything fading in and out so nothing arrives cold. The calls an engineer makes by feel (how loud, how long, how gentle the fade) get decided once and applied to every episode after that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sJINb-UWxBL3tN_UW6eDSA.png" /></figure><h3>One episode is a demo. Hundreds is a system.</h3><p>Most of the remaining work lives in that gap, and it is the least glamorous part of the build.</p><p>The system distrusts itself. It flags episodes that smell wrong: a long stretch with no sound, a bed that overran its scene, an episode that came out oddly short, a cue it could not place. Producers review the flagged ones instead of listening to all of them.</p><p>Every plan is auditable. For each sound there is a record of how it found its position, so a reviewer can see why something landed where it did rather than guessing.</p><p>Fixes are surgical. When something is off, a producer regenerates the broken piece and everything already working stays untouched.</p><p>And we keep score on how often we have to redo work and what each episode costs, because a pipeline that quietly degrades is worse than no pipeline.</p><h3>Then the boring part</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U9lUr4Ds7mRo4l7VFudOkw.png" /></figure><p>After that came the half nobody writes blog posts about: actually putting the thing in front of our content team. Episodes move through a finite state machine, one stage handing off to the next. Work runs as async jobs. A machine that dies mid-run resumes where it left off instead of losing the episode. Queues, retries, dashboards, the usual. It is careful engineering and it took a while, and honestly none of it is the interesting part. It is the cost of admission for anything that has to run every day rather than once in a demo.</p><p>What is worth noticing is the other end of it. A producer opens the tool, points it at a story, and gets back a finished episode with a record of every decision in it. Their job is now to listen to the ones the system flagged, disagree with it where it deserves to be disagreed with, and push the standard up. The hours that used to go into placing sounds go into judging whether the episode is any good.</p><p>That is the shape we want every tool in the stack to end up in, and it is the reason we build them ourselves rather than buying something close enough.</p><h3>Whether it holds up</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fUeb-WsV5BhaOLVBuV_rNA.png" /></figure><p>Three numbers matter.</p><p><strong>500+ episodes</strong> have now come off this line.</p><p><strong>5–10x lower cost per episode</strong> than producing the same episode the traditional way. That is the number that moves the bar, and it moves it far enough to change which titles are eligible at all.</p><p>And the one that decides everything: <strong>it holds an audience.</strong> We compared AI-produced episodes with human-produced ones, live, with real listeners, measuring retention across more than five shows. The AI-produced episodes came out at parity with the human baseline, and ahead of it on some measures.</p><p>We are getting detailed feedback from listeners on where the audio falls short, and we are working on it.</p><p>That result is the thesis in a single data point. Not a cheaper tier that gets graded on a curve. Episodes that hold listeners at the same rate, on titles that were never going to see a studio.</p><p>Which is what the cost curve was always deciding: not quality, but eligibility. Move the price of the trip and tens of thousands of titles become recordable at once. A story with a devoted readership in one language and no path to audio suddenly has one. For authors, that is a new audience for work they finished years ago. For listeners, it is the story they want in the form they can use, in the language they think in. For us, it is the same compounding we get from every other tool in the stack: each one added makes every story already in the library worth more than it was the week before.</p><h3>The same story, told several ways</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yvfDy2A6ZQ4qihqvkpkzyg.png" /></figure><p>Here is the part we did not set out to build and now think is the most valuable thing about it.</p><p>For as long as audiobooks have existed, a story gets recorded once. A producer decides who narrates it, how the music sits, how heavy the atmosphere runs, how fast it moves. That is an interpretation, and it is a good-faith bet made by a professional with taste. It is also final, because a second recording costs the same as the first, so nobody makes one. Whatever the producer chose becomes what the story sounds like, permanently, for everyone.</p><p>But there is no single correct way to tell a story out loud, and there never was. The reading that grips a twenty-two-year-old on a night commute is not always the reading that holds a forty-year-old with the kitchen tap running. Restraint works for one listener; a heavier score works for another. Some audiences want the narrator close and quiet, some want the drama pushed forward. Language, region, age, platform, even time of day: they all move the answer. The first five episodes matter most because they define the audience retention funnel. Should the hero appear in Episode 1 or Episode 5? Should the central conflict arrive immediately or unfold more gradually? These are creative choices that have always been extremely difficult to test systematically because every variation demanded significant time and production cost.</p><p>When a production costs a fraction, that stops being true. The same story can be produced several ways: a different narrator, a different musical register, a different intensity, a different pace. Not different edits of one master, but genuinely different productions of the same story, each built for a particular kind of listener.</p><p>Variants only become useful when they can be produced quickly enough to act on what the audience tells us. FM AI Studio can produce around fifty episodes in an hour. That means we can test a narrator, a pace or a musical approach, read the early retention signal, and produce the next version while that signal is still relevant. The advantage is not merely that production finishes faster. It is that creative learning no longer has to wait for production.</p><p>And once you have variants, you are no longer guessing. You put them in front of comparable cohorts and let the listening decide.</p><p>We know this works because it is exactly how we validated the system in the first place. The AI versus human test described above was not a special exercise; it was the machinery doing the ordinary thing it now does, pointed at one question. The same setup answers any other question of the same shape. Which narrator holds this genre? Whether this audience prefers music throughout the episode or only at key moments? Whether a slower read raises completion in one language and lowers it in another? Every one of those used to be a matter of opinion defended in a meeting. Now it is a test that runs.</p><p>This is also where the creative team gains rather than loses. A producer is no longer forced to compress every instinct into one irreversible choice. They can pursue two readings they believe in, ship both, and find out. Taste still generates the options. Evidence decides between them.</p><p>Taken far enough, the catalogue stops being a fixed set of recordings and becomes responsive: the same IP, told the way each audience actually wants to hear it, in their language, at their pace. That is the version of abundance worth aiming at. Not simply more audio, but audio that fits the person listening.</p><h3>What it can’t do yet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VcXpn5LaJoTDLCCR4opEBg.png" /></figure><p>The version described above works. It is also the first one that works, which is a different thing from the last one.</p><p><strong>It only speaks Hindi.</strong> This is the gap that matters most, because it sits directly against everything above it. Setu can carry a story into a language FM AI Studio cannot yet narrate. Voice quality varies enormously by Indian language and every vendor is further along in Hindi than in anything else, so the honest position is that we have proven the system in one language and have the rest to go. Bengali, Kannada, Gujarati, Marathi and Tamil are the point of the exercise, not a stretch goal.</p><p><strong>It runs on a single provider.</strong> Every voice comes from one vendor, which means our quality ceiling, our pricing and our availability are all somebody else’s decisions. Provider and model diversity is the first thing on the list: multiple engines behind the same interface, chosen per language and per show rather than by default, so a change on their side is a routing decision on ours rather than an outage.</p><p><strong>It does not have enough voices.</strong> One narrator per show is good discipline for consistency and a hard limit on everything else. It means no distinct voice for a character, no contrast between a narrator and the person speaking, and it means two different shows can end up sounding like relatives. Expanding the voice roster, and eventually casting a show the way you would cast a room, is where a lot of the perceived quality gap lives.</p><p><strong>The sound library is finite, so it repeats.</strong> The planner agent picks from a shelf, and a shelf runs out. Two scenes carrying the same emotional beat will reach for the same music, and a listener working through fifty episodes will notice that before we do. The direction here is scoring composed for the scene instead of selected for it.</p><p><strong>Nothing carries across episodes.</strong> The agent plans one episode at a time, so it has no idea that the same character is walking into the room she walked into six episodes ago. A human producer would give her a theme. Ours cannot, because it has no memory of the show, only of the file in front of it. For a company built on serialised fiction, that is a real gap.</p><p><strong>It hears words, not pauses.</strong> Anchoring to words is what made the timing reliable, and it also sets the resolution. Producers work in breaths and silences, landing a sound in the gap before a line rather than on it. We can hit the word. We cannot yet hit the space next to it.</p><p><strong>You can sometimes hear the seams.</strong> We narrate an episode in chunks rather than in one pass, and chunks have edges. Stitch enough of them together and the joins occasionally show: a breath that lands wrong, a shift in pace across a boundary, a sentence that starts a fraction too clean. Most of the time it passes. When it does not, it is exactly the kind of small wrongness a listener registers without being able to name, which makes it worth more attention than its size suggests.</p><p><strong>We can produce faster than we can evaluate.</strong> The system catches mechanical faults well: dead air, a music bed that overran, an episode that came out the wrong length. It cannot hear that an episode is technically clean and emotionally wrong. That still takes a person, which means our real throughput ceiling is not production. It is listening.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*57lLmY1vgrMpsgypS9q-gA.png" /></figure><p>And the thing we are most interested in, which our team is already building: <strong>AI-driven scripting.</strong> Right now a story arrives as prose and gets narrated as prose. An audio adaptation is not the same artifact as a book. It wants different scene breaks, different exposition, dialogue that carries without a page to sit on. Doing that properly means the same kind of work Story Spine does for screen, applied to the ear. That is the point at which this stops being a recording pipeline and becomes an adaptation tool, which is where it belongs.</p><h3>The part that stays human</h3><p>One thing worth saying plainly, since it usually gets lost in arguments about AI and creative work.</p><p>Handing the whole job to one clever model got us to okayish. The system got us to shippable, and the distance between those two words is the entire job. AI did not remove the craft of making an audiobook. It relocated it. The work moved from doing it by ear, episode after episode, to deciding once what good sounds like and building something that holds that standard across hundreds of hours. Our producers are still producers. They stopped being the bottleneck.</p><p>The voice was the comparatively easy part. Everything that keeps you listening for eight hours still had to be built.</p><p>That is true of every tool in this stack. Hubble does not decide what is worth telling. Setu does not invent the world it moves a story into. Story Spine does not know why a scene lands. What each one does is make a trip cheap enough to take, so that the judgment worth paying for gets spent on the story instead of on the logistics.</p><p>FM AI Studio is the audio entry in that list. One story, one library, one more direction it can travel.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4034cc1e802" width="1" height="1" alt=""><hr><p><a href="https://tales.pratilipi.com/fm-ai-studio-adding-audio-to-our-ai-stack-c4034cc1e802">FM AI Studio: Adding Audio to Our AI Stack</a> was originally published in <a href="https://tales.pratilipi.com/">Team Pratilipi</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One story, many lifetimes.]]></title>
            <link>https://tales.pratilipi.com/one-story-many-lifetimes-247d231d221f?source=rss-685f17c87600------2</link>
            <guid isPermaLink="false">https://medium.com/p/247d231d221f</guid>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[product-design]]></category>
            <dc:creator><![CDATA[Prathamesh Mahale]]></dc:creator>
            <pubDate>Tue, 12 May 2026 13:06:20 GMT</pubDate>
            <atom:updated>2026-05-13T09:55:57.177Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RaMYj-dgpnuXaT0okV25vg.png" /></figure><p>Most of what our screenwriters do isn’t writing. It’s reading.</p><p>Double Tap Films is India’s first data-backed microdrama studio, built on Pratilipi’s storytelling ecosystem of over 20 million stories, 2 million authors, and 800 million monthly reads. We don’t pick stories by instinct. We know what India reads before we decide what India watches. Our debut slate of 150+ microdramas spans Hindi, Bengali, Kannada, and Gujarati, distributed across Amazon Prime Video, MX Player, Hungama OTT, and more than ten other platforms. India’s microdrama market is projected to cross $1 billion by 2030. We intend to be the studio that defines what that market sounds like.</p><p><strong>We are making Pratilipi an AI-amplified Integrated IP Ecosystem</strong>, and the studio is only the visible end of it. We’ve spent a decade building the largest library of original storytelling in India. The next decade is about moving those stories: from page to screen, from one language to another, from the world they were written in to the worlds we want to take them to next. Story Spine is one of the tools we built for that work. It takes a written story and gets it ready to shoot.</p><p>This is the story of how it works, and what changed when we put it in front of writers.</p><p>But volume at this scale creates its own problem. You can’t build a franchise pipeline if your writers are spending half their time reading summary documents.</p><p>Microdrama is a punishing format. You have seconds to hook a viewer, minutes to take them somewhere, and almost no room to waste. Every scene has to earn its place. Every character has to matter. Every location has to pull its weight.</p><p>So when a writer sits down to adapt a story, their first job isn’t writing. It’s understanding. What actually happens in this story? What can we cut? What looks redundant now but becomes essential by episode 30? What locations are expensive to shoot but easy to replace?</p><p>For a long time, answering those questions meant reading. A lot of reading.</p><h3>The document nobody finished</h3><p>Every story came with a summary document. These were thorough, careful, well-intentioned, and enormous. The kind of document you open, scroll through, and quietly close when no one is looking.</p><p>Writers needed to know what happens to a character by episode 50. They’d skim and search and guess. They needed to know which side plots were cuttable without unraveling the spine of the story. They’d make their best judgment and hope. They needed to decide whether a shooting location could be swapped out for something cheaper. They’d rewrite the scene and cross their fingers.</p><p>The information existed. It was just buried. And in a format this fast-moving, buried is the same as lost.</p><p>We weren’t adapting stories so much as excavating them, and we were doing it manually, every single time.</p><h3>What we built instead</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PMvJ1L1FcrGc_lkg0NneOg.png" /></figure><p>Story Spine has two parts, and they solve two different problems.</p><p>The first is a canvas: a distilled, structured view of the story’s crux. Not a summary, but a production-ready breakdown that the agent generates automatically from the source material. For every story, the canvas produces:</p><ul><li><strong>A single story engine.</strong> One sentence that captures the entire emotional and narrative drive. For a story like <em>The Secret Collector</em>, that’s: “An orphaned girl marries her best friend’s brother to escape an abusive uncle, and he sacrifices everything to make her a powerful District Collector.” Every writing decision flows from that sentence.</li><li><strong>An act-wise breakdown.</strong> The story divided into clear acts with the key turn in each. Not a scene list, but the shape of the story: what the inciting incident is, where the conflict escalates, what “all is lost” looks like, and how the resolution lands.</li><li><strong>High-point mapping.</strong> The agent identifies the top-loaded hooks across episodes. Ep 1: uncle beats the protagonist; she hides in the hero’s room. Ep 5: the wedding. The groom leaves. He steps forward and ties the knot. Ep 30: the results. She’s rank #1. These are the moments a microdrama lives or dies on. The canvas surfaces them so writers can build toward them, not stumble onto them.</li><li><strong>A keep vs. kill track list.</strong> Which subplots survive adaptation and which get cut. The agent doesn’t just flag redundant characters; it explains why they’re cuttable. The extended cousins go because they add nothing to the core conflict. The sister’s separate love story goes because it splits focus. The core three tracks (the Cinderella arc, the silent sacrifice, the brother vs. brother war) stay because the story doesn’t work without them.</li><li><strong>A production feasibility map.</strong> The three main characters, the four secondary ones, the four primary locations, and a list of outdoor scenes already rewritten as indoor equivalents. Temple scenes become home puja room scenes. Bus stop goodbyes become front gate goodbyes. The canvas hands this to the writer ready to shoot.</li></ul><p>The redundant subplots aren’t there. The characters who exist only to service scenes that won’t survive adaptation aren’t there. What’s left is what matters, and it’s structured so a writer can open it and start working, not start reading.</p><p>The second is an agent. A writer can ask it anything. What does this character want by the midpoint? Which of these two locations could we collapse into one? Is this beat actually essential, or does it just feel essential? The agent has read the whole story and it answers like it has.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p9youpsvoiLNSLY-rkL6tg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B7XMLFVrIeaOiqlV8L4pCA.png" /></figure><p>Here’s where it gets interesting. The agent doesn’t just answer questions about the story. It can rewrite it. And when it does, it doesn’t rewrite in isolation.</p><p>Say a writer decides a character is too expensive to keep: the shooting schedule, the arc, the screen time. They tell the agent:</p><blockquote><em>“Kill off Character A at the end of episode 12. Rewrite the story as if she was never there.”</em></blockquote><p>The agent doesn’t just remove her. It follows the consequences across every scene she influenced, every plot thread she held together, every moment downstream that would otherwise break:</p><ul><li>Her subplot with Character B gets restructured so B’s arc still resolves</li><li>The location introduced specifically for her scenes gets marked for review</li><li>The episode 34 reveal that depended on her gets reassigned to another character</li><li>Every beat, hook, and thread she touched gets updated across the full story</li></ul><p>A change in episode 12 that ripples through episode 50 gets caught and resolved, not left as a hole for the writer to find later.</p><p>Writers can do this with locations too (<em>“make this story work without the rooftop set”</em>) or with entire subplots (<em>“cut the rival company storyline and redistribute its function”</em>). Whatever the instruction, the agent treats it as a story problem, not a find-and-replace. The output is a coherent revised spine, not a document with holes in it.</p><p>Stories aren’t modular. Pull one thread and others move. The agent understands that.</p><p>This is what makes it different from a search tool or a summarizer. It’s a collaborator that holds the whole story in its head and edits like it does.</p><h3>Not just cuts, but transformations</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cb__Yu_a75lySez2vrwfzg.png" /><figcaption>whats the story about ?</figcaption></figure><p>Some of the most powerful instructions aren’t about removing things. They’re about changing them.</p><p>Microdrama audiences are hungry, and trends move fast. A story that performed well as a slow-burn family drama might need to become a fantasy romance next season. A trope that felt fresh six months ago might already be tired. The agent handles this too, not just at the scene level, but across the whole story.</p><p><strong>Swapping tropes.</strong> A writer working on a story built around an arranged marriage might get a brief: <em>“Make this feel more contemporary. Change it to a corporate fling.”</em> That’s not a one-line edit. The entire emotional logic of the story shifts. The family pressure becomes professional rivalry. The formal introductions become a charged conference room. The slow trust-building across households becomes stolen moments between meetings. The agent rewrites not just the scenes but the subtext, finding the equivalent beat in the new trope for every beat in the old one, so the story still lands the same emotional punches in a different register.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*onxh_H0jFa3gwuTwdBXXvw.png" /><figcaption>corporate drama to island thriller</figcaption></figure><p>More examples of what this looks like in practice:</p><ul><li><em>“Change the love interest from a rival family’s son to a coworker the protagonist is not supposed to date”:</em> the agent rebuilds the obstacle structure, the secrecy, and the supporting characters who enable or threaten the relationship.</li><li><em>“The hero’s motivation was family honour. Change it to debt”:</em> every scene where honour was the engine gets re-examined; the ones that still work stay, the ones that don’t get rewritten.</li><li><em>“Make the antagonist’s goal financial instead of personal”:</em> scenes built on emotional grievance get reframed around stakes that are colder, more corporate, more microdrama-friendly.</li></ul><p><strong>Switching genres.</strong> This is where it gets genuinely surprising. Take a story rooted in a desi household: the cramped kitchen, the overbearing relatives, the marriage pressure, the slow negotiation between tradition and self. Now ask the agent: <em>“Move this to a fantasy world. Same emotional core, different setting.”</em></p><p>The agent doesn’t just swap the location labels. It asks what the household was doing for this story. It was a pressure cooker, a place where the protagonist couldn’t escape, where every scene carried the weight of expectation. In a fantasy setting, that becomes a royal court, or a clan compound, or a village where magic is inherited and the protagonist has the wrong kind. The mother who pushed for marriage becomes the elder who controls access to power. The arranged match becomes a political alliance between bloodlines. The emotional beats (obligation, rebellion, the cost of choosing yourself) survive the translation because the agent works at the level of function, not surface.</p><p>The story isn’t the setting. It’s the pressure, the want, the cost. Change the world and the agent finds where those things live in the new one.</p><p>This turns Story Spine from an adaptation tool into something closer to a development tool. Writers aren’t just converting existing stories. They’re exploring what those stories could become.</p><h3>What changed, and what surprised us</h3><p><strong><em>+8 more stories per week · 15–20% throughput increase per writer</em></strong></p><p>The throughput numbers are real and we’re proud of them. But the more interesting shift is qualitative. Writers aren’t spending their energy on orientation anymore. They come to the story already knowing it, at least the parts that matter, and they spend their time on the actual craft: shaping scenes, finding the right hook, making something that works in this format.</p><p>One thing we didn’t expect: the canvas changed how writers think about faithfulness. Microdrama adaptation has always required cutting. We’re never fully faithful to the source. But when you can see the spine clearly, the cuts get smarter. Writers aren’t guessing what’s essential. They can see it. And that changes the conversation from <em>“what do we lose?”</em> to <em>“what do we keep, and why?”</em></p><p>Something that looks redundant in episode 5 might be the reason episode 40 lands. The agent knows that. It reads the whole thing so we don’t have to.</p><h3>Where Story Spine sits in the Storyverse</h3><p>The starting point is the library. Twenty million stories. Two million authors. Eight hundred million reads a month. That isn’t inventory; it’s a record of intent: what India actually wants to read, by region, by language, by mood, by year. We know which stories are loved by which audiences and why. That data is the floor everything else stands on.</p><p>On top of the library sits a set of tools, each built to handle one part of how a story travels.</p><p><a href="https://medium.com/team-pratilipi/building-hubble-how-we-built-semantic-story-discovery-at-pratilipi-ab9bb38fd55f"><strong>Hubble</strong></a> is the discovery layer. It searches the library by natural language and by emerging cultural trends, surfacing stories that fit a brief or a moment. When a producer is looking for the next contemporary romance, the next mythological retelling, the next story about a working woman in a small town, Hubble is what finds it.</p><p><a href="https://medium.com/team-pratilipi/beyond-the-context-window-architecting-long-form-story-generation-8f3a3350255f"><strong>Vaani</strong></a> is reimagination within a language. The original is the original, but sometimes a story deserves a second life in the same tongue: a fresh take, a contemporary register, a version that lands today even though the first one landed a decade ago.</p><p><a href="https://medium.com/team-pratilipi/setu-bridging-stories-across-languages-3a5e59a7cea0"><strong>Setu</strong></a> carries stories across languages and cultures. Not just translation, but transliteration: rewriting the world around the story so a reader or viewer in a new region feels at home in it.</p><p><strong>Story Spine</strong> handles format. Right now that means turning written stories into microdramas. The same approach can take a story into a comic, an audiobook, or any other format, in any order we need.</p><p>And then there are our production arms, which take stories from the page out to wherever audiences are. <strong>Double Tap Films</strong> turns them into microdramas. <strong>Pratilipi FM</strong> records them as audiobooks. <strong>Pratilipi Comics</strong> reformats them as comics. Our <strong>imprints</strong> carry them into printed books and graphic novels, closing the loop between what gets read on a phone and what ends up on a shelf.</p><p>None of these tools is the point on its own. The point is what happens when they’re connected. A story can be discovered through Hubble, reimagined through Vaani, translated and culturally transliterated through Setu, transformed through Story Spine, shot by Double Tap Films, recorded as an audiobook at Pratilipi FM, reformatted as a comic in Pratilipi Comics, and printed under one of our imprints. At every stage, the thing that travels is the story itself (the spine, the want, the cost), not just its words.</p><p>That’s the system. Story Spine is the part that makes the jump from page to screen. The rest of the Storyverse makes sure the story is worth the jump in the first place, and that one good jump can become many.</p><p><em>Story Spine is an internal tool built for our writers. These results reflect our first weeks of use across our writing team.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=247d231d221f" width="1" height="1" alt=""><hr><p><a href="https://tales.pratilipi.com/one-story-many-lifetimes-247d231d221f">One story, many lifetimes.</a> was originally published in <a href="https://tales.pratilipi.com/">Team Pratilipi</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How We’re Using AI to Optimize Efficiency in the Author Submissions and Discovery Process]]></title>
            <link>https://tales.pratilipi.com/how-were-using-ai-to-optimize-efficiency-in-the-author-submissions-and-discovery-process-36477a15658e?source=rss-685f17c87600------2</link>
            <guid isPermaLink="false">https://medium.com/p/36477a15658e</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[publishing]]></category>
            <category><![CDATA[book-publishing]]></category>
            <dc:creator><![CDATA[Prathamesh Mahale]]></dc:creator>
            <pubDate>Wed, 15 Oct 2025 07:31:12 GMT</pubDate>
            <atom:updated>2025-10-15T07:35:01.647Z</atom:updated>
            <content:encoded><![CDATA[<p>At Westland, in partnership with Pratilipi, we’ve always believed that exceptional stories can emerge from anywhere, and that every writer deserves genuine consideration. Over the years, as our reputation has grown, we’ve been honored to receive manuscripts and proposals from authors across the globe, each carrying unique perspectives and powerful narratives.</p><p>But this success brought an unexpected challenge: our editorial team was drowning in submissions. With hundreds of proposals arriving monthly and a dedicated but small editorial staff, we faced a heartbreaking reality. Some extraordinary voices might go unheard, not by design, but simply due to the limitations of time and human bandwidth.</p><h3>The Challenge :</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CuZ73zO1UrwhZQk_UzSWMw.png" /></figure><p>Every proposal that lands in our inbox represents months or years of an author’s dedication. Yet when editors spend countless hours sorting emails, organizing scattered attachments, and separating author biographies from sample chapters, they lose precious time that should be devoted to what matters most: actually reading and evaluating the work.</p><p>This administrative burden was inefficient and did not allow the team to give authors the full attention they deserved.</p><h3>Our Solution: AI as Editorial Assistant.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CFrlq4649qZ1Wt8DAryNiQ.png" /><figcaption>AI as Editorial Assistant</figcaption></figure><p>Working with Pratilipi’s technology team, we’ve developed an AI-powered workflow that functions as an intelligent assistant to our editorial staff. Think of it as having an incredibly efficient intern who never gets tired and works with perfect consistency.</p><p>Here’s what the AI assistant does:</p><p><strong>Smart Sorting:</strong> It automatically identifies genuine book proposals among all incoming emails, filtering out unrelated correspondence so editors can focus exclusively on submissions.</p><p><strong>Intelligent Organization:</strong> It separates author materials (CVs, bios, author statements) from manuscript content (sample chapters, synopses, plot summaries), creating a clean, logical structure for each submission.</p><p><strong>Thoughtful Summarization:</strong> For every proposal, it generates a clear, comprehensive overview highlighting the author’s background, the book’s core themes, and key selling points</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*kmWr9eiAk2nhsVEQYQzP-Q.png" /></figure><h3>What this means for our team.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q_4L_Ou2co5QHQmoZiNFJg.png" /><figcaption>Before vs After : Every Voice Heard.</figcaption></figure><p>Let’s consider a case study with an average proposal and manuscript of 20000 words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vVt8ooO7xGX6BzLs9aq6aQ.png" /></figure><p>The most important outcome is simple: <strong>no proposal gets lost in the shuffle</strong>. With AI handling the organizational groundwork, our editors can dedicate significantly more time to the creative evaluation that matters.</p><p>Instead of spending their mornings untangling email threads and hunting for attachments, our editorial team now begins each day with clearly organized submissions, complete with context and structure. This translates to:</p><ul><li><strong>Faster response times</strong> on submissions.</li><li><strong>More thorough consideration</strong> of each manuscript.</li><li><strong>Greater editorial bandwidth</strong> devoted to reading and discussing the authors’ actual work.</li><li><strong>Fairer treatment</strong> across all submissions, regardless of when they arrive.</li></ul><h3>Technical Challenges</h3><p><strong>Model Selection in a Rapidly Evolving Landscape</strong><br>The large language model space is expanding at breakneck speed, with new models launching weekly, each claiming superior performance over their predecessors. This rapid evolution presented us with a critical challenge: selecting the right models from Google’s extensive lineup while balancing two key parameters which are long context handling capabilities and cost per million tokens.</p><p>We focused our analysis on Google’s Gemini series, particularly drawn to their claimed 1M token context window because sometimes our authors share manuscripts which are huge. Through rigorous testing, we verified that context coherence remained intact across long-form stories, with our editorial team confirming the quality and consistency of the analysis output.</p><p><strong>Maximum Delegation: The Single Responsibility Principle for LLMs</strong><br>Our experience reinforced a fundamental software engineering principle: one function should do one thing well. This principle, we discovered, applies equally to large language models.</p><p>We identified two critical tasks in our pipeline:</p><ul><li>Intelligent analysis of content.</li><li>Structured output generation for downstream processing.</li></ul><p>Initial attempts to handle both tasks in a single LLM call resulted in suboptimal performance and increased error rates. The solution was to implement a two-stage approach:</p><ul><li><strong>Stage 1: Intelligent analysis</strong></li><li>We use Gemini-2.5-Pro for summarizing content and generating comprehensive natural language insights. This model excels at the complex reasoning needed for thorough analysis.</li><li><strong>Stage 2: Structured Parsing</strong></li><li>The natural language output from Stage 1 is then processed by Gemini-2.5-Flash, a lighter, faster model optimized for parsing and structuring data into our required format.</li></ul><p>This separation of concerns improved output quality and optimized our cost structure by using the right model for each task. It also reduced our single proposal analysis latency by 50%.</p><p><strong>Document diversity: OCR for inconsistent formats</strong></p><p>Another challenge arose from the wide variety of file formats authors use to share proposals, including PDFs, DOCX files, JPEGs, and PNG scans of printed pages. Often, crucial information about the author’s profile or proposal context was locked in these non-text formats, complicating consistent capture by our pipeline.</p><p>To address this, we integrated <strong>OCR (Optical Character Recognition) models</strong> into the workflow. This ensured that even image-based submissions were parsed accurately, preserving every author detail and preventing important metadata from being overlooked.</p><h3>The Impact</h3><p>The impact occurred in two stages:</p><p><strong>Backfilling Prior Proposals</strong>: We ran this pipeline on over <strong>1,500 emails</strong> from January 2025 to present and identified several compelling proposals. For this analysis to be done manually would have required <strong>multiple weeks of team effort.</strong></p><p><strong>Current Operations</strong>: This system now runs weekly. In any given week, we receive approximately <strong>600,000 to 800,000 </strong>words worth of content. For a human to read this volume would require <strong>40–50 hours </strong>depending on reading pace, which was not feasible for our team. Now it’s possible. So, summarizing:</p><ul><li><strong>1,500+ past proposals</strong> summarized and organized in minutes instead of weeks.</li><li><strong>50 proposals</strong> read weekly, saving <strong>12.5hrs</strong> approximately.</li><li><strong>100+ proposal emails</strong> sorted automatically each month, saving approximately <strong>4 hours</strong> monthly.</li></ul><h3>The Editor Decides.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q86i_AnMI4FsIQnZ1vr1IA.png" /><figcaption>The Human Touch.</figcaption></figure><p><strong>Every decision is made by the editorial team</strong>. Our editors are the ones who read every story, and recognize the spark of something special. The AI serves as a sophisticated filing system, it organizes, it summarizes, but it never judges.</p><p>When an editor opens a submission file, they’re looking at the author’s work through entirely human eyes, bringing their years of experience, literary intuition, and understanding of what readers want.</p><h3>Privacy First.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HMZpIYU1vGw5eCZ4DzCOSA.png" /></figure><p>Our system runs on <strong>Google’s Vertex AI platform</strong>, which operates under <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/data-governance">strict legal agreements</a> that prohibit the use of customer data for model training or any other purpose beyond the specific task at hand. This means:</p><ul><li>Proposals and manuscripts are <strong>never used to train AI models</strong></li><li>Author submissions remain <strong>completely confidential</strong> to our editorial team</li><li>Author intellectual property is <strong>fully protected</strong> throughout the process</li><li>Google cannot and does not access or store any creative content</li></ul><h3>In the Future…</h3><p>Our future vision is to expand the AI editorial assistant into a holistic ecosystem:</p><ul><li><strong>Guidance Tools</strong> that help editors communicate quickly with authors offering suggestions for strengthening submissions by flagging missing or inadequately addressed elements.</li><li><strong>Research Companion</strong> that supports editors with data related to comparable titles, market insights, and audience signals.</li><li><strong>Author Discovery Platform</strong> that transforms past proposals into a searchable archive, ensuring no promising manuscript is ever lost.</li></ul><p>Together, these advances will help our editors make better decisions and build a process that is both efficient and empathetic.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36477a15658e" width="1" height="1" alt=""><hr><p><a href="https://tales.pratilipi.com/how-were-using-ai-to-optimize-efficiency-in-the-author-submissions-and-discovery-process-36477a15658e">How We’re Using AI to Optimize Efficiency in the Author Submissions and Discovery Process</a> was originally published in <a href="https://tales.pratilipi.com/">Team Pratilipi</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Hubble: How We Built Semantic Story Discovery at Pratilipi]]></title>
            <link>https://tales.pratilipi.com/building-hubble-how-we-built-semantic-story-discovery-at-pratilipi-ab9bb38fd55f?source=rss-685f17c87600------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab9bb38fd55f</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[search-engines]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Prathamesh Mahale]]></dc:creator>
            <pubDate>Mon, 06 Oct 2025 08:23:14 GMT</pubDate>
            <atom:updated>2025-10-06T08:25:32.310Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>TL;DR:</strong><br>At Pratilipi, we built <strong>Hubble</strong>, a semantic story discovery platform that helps our IP team find the right stories fast. Instead of relying on keywords or engagement metrics, Hubble uses <strong>LLM-driven compression</strong> to generate deep semantic tags capturing a story’s narrative meaning, character arcs, themes, tone, and more. These tags are embedded as vectors for efficient search, then reranked by an AI to match client queries with precision. The result: <strong>what used to take 4 hours now takes 30 minutes</strong>, <strong>cross-language discovery is possible</strong>, and our <strong>IP team can explore twice as many high-quality stories.</strong></p><p><strong>At Pratilipi, stories are at the heart of everything we do. </strong>We believe our authors create worlds that deserve to be seen by millions more, beyond the page and onto screens and stages. Our IP team works tirelessly to uncover stories that can be reimagined as films, series, or other media, giving authors the wider audience their creations truly deserve.</p><p>But as our catalog grew to over<strong> 2cr+ titles</strong> across genres and formats, so did the challenge of discovery. When a narrative brief arrives from media houses or OTT platforms our IP team must quickly find stories that resonate<strong> tonally, thematically, and structurally.</strong> Yet this process often devolved into manual search, driven by surface-level tags, engagement metrics, or simply memory. <strong>Great stories could be overlooked, and responses felt generic or delayed.</strong></p><p>The problem was simple: <strong>searching by keywords or engagement numbers doesn’t capture what the concept of the story is.</strong> A high-engagement thriller might be completely wrong for a client looking for “something like Tumbbad”. <strong>We needed a system that understood stories the way humans do, through tropes, character arcs, themes, tone, and narrative meaning.</strong></p><h3>The Vision</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*NA8OZ7HbeYbX8R2kLnB6bg.png" /></figure><p>We imagined a platform where you could find stories not by raw engagement numbers or keyword hits, but by true content understanding. We wanted search that reasons about tropes, characters, story arcs, themes, semantic meaning, world-building, tone and voice, point of view, dialogue style, conflict and stakes, recurring motifs, cultural context, etc. In short, we wanted search that understands what the story actually is, not just what it looks like from the surface.</p><p>The result we were chasing? Being able to search by reference (“something like Taare Zameen Par”), by reference with modification (“Inception but in deep space”), by very specific genres (folklore horror, college romance, age-gap), or just by feels (“something spiritual, like someone finding themselves”). Search that feels like talking to someone who’s read everything and just <em>gets it</em>.</p><h3>Why the Obvious Approach Fails</h3><p>The naive solution seemed obvious: feed the full story text into an embedding model, produce a vector, and use cosine similarity against the user query. Simple, clean, done.</p><p>Except it breaks down immediately in practice. Most stories on our platform span 500+ chapters. How many chapters can you realistically vectorize per story given token limits and compute costs? Even if you could embed everything, the signal becomes diluted. Many serials include filler chapters, repeated descriptions, or long stretches without significant plot movement. In those cases, the dense embedding ends up reflecting surface language more than the narrative beats you actually care about. The semantic meaning for the things you would search for drops dramatically.</p><p>We needed something smarter. We needed to make the story text more informationally dense before we ever touched an embedding model.</p><h3>Stage 1: Teaching AI to Read Like a Human</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*X5-hCEwHUeXRNpvGQRiVWA.png" /></figure><p>This is where our first breakthrough came. Instead of embedding raw story text, we decided to use <strong>LLM-driven compression</strong>, but not summaries, which lose too much. We wanted <strong>deep semantic tags</strong> that captured the underlying narrative meaning of a story.</p><p>The question became: <strong><em>what should these tags look like, and how many chapters are enough to understand a story’s essence?</em></strong> To answer this, we did something that turned out to be the most valuable part of the project. We collaborated directly with authors from Pratilipi’s content and language teams and built the first prototype using their stories.</p><p>Here is what we did:</p><ul><li>Studied existing platforms and their taxonomies.</li><li>Read literature on story structure.</li><li>Most importantly, <strong>talked to writers</strong>. We showed them our tags and asked: <em>does this capture your story?</em> Feedback from those who knew the stories best was invaluable, especially for <strong>complex concepts</strong> like doppelgangers, double identities, folklore horror, and other intricate narrative elements.</li></ul><p>We also made sure performance remained strong for <strong>Dravidian languages</strong> like Malayalam, Telugu, and Tamil, ensuring story concepts and cultural context translated accurately across languages.</p><p>Through constant iteration over approximately 100 stories, we found that <strong>processing the first 10 chapters</strong> balanced signal quality with cost, refined through author feedback. Using this foundation, we crafted a <strong>system prompt</strong> that ensured consistent performance across languages and story concepts. (I would share it with you, but then I would have to kill you.)</p><p>Beyond tags, we also generated <strong>additional metadata</strong> such as world settings and summaries to extract maximum value from the input tokens. Here is what a completed output looks like:</p><blockquote>[GENRE]: Romance</blockquote><blockquote>[SUBGENRES]: Romantic-Drama : 70%, Legal-Drama : 20%, Coming-of-Age : 10%</blockquote><blockquote>[TAGS]: ambition, career-woman, courtroom-drama, determined-protagonist, emotional-growth, family-secrets, found-family, justice-system, legal-battle, legal-thriller-elements, mentorship, overcoming-adversity, personal-loss, professional-ethics, professional-rivalry, resilience, social-justice, strong-female-lead, trauma-recovery, unexpected-romance</blockquote><blockquote>[SETTING]: modern-bengaluru, law-firm, courtroom, urban-india</blockquote><blockquote>[UNIQUENESS FACTOR]: The narrative skillfully intertwines a high-stakes legal career with deeply personal emotional arcs, exploring themes of justice, loss, and healing through the eyes of a young, driven lawyer. The burgeoning romantic tension is subtly woven into the professional and personal challenges, creating a unique blend of empowerment and vulnerability.</blockquote><blockquote>[SUMMARY]: This story follows Aishwarya, a courageous and justice-seeking junior lawyer, as she navigates a challenging legal career and personal turmoil...</blockquote><p>This metadata is effectively a compressed representation of a story’s narrative DNA.</p><p>Model selection for this stage was critical. We plotted intelligence scores versus cost to process stories at scale and found a sweet spot with Gemini 2.5 Flash Lite. This was the best model for our use case at that time (just 2 months ago — a lifetime in AI terms). The processing cost came out to approximately $250 for 50k stories.</p><h3>Stage 2: From Tags to Vectors.</h3><p>Once we had these rich semantic tags for each story, the next step was straightforward: embed them. We chose <strong>Qwen3–4B</strong> for this, the 3rd best embedding model in the world at the time, <strong>with 32k context length</strong> and very cost-effective pricing. We configured it for <strong>1024 dimensions</strong> to balance semantic richness with storage and retrieval speed.</p><p>The beauty of this approach is that we’re now embedding something that’s already been <strong>distilled by an LLM to capture narrative meaning. </strong>We’re not fighting against token limits or trying to squeeze 500 chapters into a vector. We’re embedding the <em>essence</em> of the story.</p><h3>Stage 3: AI augmented search.</h3><p>Here’s where things get interesting. One thing we’ve always noticed is that human input matters tremendously when interacting with any autonomous system. We wanted to make sure we were using these tools optimally, especially since demand for IP is unpredictable and swings with current trends in filmmaking.</p><p>Our IP team might get a query like “something like Tumbbad.” Now, how do you translate that into a searchable query? One could just say “folklore horror” and be done with it. But we built something better.</p><p>We run the query through an <strong>AI workflow. </strong>We take the raw query, research the reference via web search to understand context, and generate a tag list for the query using the same process we used for stories. Then we retrieve the nearest <strong>100 vectors via cosine similarity.</strong></p><h3>Stage 4: LLM as reranker.</h3><p>We could stop here and get decent results. But we don’t.</p><p>IP teams need to move fast, so we pass these 100 story metadata entries (tags, summaries, world settings, etc.) to another LLM workflow. <strong>This reads the content from all 100 candidates and extracts the top 10 based on the user’s actual query intent.</strong> This makes the system interactive and dynamic. Users can adjust their initial and final candidate pool sizes, and if they don’t find what they’re looking for in the first try, they can refine and iterate.</p><p>The three-stage pipeline looks like this: query enrichment, vector similarity search for 100 candidates, and intelligent reranking to the top 10. Each stage adds a layer of understanding, moving from broad semantic similarity to nuanced intent matching.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*XtGQDosmp0RGCLkpgK8MYw.png" /></figure><h3>The Impact.</h3><p>The numbers tell the story better than we could. Earlier, it would take about<strong> 4 hours to find 5 suitable stories</strong> for any given client brief. <strong>Now it takes about 30 minutes.</strong> That’s not just a speed improvement, that’s the difference between responding to a client the same day versus the same week.</p><p>But the impact goes beyond speed.<strong> Hubble has helped us explore different languages </strong>that we hadn’t explored before. Since Hubble saves all metadata in English, our IP team members can now discover Malayalam folklore horror or Telugu family dramas without needing to read those languages fluently. Whole new language catalogs that were essentially invisible before are now searchable and discoverable.</p><p>The quality of our responses improved too. <strong>Earlier, we provided up to 15 stories per brief; with Hubble, that number sometimes doubled to 30. </strong>More options means better matches, and better matches mean our authors get more opportunities to see their work adapted.</p><p>Here is a testimonial from one of our content wizards who was deeply involved with us throughout development :</p><blockquote>Hubble has become an important part of our daily work in the IP Team. We go through hundreds of stories in different languages and genres, and we needed a clear way to find ideas with strong adaptation potential. Earlier, we relied too much on data points like completion rate or total reads, which were factors outside the story itself. We also used to make summaries and search through keywords to identify the right ones. With Hubble’s automatic summaries, genre tags, and LLM rankings, our story selection process is now much faster, better organized, and more reliable. Tasks that once took hours of reading and discussion can now be completed within minutes.</blockquote><blockquote>We have also noticed that stories performing well in terms of metrics often follow similar patterns. Finding a truly unique concept that could be developed into an OTT series used to mean generating hundreds of summaries and hoping to stumble upon something fresh through keyword searches. That gap has now been completely closed with Hubble.</blockquote><blockquote>Most importantly, Hubble brings creative thinking and structured processes together. It allows both our operations and content teams to focus on what truly matters, finding the best stories that can become multiformat superhits.</blockquote><blockquote>— Athiyan Arumugam, IP and Partnerships at <a href="https://medium.com/u/5a22dbdaa684">Pratilipi</a></blockquote><h3>What’s Next</h3><p>Hubble still has clear limitations we’re working on.</p><ul><li>The biggest one is that we only process the first 10 chapters. That works for most stories, but what if a <strong>cozy love story transforms into a murder thriller after chapter 15? </strong>Right now, we’d completely miss that shift. We’re exploring ways to track narrative evolution across longer serials without exploding our processing costs.</li><li>We also can’t search by live action adaptability yet. A story might match a client’s brief perfectly, but <strong>if it needs heavy VFX or complex action sequences, that matters for production budgets.</strong> We want to add this layer of understanding.</li><li>Same with format compatibility. Some stories work great as microdramas with tight pacing, others need full series treatment. <strong>Being able to filter by “suitable for 10-episode web series” versus “works as microdramas” would make our recommendations sharper.</strong></li></ul><p>These aren’t moonshot problems. They’re just the next iteration of making story discovery more useful for the people who actually need to turn these stories into productions.</p><p>Building Hubble taught us that sometimes the best way to use AI isn’t to throw everything at the biggest model and hope for the best. It’s about understanding where human insight matters, where compression adds value instead of losing it, and where you need multiple stages working together instead of one magic solution.</p><p>This work wouldn’t have been possible without the collaboration of Pratilipi’s content and language teams, and the authors who provided invaluable feedback throughout the development process. They reminded us that at the end of the day, we’re not building a search engine. We’re building a bridge between stories and the audiences they deserve.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab9bb38fd55f" width="1" height="1" alt=""><hr><p><a href="https://tales.pratilipi.com/building-hubble-how-we-built-semantic-story-discovery-at-pratilipi-ab9bb38fd55f">Building Hubble: How We Built Semantic Story Discovery at Pratilipi</a> was originally published in <a href="https://tales.pratilipi.com/">Team Pratilipi</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>