<?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 Ipshita on Medium]]></title>
        <description><![CDATA[Stories by Ipshita on Medium]]></description>
        <link>https://medium.com/@ipshi?source=rss-7059c96d365d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*krHCw0p9vxdrjVbpdQevew@2x.jpeg</url>
            <title>Stories by Ipshita on Medium</title>
            <link>https://medium.com/@ipshi?source=rss-7059c96d365d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 08:21:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ipshi/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[Search, Retrieval and Augmentation]]></title>
            <link>https://medium.com/@ipshi/search-retrieval-and-augmentation-2e5f1b0185b0?source=rss-7059c96d365d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e5f1b0185b0</guid>
            <category><![CDATA[retrieval-augmented-gen]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Ipshita]]></dc:creator>
            <pubDate>Tue, 17 Sep 2024 02:21:29 GMT</pubDate>
            <atom:updated>2024-09-17T02:21:29.676Z</atom:updated>
            <content:encoded><![CDATA[<p>For me, the term Search and Retrieval typically conjures images of golden retrievers prancing around in parks and while I can go on endlessly about my observations at a dog park, lets focus on the next best topic — The role of Retrieval-Augmented Generation (RAG) in LLMs</p><p>At a high level, I think of RAG as a necessary enhancement, i.e., RAG enhances a generative model with accurate, domain specific information from a knowledge base. Very literally, RAG does what its name suggests — <strong>Retrieves</strong> information in response to a query and <strong>Augments</strong> the response before passing it back to the LLM.</p><h4>RAG based LLM in action</h4><p>In this article, I’ll outline the steps to build a simple Finance Chatbot and the role of RAG</p><p><strong>Lets assume the User Query is “What is a bull and bear market”</strong></p><ol><li><strong>Input Query Processing</strong>: Firstly, the model has to understand the question. To do this, words are converted into embeddings (vectors/numericals). Embedding is a critical concept in Natural Language Processing (NLP) since words are represented as vectors in such a way that words with similar meanings are positioned closer and stored in a Vector Store (database). <em>*Why is this important?*: By translating text objects into vectors, embeddings enable machines to perform tasks like similarity search which is a key step for a RAG process.</em></li><li><strong>Retrieval: </strong>A Vector Store will store the input query embeddings and also store all source data embeddings (in this example finance documents, web pages etc are ingested into the vector store). Information that is most similar to the user query is retrieved from the Vector Store. *Tidbit* Different techniques like NN (Nearest Neighbor), ANN (Approx Nearest Neighbor) are used for similarity search</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*FMS6T2Hp-Gh_UkGSSP0ZCQ.png" /><figcaption>Vector Store stores both query and source data embeddings</figcaption></figure><p><strong>3. Augmenting the query</strong>: The retrieved information from data sources along with the query is now passed to the LLM (aka the query is “augmented” with the most similar piece of information from the data source)</p><p>4. <strong>Response Generation: </strong>The LLM is now able to generate a response using the most similar or specific pieces of retrieved information that is then passed on to the user.</p><p>In this example the response could look like this: <strong><em>Bull and bear markets</em></strong><em> are terms used to describe the general direction of a financial market or specific asset classes, typically in reference to stock markets, but also applied to commodities, bonds, and other financial instruments.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*-EBuAerIsjTb7RBYMsdvSQ.png" /><figcaption>High level system design of RAG based LLM</figcaption></figure><h4>Implementation</h4><p>Now let’s build that Finance Chatbot! At a high level the process includes:</p><ol><li>Installing relevant packages: <strong>langchain</strong> — chains together data sources, APIs, tools that are needed for an application. For example langchain can be used to interact with OpenAI’s API to perform chat based tasks; <strong>gradio</strong> for building a simple chatbot frontend etc</li><li>Importing components using langchain namely <strong>Textsplitter, </strong>splits large chunks of data into smaller pieces (tokenization or vectorization) without breaking semantic meanings; <strong>OpenAIEmbeddings </strong>- Generates embeddings using OpenAI models etc</li><li>Extracting financial data from different websites by scraping</li><li>Setting up <strong>Chroma vector database</strong> to insert vectorized data (query and source document data)</li><li>LLM prompting using <strong>ChatGPT 4.o-mini</strong>. This step also includes adding a contextualization step for the model to factor in chat history</li><li>Finally running <strong>gradio </strong>to setup a simple, clean UI interface!</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*uo-ELN7o7994XFO2QnmslA.gif" /><figcaption>Voila! This is the Finbot. The output will always be as good as the data sources, similarity search via RAG and LLM prompting instructions</figcaption></figure><p>That was a quick and dirty overview of my weekend project! Check out <a href="https://colab.research.google.com/drive/1qKCbOnLlR-YK1Vwm6oGH9D_6Nh5umAfJ">Google colab notebook</a> for the full code</p><p>And now I can go back to daydreaming about golden retrievers and dog parks :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e5f1b0185b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gen AI and Measurement]]></title>
            <link>https://medium.com/design-bootcamp/gen-ai-and-measurement-da8adea6ba34?source=rss-7059c96d365d------2</link>
            <guid isPermaLink="false">https://medium.com/p/da8adea6ba34</guid>
            <category><![CDATA[measurement]]></category>
            <category><![CDATA[product-manager]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Ipshita]]></dc:creator>
            <pubDate>Tue, 30 Apr 2024 00:58:40 GMT</pubDate>
            <atom:updated>2024-05-22T09:35:31.443Z</atom:updated>
            <content:encoded><![CDATA[<p>2024 is the year of Taylor Swift and Gen AI/ML — it’s mainstream, its popular and everyone is talking about it. I can’t claim to be a Swiftie* so I will stick to the latter topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*dIzwUoCXmkXEv44URflQGA.png" /></figure><p>Machine Learning models and principles are finding its way into various products starting from consumer focused conversational modules (example: AI based chat for customer service) and enterprise use-cases (data classification and search/retrieval). While I see numerous articles and papers covering the fundamentals of what Gen AI or LLM models can and cannot do; I have been digging into the next obvious topic: Measurement</p><h3>1. Why Measure?</h3><p>Investing in ML based product solutions is typically a high resource consuming approach — this is because investing in ML forward approaches are not business critical (yet) but is still considered a “good to have” in most cases. For example consider this use-case: Developers spend time troubleshooting bugs; they parse through help center articles or code libraries — an LLM based Gen AI module could generate relevant information in seconds saving developers time and can lead to faster diagnostics. Is this a more efficient/relevant way leading to faster diagnostics? Yes. But is it business critical? Probably not because there are alternative/manual ways of achieving the same outcome.</p><p>Which is why any AI based product approach needs a clear story to be able to justify the investment in product, engineering, computing resources:</p><ul><li>Why do we need an AI approach? Are there alternate ways to achieve the same outcome? Another way to think about this is — is there an actual use-case or benefit OR is this a vanity/resume building project?</li><li>What are the success metrics post implementation? Is it time saved? Is it directly related to business metrics example revenue generated or new user acquisition?</li><li>Is there a strategic goal or benefit to implementing an ML solution?</li></ul><h3>2. What to Measure</h3><p>Fundamentally, the quality of GenAI or LLM or ML technique implemented is directly tied to the end user experience. For example: A paralegal needs to consume hundreds of pages of text and manually file documents into themes (class action lawsuits, appeals etc). The use case for ML here is building a data classifier which would a. parse text from uploaded documents b. categorize and label/theme the documents without manual intervention. The end user experience depends on how accurately the model is able to categorize the documents into the correct categories. If the model isn’t able to categorize accurately — the paralegal would need to validate and re-label the documents leading a less than ideal user experience.</p><p>The quality of Gen AI applications can be evaluated broadly by using the following parameters:</p><p>a. Accuracy: Consider this input “Who are the US presidential candidates in 2024?” The quality of the output needs to be 100% factual which makes the response relevant and accurate (No, Kanye West is not a factual response to this query)</p><p>b. Anticipatory or Conversational: A good quality response generation will typically factor in the intent of the query and the conversation history. The response generated should be a “human-like” conversational dialog. A less than ideal response does not factor in context from past queries</p><p>c. Useful: Does the response provide any value to the user? For example, if a developer wants to quickly find the relevant source code for debugging, does the system accurately source and display the relevant code? Or does the developer have to parse through code libraries to find the information they are looking for?</p><p>e. Speed (Performance): I recently tested a crypto chatbot, while it was fun to read the crypto specific responses, it quickly got a little tiring because the response generation was taking &gt; 60 seconds for each query. Speed of response is critical for establishing a good user experience</p><p>f. Safe: Every model needs to operate within established guard-rails. If a consumer facing Gen AI product generates images based on text inputs, the images need to be not only brand safe for the business but also generate images which adhere to age/sensitive category guidelines. Another example is any information deemed confidential should be parsed out/out of bounds by models.</p><h3>3. How to Measure?</h3><p>Human evaluation is necessary to evaluate the quality of the query as well as the response generation. What you feed in as a query is tied to the response generated which is why it’s critical to evaluate the quality of the input or user query</p><ul><li>Is the user intent or input well defined or clear? (Example: How do I troubleshoot my device isn’t working with error message “400 input cable)</li><li>Is there refinement needed in the user input? (Example: My device isn’t working)</li></ul><p>Measuring quality of response generation can be done by</p><p>A. evaluating the responses based on</p><ul><li>Factuality (indicated by Yes/No) — based on where the response is supported by key facts/evidence</li><li>Relevant (indicated by Yes relevant/Partially relevant/Not relevant)</li><li>Useful or answers the question (indicated by Yes/Partial/No — missing critical information)</li></ul><p>B. Using custom metrics to score for example “Quality score = weighted scores based on factuality/relevancy/accuracy, speed of response.</p><p>The How to Measure is the area which IMO is the piece in flux and sans any industry standards or benchmarks. In my mind, there is a lot to be defined in this space and will come together fairly quickly just as quickly as Taylor Swift keeps releasing double albums.</p><p>*<em>Swiftie: loyal Taylor Swift fans who can make or break the internet</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da8adea6ba34" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/gen-ai-and-measurement-da8adea6ba34">Gen AI and Measurement</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons from a mid career transition]]></title>
            <link>https://medium.com/design-bootcamp/lessons-from-a-mid-career-transition-664fbffc704e?source=rss-7059c96d365d------2</link>
            <guid isPermaLink="false">https://medium.com/p/664fbffc704e</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[mid-career]]></category>
            <category><![CDATA[transitions]]></category>
            <category><![CDATA[career-transitions]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Ipshita]]></dc:creator>
            <pubDate>Mon, 05 Sep 2022 01:01:23 GMT</pubDate>
            <atom:updated>2024-06-03T21:21:07.657Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*an8iX0e-iHaoevjpBoCznw.png" /></figure><p>In late 2017, I realized that I was simply going through the motions and my work wasn’t as meaningful or fulfilling anymore. At this time, I was struggling to find the fuel to keep going through the rigor of a 9 to 5 (in my case 10 to 7 since I don’t care too much about starting the day early and also being on the east coast with a geo-located team works out logistically, anyway I digress)</p><p>The one quote which has stuck with me for many years which I found solace in at the time is that a career is lateral which is simply saying that a sideways growth also qualifies as a career achievement and worthy of a celebration at par with lateral growth like promotions. With that in mind, I decided to finally try and transition to the product management ladder. The process took over 10+ months and this is what I learnt:</p><p><strong>#1: Commitment is key: Takes time, effort and hard work</strong></p><p>Moving into a different role especially moving from one job function to another is daunting primarily because the barrier to entry makes it harder than it should be, perhaps for good measure. For example at one of the career talks I attended, an HR professional talked about her journey moving from an HR role into an engineering role. The process to move to a core technical role often involves working at the intended role to gain hands-on experience, only after which one is eligible to face multiple rounds of interviews. It takes concerted effort, burning of the proverbial late night oil and a dedicated almost maniacal preparation spanning months. For me, it took 6+ months to find a team which thought I was a good fit to work with them, another 6 months working with this team as an acting Product Manager and then another month going through a hiring committee to finally secure the official approval to move to the Product Management ladder and role. These 6+ months of prep were grueling, intense and something I was fully prepared to take head-on.</p><p><strong>#2: It is never a zero sum game: What’s the worst that can happen?</strong></p><p>Here comes the famed Plan B approach. Any career move comes with its set of risks and the prospect of the plan not working out. Yes, we all deserve that next promotion but sometimes it just doesnt work. It just means a) either spend another quarter or two to try for the next promotion b) switch roles if you no longer feel valued by the team indicated by the denial of promotion c) switch companies which automatically guarantees a higher pay/role in most cases. In my case, I had the option to go back to my former team in Partnerships or apply for open Product Manager in other companies. Yes, its probably not the most ideal scenario but there is always an option albeit not the one we plan or hope for.</p><p><strong>#3: Risk and Reward</strong></p><p>As with any investment of time, money or other resources, one must evaluate the risk to reward ratio. Yes, there is always a risk of any career decision not working out but there is always something to be gained which in a career transition move includes gaining some pre-transition hands-on experience which could help evaluate if the new role is really what is best for us or the ultimate achievement of making it to the end aka converting a role.</p><p><strong>#4: Taking matters in your own hands</strong></p><p>Building a career takes making judgement calls along the way. The way I saw it, the work I was doing as a Partnerships Manager wasn’t fulfilling after a point and having worked with Product Managers, I knew that was what I wanted to do long term. Working for a Tech company which offered a path to a Product Management role, the choice to at the least <em>try</em> to transition to a full time Product Management role seemed like an obvious choice albeit hard I had to leverage.</p><p>The one thing holds true is that each one of us goes through a slump in our career journey. What we do during these moments of slump whether it is taking a break, sticking it out or making a career move all counts as a step forward and never a step backwards.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=664fbffc704e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/lessons-from-a-mid-career-transition-664fbffc704e">Lessons from a mid career transition</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 ways day-dreaming changed my life]]></title>
            <link>https://medium.com/@ipshi/5-ways-day-dreaming-changed-my-life-e48d73c38439?source=rss-7059c96d365d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e48d73c38439</guid>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[personal-development]]></category>
            <dc:creator><![CDATA[Ipshita]]></dc:creator>
            <pubDate>Sun, 24 Jul 2022 02:12:50 GMT</pubDate>
            <atom:updated>2022-07-24T02:23:45.362Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rn1NL2NLLzWTuICqiD2A2g.png" /></figure><p>The power of practical day-dreaming and self affirmations</p><p>Daydreaming is often times associated with a Peter Pan-esque quality of being flippant about life and reality. A quick Google search of the term “day-dreaming” throws up results like “is day-dreaming harmful” and “is day-dreaming a mental illness”. My view of day-dreaming leans towards the positive spectrum and I label it as “practical day-dreaming” which perhaps lends it some well needed dignity. Here’s how its worked for me:</p><p>#1. Day-dreaming fuels ideas and possibilities</p><p>In 2019 I got hired at my job on a team which was called “Daydream” after the VR Headset and I remember thinking “Oh yay this is such a perfect fit”. IMO, the premise of a team or a product named Daydream reflects the endless possibilities of what a product can be; think future first design and functionality. A conscious practical day-dreaming exercise is all about thinking of possibilities which could supplement a primary idea. Practical day-dreaming happens best in the twilight of conscious and subconscious state of mind, think lounging on the couch on a weekend or sitting by a campsite in the evening.</p><p>#2. Day-dreaming and self-affirmations go hand in hand</p><p>Day-dreaming about switching up a situation is the first step towards the actualization of the situation or idea in question. For instance, I remember my fresh out of college sales job which was so mundane and grueling at the same time that it used to not just make me question my ability to crack other job interviews (which at the time I didn&#39;t seem to be too successful at) but also made me heavily day-dream about better days yet to come. Future me looking back at that phase, can see the past me not just day dreaming about how my circumstances could change but also leveraging self-affirmations in both an active and passive way. Day-dreaming coupled with self-affirmations is a handy self-preservation technique.</p><p>#3. Day-dreaming followed by a healthy dose of execution</p><p>Options and possibilities can never see the light of the day unless backed up by execution. A brilliant friend of mine would bring up a ton of ideas, some smart, some far-fetched but ultimately it was all talk and while the promise of those possibilities was alluring, each one would die a quick and relatively painless death once the discussion ran its course. In contrast, another close friend of mine came to me with her dream of building her own company to showcase the local handicrafts of her hometown and within months resigned from her corporate gig, setup a small business and under a year created a decent turnaround.</p><p>#4. Day-dreaming in moderation</p><p>While I advocate for practical day-dreaming, the keyword I focus on is the “practical” bit. Good things happen when it starts and also ends in moderation. Equate it to a warm-up before a 45 min strength training or a nice glass of bordeaux to relax during a night in. With so many hours in a day, moderation is essential and just plain practical.</p><p>#5. In essence, day-dreaming is ultimately a way to manifest goals</p><p>Building a narrative about what your life can be and deserves to be starts with a dream. Call it manifesting life goals or practicing self-affirmation, as humans we often dream about the possibilities of what could be. As a woman in my 30s with a stable career and life in New York; I am often reminded of a little girl growing up in a bustling city in India, day-dreaming of places and possibilities of a life which I have the good fortune of living now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e48d73c38439" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>