<?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[Feedback Intelligence - Medium]]></title>
        <description><![CDATA[Feedback Intelligence is a product analytics that lets you convert user interactions into “what users want to achieve”, configure metrics to measure success, debug bad responses, and get actionable recommendations on what to fix. - Medium]]></description>
        <link>https://medium.com/feedback-intelligence?source=rss----4960648ad4de---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Feedback Intelligence - Medium</title>
            <link>https://medium.com/feedback-intelligence?source=rss----4960648ad4de---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 31 May 2026 20:41:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/feedback-intelligence" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[End-to-End Debugging: Tracing Failures from the LLM Call to the User Experience]]></title>
            <link>https://medium.com/feedback-intelligence/end-to-end-debugging-tracing-failures-from-the-llm-call-to-the-user-experience-583f2bc07766?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/583f2bc07766</guid>
            <category><![CDATA[evaluation]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[conversational-ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Mariam]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 19:00:18 GMT</pubDate>
            <atom:updated>2025-09-22T19:21:23.995Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why End-to-End Debugging Matters</h3><p>Building with LLMs has now reached a stage where it is about delivering outcomes rather than just text, that are fast, accurate, and genuinely useful to users. But as teams move from prototypes to production systems, they discover that failures can occur at multiple layers of the stack, often without clear visibility into <strong>where</strong> things are breaking down.</p><ul><li><strong>Infrastructure issues</strong> like timeouts, routing errors, or sudden cost spikes can derail performance.</li><li><strong>Prompt and model issues</strong> lead to hallucinations, irrelevant answers, or repetitive responses.</li><li><strong>User experience issues</strong> show up when users feel confused, rephrase their requests, or abandon the interaction altogether.</li></ul><p>Each of these problems looks similar on the surface — “the AI failed” — but the root causes live in very different places. Without connecting signals across infra, model, and user experience, teams end up spending hours chasing dead ends. Debugging becomes guesswork instead of a systematic process.<br>That’s where end-to-end debugging comes in: tying together what happened at the request level with how the user experienced it. Done right, it shortens the feedback loop from failure to fix, and helps teams build AI systems that are not just functional, but dependable at scale.</p><h3>Portkey: Full Trace of Requests Across Models and Tools</h3><p>When debugging AI systems, the first step is to understand what happened at the infrastructure layer. Was the request slow, expensive, or dropped altogether? Did the gateway route it correctly, or did it fail at the provider side?<br>Portkey gives teams this visibility with end-to-end request traces across 250+ models and providers. Every request flowing through the gateway is automatically instrumented, so developers don’t have to stitch together logs from different SDKs or cloud services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W7Dn7H2bSCUJf1cym_rQyQ.png" /></figure><p>With Portkey, each trace captures key details:</p><ul><li><strong>Latency and throughput</strong> — how long each request took, and where time was spent.</li><li><strong>Token usage and cost</strong> — full visibility into consumption and spend.</li><li><strong>Routing and caching behavior</strong> — which provider handled the call, whether it was served from cache, and what fallbacks were triggered.</li><li><strong>Errors and timeouts</strong> — broken down by provider, so teams can isolate external issues quickly.</li></ul><p>For example, a developer investigating a latency spike can open the Portkey dashboard and immediately see that responses from a specific provider slowed down after a certain time. Instead of guessing, they now know it’s a provider-side issue, not their code or prompt.<br>This goes beyond single LLM calls. Portkey can also trace entire agent runs where an LLM is orchestrating multiple steps across APIs, tools, and other models. Instead of seeing just the final output, teams can follow the full chain of reasoning and execution: which tool was invoked, how long it took, whether retries happened, and where bottlenecks emerged.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u7PqDCXKPkB7OAXGMecIZg.png" /></figure><h3>Feedback Intelligence: Full Trace of User Experience and Interaction Quality</h3><h4><strong>Observability focused on user-facing outcomes</strong></h4><p>Even when system metrics report all green, the user experience can still fail. The pipeline may execute flawlessly, yet the interaction breaks down. This is where the focus shifts from infrastructure observability to user-facing outcomes, capturing intent alignment, response quality, and satisfaction signals directly from interactions to understand why users leave confused or dissatisfied. That way, you’re not waiting for a thumbs-up/down, you’re getting rich insights into what’s really happening and can act on it instantly.</p><h4><strong>Proprietary lightweight LLMs orchestrated to evaluate conversations across specific dimensions:</strong></h4><p>Each interaction is evaluated by Feedback Intelligence’s orchestration layer, which combines specialized small LLMs, ML/NLP techniques, and domain-specific logic for real-time conversational diagnostics. This multi-component approach not only ensures evaluations are context-aware and highly adaptable to different use cases but also generates use-case-specific reports so teams can track the metrics that matter most:</p><ul><li><strong>E-commerce </strong>→ resolution rate and task completion are critical.</li><li><strong>Fintech</strong> → correctness, compliance, and factual precision dominate.</li><li><strong>Mental health</strong> → empathy, tone, and user sentiment take priority.</li></ul><p>All evaluators and reports are highly customizable, allowing teams to define the exact outcomes they care about, from business KPIs to conversational quality metrics, and measure them systematically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MnZmfy80yNfFccMzO_4oCA.png" /></figure><p>Some of the evaluation dimensions are below:</p><ul><li><strong>User confusion or retries flagged - </strong>Detects when users rephrase, repeat, or escalate requests, using turn-level patterns and interaction loops to flag friction points or unclear responses</li><li><strong>Misalignment (hallucinations, unhelpful responses) detected</strong> -identifies when the model output is off-topic, factually incorrect, or unhelpful, leveraging FI’s evaluators for hallucination risk, coherence, and task relevance.</li><li><strong>Intent vs. response match, satisfaction signals, sentiment - </strong>Scores how well the response aligns with the original user intent and infers satisfaction or frustration from sentiment, dwell time, re-engagement, and drop-off patterns.</li></ul><p>Together, these signals build a structured view of the interaction and reveal problems that remain invisible in system logs.</p><p>For example, a product manager reviewing this dashboard can immediately see that most chats are rated “Very Satisfied,” but over 130 are marked “Very Unsatisfied.” Instead of guessing why users left frustrated, they now know which conversations to investigate and can act on concrete interaction-level insights, not just system metrics</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*keZYpml7ga3CTiiaZnQLSw.png" /></figure><h3>Better together</h3><p>On their own, infrastructure traces or user feedback only tell part of the story. Portkey shows whether the system performed as expected at the request or agent level. Feedback Intelligence shows whether the user actually got what they needed. When you connect the two, you can debug problems with far more precision.</p><p>Here’s how the combined view plays out:</p><ul><li><strong>Infra view (Portkey):</strong> Was the request slow, routed incorrectly, or did the provider fail?</li><li><strong>Experience view (Feedback Intelligence):</strong> Did the user express confusion, repeat their request, or show signs of dissatisfaction?</li></ul><p>By overlaying these perspectives, teams can isolate issues quickly:</p><ul><li>If infra is clean but users are retrying → the problem is with <strong>prompting or model quality</strong>.</li><li>If infra latency spikes and users churn → it’s an <strong>infrastructure bottleneck.</strong></li><li>If both infra and routing are fine, but users still fail → it’s likely an <strong>alignment or training gap</strong>.</li></ul><p>Instead of guessing where failures originate, teams can move straight to fixing them, whether that means switching providers, tuning prompts, or refining the model itself.<br>The result is a much faster path from failure → diagnosis → resolution, and more reliable AI agents in production.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3XT710mO0N5a5OPt-VwVpQ.jpeg" /></figure><h3>Towards reliable AI at scale</h3><p>Reliability in AI is all about whether the system runs well and delivers meaningful outcomes to users.</p><ul><li><strong>Portkey </strong>ensures performance reliability. It provides the infrastructure visibility: latency, costs, routing, and full traces of requests and agent runs.</li><li><strong>Feedback Intelligence </strong>ensures experience reliability. It interprets what the logs can’t: whether users felt satisfied, confused, or compelled to retry.</li></ul><p>By combining these two layers, teams get a complete debugging loop. Infrastructure health and user alignment are no longer separate silos, but part of the same feedback system. The result is faster iteration, fewer wasted cycles, lower costs, and AI experiences that end users can trust.<br>As AI becomes central to workflows, this kind of end-to-end debugging isn’t optional — it’s the foundation for building production systems at scale.</p><p><strong>👉 Ready to see this in action?</strong></p><ul><li>Explore <a href="https://portkey.ai/"><strong>Portkey</strong></a> to unify your LLM infrastructure, tracing, and governance.</li><li>Try <a href="https://www.feedbackintelligence.ai/"><strong>Feedback Intelligence</strong></a> to turn user interactions into actionable insights for your AI.</li></ul><p>Here’s a quick reference for diagnosing AI agent failures, mapping infra metrics and user experience observability to Portkey or Feedback Intelligence</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DfhQLqOSpXiu-vnISbRqfw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=583f2bc07766" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/end-to-end-debugging-tracing-failures-from-the-llm-call-to-the-user-experience-583f2bc07766">End-to-End Debugging: Tracing Failures from the LLM Call to the User Experience</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why traditional product analytics are simply not working for LLM applications]]></title>
            <link>https://medium.com/feedback-intelligence/why-traditional-product-analytics-are-simply-not-working-for-llm-applications-247ae0f907d8?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/247ae0f907d8</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[optimization]]></category>
            <dc:creator><![CDATA[movchinar]]></dc:creator>
            <pubDate>Thu, 30 Jan 2025 01:55:42 GMT</pubDate>
            <atom:updated>2025-01-30T01:55:42.456Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Zq8LvvHLnNrkgG14XVzsA.png" /></figure><p><em>When we developed the LLM-powered AI assistant part of our product offering we implemented a direct feedback mechanism with thumbs up/down and an input field. We thought that channel was enough to know when things go wrong and then improve the assistant using that feedback.</em></p><p><em>But the reality was different — it was 100 times harder to incorporate the collected feedback from the AI assistant into the improvement pipeline. Also, our users do not like to give us feedback — less than 10% of users are giving feedback so it’s biased.</em></p><p><em>Director of PM at a Fortune500 company</em></p><p>This is a typical complaint that I’m getting from AI teams daily …</p><p>I spend a lot of time speaking to different stakeholders within mid-market to large enterprises to understand how they improve their LLM applications aka what feedback mechanism they have, whether it is scalable or not, how they use that data, how big their usage is, etc.</p><p>Before talking about the challenges of using traditional product analytics for LLM applications, let’s break down what problems product analytics tools solve, eg, Amplitude, Mixpanel, etc.</p><p>Prior to tools like Amplitude existing, people who built apps, websites, or digital products had a tough time figuring out what users liked and how they behaved. Imagine trying to guess why someone stopped playing with a toy without seeing them play — that’s the kind of problem they faced!</p><p>In short, digital analytics tools made life easier for people building apps and websites by helping them <strong>see and fix problems faster</strong>. Better user metadata and behavior tracking, followed by an insight distillation pipeline is a much better way of gathering feedback without asking for explicit user input — which could create user friction and hence be biased.</p><p>Now can we use the same tools to gather feedback for LLM applications? But it’s not that simple…</p><p>Before explaining why, let’s see what data product analytics tools usually gather:</p><p><strong>#1 Specific actions users within the product</strong></p><p>Clicking a button, viewing a page or a screen, completing a certain journey, logging …</p><p><strong>#2 Attributes that describe individual users</strong></p><p>Demographics, account information, behavior traits (First visit date, last seen date, etc) …</p><p><strong>#3 User sessions</strong></p><p>Session start and end, duration, how many actions within each session …</p><p>And more …</p><p>Do you see the pattern? This <strong>feedback collection mechanism is deterministic</strong> aka everything is defined and specified in advance.</p><p>Now here’s the kicker — companies often try to apply <strong>the same deterministic approach</strong> they’ve used for web and mobile to their LLM applications. They set up feedback mechanisms like ratings, thumbs up/down, or in-app text messages, and even Zendesk tickets. But here’s the problem: <strong>it’s just not working</strong>.</p><p>Why?</p><p>LLM interactions are fundamentally different. They revolve around <strong>free-form text inputs and outputs</strong>, which makes it tricky to define success or collect meaningful feedback (we remember that less than 10% of users give feedback). Think about it: <strong>what exactly counts as “success”?</strong> Is it when the user gets the right answer, or when they give a positive rating? And what about feedback — does it come from the user’s input, their tone, or what they do next? It’s not as simple as tracking clicks or page views, but in many ways richer as the user intent can be more clearly understood from language (eg button click vs “I want to know how to do a transfer?”)</p><p>And there’s another layer — with <strong>reasoning LLMs</strong>, like O1/3, R1 (Deepseek) etc, the problem gets even worse. It’s no longer input -&gt; output, it’s actually input -&gt; thinking (chain-of-thought) -&gt; output. It gets incredibly hard to predict the output. You need a fundamentally different way of judging.</p><p><strong>LLM interactions, on the other hand, rely heavily on context</strong>. For instance, imagine a user asking, “What’s the best pizza recipe?” The LLM gives a recipe, but the user responds, “This doesn’t help; I wanted low-calorie options.” Traditional tools might record the initial question and the follow-up, but they miss the bigger picture — like the gap between the user’s intent and the response or the subtle frustration behind the comment.</p><p>The table below compares challenges in LLM applications, how traditional analytics tools (e.g., Mixpanel, Amplitude) address them, why they fall short, and how Feedback Intelligence solves them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iKOl4ONA_FqiQTw_7itpbw.jpeg" /></figure><p>At Feedback Intelligence, we <strong>tell you what to fix/build/improve so you can focus on building</strong>. We have built the most robust analytics tool specifically for LLM applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*IaGzsvNTwdzTgC9UO5_sng.jpeg" /></figure><p>The <strong>results are actionable across teams:</strong></p><ul><li>It allows customer-facing stakeholders (sales/BD/marketing/product ) to measure the success that matters to their business needs,</li><li>It enables data scientists and AI engineers to have a clear picture of how to fix things (change the prompt according to recommendations, generate a specific type of data to enhance the fine-tuning or evaluation).</li></ul><p>In the upcoming article, I’ll walk you through each feature, how it works, and why it’s actually useful — with real examples.</p><p><strong>Spoiler alert</strong>: We’ll be diving into ChatGPT conversations 🤖.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=247ae0f907d8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/why-traditional-product-analytics-are-simply-not-working-for-llm-applications-247ae0f907d8">Why traditional product analytics are simply not working for LLM applications</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You Deployed an LLM Agent — Now What?]]></title>
            <link>https://medium.com/feedback-intelligence/you-deployed-an-llm-agent-now-what-2ab4850f541a?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/2ab4850f541a</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[evaluation]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[movchinar]]></dc:creator>
            <pubDate>Thu, 09 Jan 2025 14:05:40 GMT</pubDate>
            <atom:updated>2025-01-09T14:05:40.453Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>You Deployed an LLM Agent — Now What? Understanding the Landscape of Testing, Observability, and Analytics</strong></p><p>Imagine you have a robot helper that talks to people and answers their questions. To make sure your robot works well, you need three types of tools — one to check it before it starts talking, one to make sure it doesn’t break, and one to help it learn and get smarter after it starts working. Let’s break it down!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*mgdoAvCejmb3-H9urkvJZw.png" /></figure><p><strong>1. Testing Tools (Evaluation Tools)</strong></p><p>Evaluation tools are like quiz teachers that test your robot before it starts talking to people. These tools check if the robot is safe, fair, and ready to go so it doesn’t make big mistakes.</p><p><strong>What They Do:</strong></p><ul><li>Make sure the robot follows rules and doesn’t say anything wrong.</li><li>Check if the robot is smart enough to answer tricky questions.</li><li>Test if the robot can handle tough situations without breaking.</li></ul><p><strong>Example:</strong> Imagine giving the robot a practice test to make sure it knows how to answer questions politely before it talks to real people.</p><p><strong>Analogy:</strong> Evaluation tools are like school tests — they make sure the robot is ready to graduate before going into the real world.</p><p><strong>2. Health Check Tools (Observability Tools)</strong></p><p>Observability tools are like doctors who check your robot while it’s working. These tools don’t care about what the robot says — they just make sure it’s running smoothly and doesn’t break.</p><p><strong>What They Do:</strong></p><ul><li>Watch if the robot’s battery (speed) is running low.</li><li>Make sure the robot doesn’t freeze or crash.</li><li>Send alerts if something is wrong so it can be fixed quickly.</li></ul><p><strong>Example:</strong> If the robot starts talking too slowly, observability tools will notice and tell someone to fix it right away.</p><p><strong>Analogy:</strong> Observability tools are like mechanics for a car — they make sure the engine works but don’t teach the driver how to drive better.</p><p><strong>3. Listening and Learning Tools (Analytics Tools)</strong></p><p>Analytics tools are like coaches that help the robot learn and improve after it starts working. These tools watch how people talk to the robot and help it fix mistakes and get smarter over time.</p><p><strong>What They Do:</strong></p><ul><li>Listen to what people say and how they react to the robot’s answers and vice versa.</li><li>Spot problems — like when people keep asking the same question or leave without finishing.</li><li>Teach the robot how to answer better so users don’t get confused or frustrated.</li></ul><p><strong>Example:</strong> If users keep asking, “How do I return my order?” and the robot gives unclear answers, Feedback Intelligence notices this and helps the robot explain it better next time.</p><p><strong>Analogy:</strong> Analytics tools are like sports coaches — they watch how the robot performs, give tips to improve, and make it stronger for the next game.</p><p><strong>Where Feedback Intelligence Fits In</strong></p><p>Feedback Intelligence (FI) is one of the listening and learning tools. It doesn’t just check if the robot is working — it teaches the robot how to get better by learning from real conversations. FI is great for:</p><ul><li>Making robots learn from users’ questions without waiting for big updates.</li><li>Helping businesses keep their robots relevant and helpful as users’ needs and intentions change.</li><li>Saving time and money by fixing small problems quickly instead of retraining the whole robot.</li></ul><p>Stay tuned for upcoming articles where I’ll dive deeper into technical examples of some tools from testing/evals to observability to analytics tools.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ab4850f541a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/you-deployed-an-llm-agent-now-what-2ab4850f541a">You Deployed an LLM Agent — Now What?</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Get Implicit Feedback, Explicitly]]></title>
            <link>https://medium.com/feedback-intelligence/get-implicit-feedback-explicitly-768e35f6a135?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/768e35f6a135</guid>
            <category><![CDATA[voice-assistant]]></category>
            <category><![CDATA[conversational-ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[movchinar]]></dc:creator>
            <pubDate>Tue, 05 Nov 2024 02:05:11 GMT</pubDate>
            <atom:updated>2024-11-05T02:05:11.461Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kf6BDH_OU3C7UbRe80LlpA.png" /></figure><p>In the world of LLM apps like conversational AI, chatbots, and voice agents, user interactions are filled with valuable insights, often overlooked. <strong>Implicit feedback </strong>— such as rephrasing questions, hesitations, or abandoning conversations — provides crucial clues about where an app might be falling short. Unlike traditional methods that rely on <strong>explicit feedback</strong>, such as surveys or ratings, implicit feedback is continuously generated as users interact with the app. Leveraging this data allows for fine-tuning the models, making the app more intuitive and satisfying.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dfbg9cZvOv_jFTehxLrc5A.png" /></figure><p>Many LLM apps currently depend on explicit feedback to gauge user satisfaction, similar to traditional product analytics that tracks clicks or session durations (<em>Amplitude or Mixpanel</em>). However, explicit feedback only captures a small part of the user experience. Implicit feedback offers a deeper, real-time understanding of user behavior, enabling rapid iteration and improvement based on what users do, not just what they say.</p><p>This is where <strong>Feedback Intelligence (FI)</strong> comes in. FI helps developers, data scientists, and product managers harness implicit feedback to enhance user satisfaction. By analyzing user interactions and behavior directly within the app, FI identifies user intent and satisfaction levels, prioritizing issues and optimizing the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CG9yB5D1Rk64SoO0jlci2g.png" /></figure><p>Unlike periodic surveys, FI creates a continuous feedback loop, allowing apps to adapt and improve as user needs evolve. This proactive approach keeps LLM apps responsive and relevant, ensuring a refined and dynamic user experience.</p><p>By integrating implicit feedback into the lifecycle of LLM apps, organizations can identify and address friction points early, making their apps more aligned with real-world user expectations. Tools like Feedback Intelligence transform the user experience from static to dynamic, keeping LLMs adaptive and user-centric.</p><p>If you want to learn more about <a href="https://app.feedbackintelligence.ai/signin">the Feedback Intelligence platform</a>, check out the docs <a href="https://docs.feedbackintelligence.ai/">here</a> or feel free to reach out at join@feedbackintelligence.ai for more details.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=768e35f6a135" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/get-implicit-feedback-explicitly-768e35f6a135">Get Implicit Feedback, Explicitly</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a RAG chatbot and optimize the performance through usage]]></title>
            <link>https://medium.com/feedback-intelligence/build-a-rag-chatbot-and-optimize-the-performance-through-usage-15684a37b2da?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/15684a37b2da</guid>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[rags]]></category>
            <dc:creator><![CDATA[movchinar]]></dc:creator>
            <pubDate>Fri, 13 Sep 2024 14:42:31 GMT</pubDate>
            <atom:updated>2024-09-13T14:42:31.509Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RAci_EA-brLG3YHPytTKdw.jpeg" /></figure><p><strong>Build a RAG chatbot and optimize the performance through usage</strong></p><p>RAG is widely used to leverage LLMs in practical applications like chatbots. In this project, a RAG system was implemented using publicly available datasets (GDPR dataset), with real-time monitoring to track usage and continuously improve its performance based on human feedback (explicit and implicit). OpenAI serves as the underlying LLM for the system.</p><p>The <em>GitHub repository</em> for the code can be found <a href="https://github.com/MelsHakobyan96/gdprqa.git">here</a>. The real-time monitoring and optimization implementation is available <a href="https://colab.research.google.com/drive/1xbctLG2NabeYDetYfZJkpqjLhb1HvoKi?usp=sharing#scrollTo=t0FdbtPlB9CC">here</a>.</p><p>The process began by splitting the original PDF into 21 separate articles. Each article was then converted from PDF format into text files using a custom script (available in <em>gdprqa/gdprqa/pdf_parsing/utils.py</em>).</p><p>Once converted, semantic chunking was applied to break the content into meaningful sections. These chunks were vectorized and stored in <em>ChromaDB</em>, with each article assigned to its own collection for easier retrieval. Additionally, all chunks were combined into a single collection to facilitate cross-article searches when necessary.</p><p>Two helper models support the system: one identifies the most relevant article for answering a query, defaulting to a full-document search if no suitable article is found. The other model reformulates the query to enhance the effectiveness of semantic searches within the vector database.</p><p>You can ask questions about GDPR in the query section such as ‘<em>How much does it cost to become GDPR compliant’</em>, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*asTHJQymQ355qhB6" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jmVblS5kna93wJ5n" /></figure><p>When you finish using the chatbot you want <a href="https://docs.feedbackintelligence.ai/">Feedback Intelligence</a> (FI) to analyse the usage. Write <em>exit</em> to send the usage to FI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Oa7WNEkqng5I4Yrb" /></figure><p>To analyze this chatbot usage and optimize it, we use FI. For that, we created the GDPR chatbot project in the <a href="https://app.feedbackintelligence.ai/signin">platform</a>. Then through settings, generate the API key to connect the chatbot to the platform. As we can see the added and processed data is 0.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q67XmoDfGWjZMxti" /></figure><p>After exiting the chatbot the data has been sent to FI successfully and the data is 3 already (we did 3 queries). Insights Engine diagnoses the usage and provides insights on issues, topics, user satisfaction score, and more. The results are used to optimize the chatbot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UqxbKOGm4RTZCtLy" /></figure><p>Drop us a line if you are building any RAG application.</p><p>co-authors <a href="https://medium.com/u/a6421f1fc723">Mels Hakobyan</a> &amp; <a href="https://medium.com/u/1dece5cb353e">Erik Harutyunyan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15684a37b2da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/build-a-rag-chatbot-and-optimize-the-performance-through-usage-15684a37b2da">Build a RAG chatbot and optimize the performance through usage</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Feedback Collection Mechanisms for RAG and Prompt-Engineered Systems in Production]]></title>
            <link>https://medium.com/feedback-intelligence/feedback-collection-mechanisms-for-rag-and-prompt-engineered-systems-in-production-e88316b1fa9b?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/e88316b1fa9b</guid>
            <category><![CDATA[improvement]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[feedback]]></category>
            <category><![CDATA[rags]]></category>
            <dc:creator><![CDATA[movchinar]]></dc:creator>
            <pubDate>Thu, 29 Aug 2024 12:38:57 GMT</pubDate>
            <atom:updated>2024-08-29T12:38:57.012Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E0cT8i3HJQr2WYxwXSqJuQ.png" /></figure><p>When running RAG and prompt-engineered (PE) systems in production, gathering feedback is key to keeping these solutions accurate and relevant. Feedback generally falls into two categories: explicit and implicit, both crucial for optimizing the system’s performance.</p><p><strong>Explicit Feedback </strong>is straightforward — users directly tell you what they think. This can be through ratings, comments, or suggestions about the system’s outputs. Users might provide this feedback through in-app prompts like thumbs-up/down buttons or post-interaction surveys. But it doesn’t stop there. Explicit feedback can also come through other channels like email, Slack, Zendesk, or even phone calls to product owners. If users aren’t happy with a response, they’ll find a way to let you know or they will churn.</p><p><strong>Implicit Feedback </strong>is more subtle, focusing on user behavior. This includes how long someone spends on a response, whether they scroll past it quickly, or how often they rephrase their query. While harder to interpret, implicit feedback can provide deep insights into the system’s effectiveness and how well it meets user needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TjOBSa3TB48cYRcB4EQ6ng.png" /></figure><h4>Why Feedback Matters</h4><p>Collecting feedback is crucial for several reasons:</p><ol><li><strong>Optimizing Accuracy:</strong> User feedback helps fine-tune prompts and retrieval methods as they have the most context on the task, ensuring the system continues to deliver relevant results.</li><li><strong>Enhancing User Experience:</strong> Understanding user interactions allows for adjustments that make the tool more intuitive and effective.</li><li><strong>Managing Risks:</strong> Feedback helps catch issues early, like when the system generates irrelevant or biased content.</li></ol><h4>How to Collect Feedback</h4><p>Here are some effective ways to gather <em>explicit feedback</em>:</p><ol><li><strong>In-App Prompts:</strong> Simple thumbs-up/thumbs-down buttons or quick surveys embedded in the app make it easy for users to give feedback on the spot.</li><li><strong>UI Widgets: </strong>Built-in widgets like star ratings or comment boxes enable detailed feedback when needed.</li><li><strong>Email, Slack, Zendesk, and More:</strong> Users can share feedback through a variety of channels, from emailing support teams to messaging on Slack or filing a ticket in Zendesk. Even a direct call to the product owner can be a valuable source of explicit feedback. Of course, the latter is not the ideal …</li></ol><p><em>Implicit feedback</em>, though less direct, is equally important and can be the hardest but most rewarding to gather. Tracking user behaviors — like how they navigate the app or which responses they spend the most time on — can reveal what’s working well and what needs improvement, even without explicit complaints. There are some techniques that engineers can implement to gather implicit feedback:</p><ol><li><strong>Preprocess Chat History</strong>: Start by preprocessing your users’ chat history into an easy-to-work-with format, such as a CSV file or, for more professional and automated analysis, a database. Then, for each user request, select the next five consecutive requests, skip the following five, and repeat this pattern.</li><li><strong>Determine a Similarity Threshold</strong>: Establish a threshold for similar requests. You can do this by manually finding examples where users ask the same question but phrase it differently or using GPT to generate such variations. Calculate a similarity score for each example and use these scores to determine an average threshold.</li><li><strong>Analyze for Implicit Feedback</strong>: Apply the threshold to the selected requests from step one. Filter out similar requests, and if you find at least two to three similar requests, it likely indicates that the user was not satisfied with the initial response and is rephrasing their question to get a better answer.</li></ol><h4>Feedback Intelligence: A Holistic Approach</h4><p>Feedback Intelligence brings everything together in one place. It doesn’t matter if the feedback comes from an in-app, an email, or even a phone call — it consolidates and organizes all explicit feedback so you can easily see what’s working, what’s not, and why the users are not happy. This is particularly useful in applications like conversational AI, chatbots, and agents where quick and clear feedback is essential for making improvements.</p><p>But here’s the thing: Most users — around 90% — won’t give you direct feedback. That’s where Feedback Intelligence really shines. It automatically tracks how users interact with your system, picking up on subtle behaviors like navigating, rephrasing queries, or responding to outputs. This implicit feedback is crucial because it gives you insights you might miss if you only rely on what users explicitly say. By combining both types of feedback, Feedback Intelligence enables Ai teams to continuously optimize the RAG and PE systems to align the output with users’ needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tufhNeYCtPjblHOE7RsLGQ.png" /></figure><p>For more technical information, check out <a href="https://docs.feedbackintelligence.ai/"><em>our product documentation</em></a>.</p><p>co-authors: <a href="https://medium.com/u/1dece5cb353e">Erik Harutyunyan</a> &amp; <a href="https://medium.com/u/a6421f1fc723">Mels Hakobyan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e88316b1fa9b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/feedback-collection-mechanisms-for-rag-and-prompt-engineered-systems-in-production-e88316b1fa9b">Feedback Collection Mechanisms for RAG and Prompt-Engineered Systems in Production</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to define metrics that matter to your use-case-specific RAG]]></title>
            <link>https://medium.com/feedback-intelligence/how-to-define-metrics-that-matter-to-your-use-case-specific-rag-90356886d6a0?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/90356886d6a0</guid>
            <category><![CDATA[evaluation]]></category>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[feedback]]></category>
            <dc:creator><![CDATA[movchinar]]></dc:creator>
            <pubDate>Thu, 22 Aug 2024 12:13:03 GMT</pubDate>
            <atom:updated>2024-08-22T12:13:03.340Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o9ZMkdzXeaSMLWeFJxoofQ.png" /></figure><p><strong>How to define metrics that matter to your use-case-specific RAG</strong></p><p>When building a domain-specific chatbot or conversational AI, one of the main goals is to optimize the product to meet users’ needs — what we often call ‘personalization.’ Traditionally, metrics like accuracy, F1 score, and precision have been used to evaluate ML models. However, as LLMs evolve, newer metrics, such as faithfulness, relevance, and retrieval accuracy (and more), have become just as important. Engineers are even defining their own custom test cases, which reflect the specific goals of the application.</p><p>But the real question is: Which metrics actually matter for the specific task at hand? More importantly, how can we measure whether the output is what users really expect?</p><p><strong>Beyond Fundamental Metrics: Focusing on User Experience and Intention</strong></p><p>Building the initial version of an LLM application might be simple enough, but maintaining and continuously improving it is where things get tricky. It’s not just about whether the model works — it’s about ensuring that its outputs consistently meet user expectations. While traditional evaluation metrics are important, they only tell part of the story. Personalization and optimization of the LLM responses based on different usage scenarios are crucial for ensuring a positive user experience.</p><p><strong>Introducing the Satisfaction Score Metric</strong></p><p>One way to tackle this challenge is by introducing a new metric — Satisfaction Score. This metric is designed to measure whether a user’s intent has been met, factoring in things like how the query was processed, user feedback (both explicit and implicit), and a deeper analysis of why certain outcomes occurred. The idea is to focus less on rigid performance metrics and more on whether users are walking away satisfied with the results. As it turns out, satisfaction levels can vary greatly depending on what users are looking for — whether it’s detailed information, creative responses, or help with a specific task.</p><p>To calculate the satisfaction score for each chat entry — (query, response, context) triplets, our engine considers various characteristics of it. The most important ones of those are: the user feedback (explicit and implicit), the sentiments of query and response, the faithfulness of the response as well as the textual data itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vnt2Z7JcNimAOBKlAGewUQ.png" /></figure><p>co-author <a href="https://medium.com/u/1dece5cb353e">Erik Harutyunyan</a></p><p>Resources:</p><p><a href="https://arxiv.org/abs/2212.09746"><em>https://arxiv.org/abs/2212.09746</em></a></p><ul><li><a href="https://cobusgreyling.medium.com/understanding-llm-user-experience-expectation-398a2b85b7c2">Understanding LLM User Experience &amp; Expectation</a></li><li><a href="https://docs.ragas.io/en/stable/#">Introduction | Ragas</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90356886d6a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/how-to-define-metrics-that-matter-to-your-use-case-specific-rag-90356886d6a0">How to define metrics that matter to your use-case-specific RAG</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhancing LLMs with User-Driven Synthetic Data]]></title>
            <link>https://medium.com/feedback-intelligence/enhancing-llms-with-user-driven-synthetic-data-2d55e96e4a24?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/2d55e96e4a24</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[user-signals]]></category>
            <category><![CDATA[synthetic-data]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[optimization]]></category>
            <dc:creator><![CDATA[movchinar]]></dc:creator>
            <pubDate>Thu, 15 Aug 2024 12:46:41 GMT</pubDate>
            <atom:updated>2024-08-15T12:46:40.947Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EcTb5FtjyoK4hTzsM8fArw.png" /></figure><p>Garbage in, garbage out.</p><p>The quality of your data makes or breaks your model, impacting the model’s accuracy and performance in the real world. High-quality, diverse, and domain-specific data are key to building reliable models. But let’s be real — <a href="https://research.ibm.com/blog/what-is-synthetic-data">real-world data is rarely perfect</a>. That’s where synthetic data comes in!</p><p>Synthetic data can fill the gaps when data is scarce, enhance privacy, and help reduce bias in Ai. It’s a cost-effective way to generate data and create a more accurate testing environment. Plus, it can boost your real datasets, making your models even more robust and reliable.</p><p>As we’ve seen, traditional ML methods and synthetic data creation techniques don’t work well for LLMs. Creating synthetic data for LLMs is tough — it’s hard to maintain realism, capture context, balance bias, scale data, ensure consistency, and validate quality. Plus, there are legal, ethical, and domain-specific challenges to consider.</p><p>Some companies, like <a href="https://docs.ragas.io/en/latest/concepts/testset_generation.html">RAGAS</a> and <a href="https://www.patronus.ai/product/features">Patronus AI</a>, offer tools to help, but many enterprises still create hundreds of Question-Context-Answer pairs manually.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1U5IwNkxNNmQuoOUHMVTSg.png" /></figure><p>The practice shows that the available solutions are time-consuming and introduce bias. Evaluators simply do not have enough context and typically lack domain knowledge.</p><p>Fi places the end-user at the center of the development process as both judge and evaluator. With Fi’s dataset module, users can quickly create datasets for testing or fine-tuning LLMs. They can select individual chats, or make bulk selections based on shared insights or topics. Once selected, Fi’s engine then generates ground truth responses with the goal of aligning responses closer to the user’s original intent. This generation consists of user signals and intent based on implicit and explicit feedback. The algorithm treats users as the main evaluators and judges as they typically have domain expertise and appropriate context for domain-specific products.</p><p>This approach is crucial for enterprises evaluating RAG, fine-tuned, or prompt-engineered performance after deployment. Manually created evaluation sets can become outdated and unrepresentative of user intentions. Fi ensures that evaluation data stays relevant and up-to-date by continuously incorporating user feedback.</p><p>We performed a benchmark experiment on a synthetic dataset our team created. The idea was to perform ground truth generation and observe the quality of the suggested response instead of the original one. Here’s an example of a good ground truth generation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/0*SBIlyovPD222xZqE" /></figure><p>Out of the 36 evaluated samples, 33 ground truth responses were of high quality as the one displayed above. We observed problems in 3 samples where our engine failed to generate a good ground truth response to the posed user query. By investigating the details of those samples we found out that the reason behind this was the existence of knowledge holes in the provided contexts. It is very natural as no LLM can fully answer a user query if the required information is missing in the context partially or fully. To combat this we apply our knowledge hole detection mechanism to filter out and warn users that those samples cannot be added to the dataset until the knowledge hole problem is resolved and generate high-quality ground truth responses for the rest.</p><p>If you’re looking to improve your LLM’s performance (RAG, fine-tuned, or prompt engineered) and ensure your evaluation data stays relevant, explore Fi’s Dataset module. Drop us a line <a href="https://calendly.com/chat_with_fi/20min">here</a>.</p><p>co-authors <a href="https://medium.com/u/1dece5cb353e">Erik Harutyunyan</a> &amp; <a href="https://medium.com/u/7a2b0a7dfee0">Haig Douzdjian</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d55e96e4a24" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/enhancing-llms-with-user-driven-synthetic-data-2d55e96e4a24">Enhancing LLMs with User-Driven Synthetic Data</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Optimizing LLMs with RLHF]]></title>
            <link>https://medium.com/feedback-intelligence/optimizing-llms-with-rlhf-c1ebc7d998ad?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/c1ebc7d998ad</guid>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[rlhf]]></category>
            <category><![CDATA[feedback-loop]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[llmops]]></category>
            <dc:creator><![CDATA[movchinar]]></dc:creator>
            <pubDate>Fri, 19 Jul 2024 12:46:03 GMT</pubDate>
            <atom:updated>2024-07-19T12:53:24.683Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v5hVdCAjAMAtyQ6P4IKtcg.jpeg" /></figure><p><strong>Optimizing LLMs with RLHF</strong></p><p><em>Reinforcement Learning with Human Feedback (RLHF)</em> is a well-known technique in machine learning. It is essential for developing LLMs that are aligned with human values and expectations, provide high-quality and reliable outputs, enhance user satisfaction and trust, adapt to diverse tasks, and ensure ethical and safe AI development.</p><p>Let’s dive into more technical details on how it is being implemented in general and specifically for LLMs. Most importantly, what are the pros and cons of it in the context of LLMs?</p><p>RLHF is a machine learning technique that improves AI training by adding human feedback to the process. Here’s a simple explanation:</p><ol><li><strong>Reinforcement Learning Basics</strong>: Reinforcement Learning Basics: In standard RL, an agent learns by performing actions in an environment to earn rewards or penalties, improving its decisions over time.</li><li><strong>Human Feedback Integration</strong>: In RLHF, humans provide additional feedback on the agent’s actions, such as ranking outputs, giving rewards, or correcting actions. This extra input helps the agent learn more effectively, especially when traditional rewards are unclear or insufficient.</li></ol><p>Implementing RLHF in LLMs involves a few key steps to ensure that the model not only generates text but also aligns its outputs with human values and expectations. Here’s a simplified explanation of the process:</p><ol><li><strong>Initial Training: </strong>The LLM is initially trained on a large text corpus using supervised learning to learn language patterns and generate coherent text.</li><li><strong>Collecting Human Feedback</strong>: Human evaluators review and rate the model’s responses based on relevance, coherence, and appropriateness.</li><li><strong>Reward Modeling</strong>: A reward model, a separate neural network, is trained to predict human feedback, helping the LLM understand preferred responses.</li><li><strong>Policy Optimization</strong>: The LLM is fine-tuned with reinforcement learning, using the reward model’s evaluations to adjust its generation policy. Techniques like Proximal Policy Optimization (PPO) ensure stable and efficient updates.</li><li><strong>Iterative Process</strong>: This cycle of generating responses, collecting feedback, and fine-tuning is repeated iteratively to improve the model’s alignment with human expectations continuously.</li></ol><p>Implementing RLHF in LLM-based applications such as <em>Retrieval-Augmented Generation (RAG), Fine-Tuning (FT), and Prompt Engineering (PE)</em> can present <em>several challenges and drawbacks</em>. Below are some of the main cons:</p><ol><li>Right now, only foundation model companies and big tech can afford it in its current form at scale as it is complex and costly.</li><li>Designing reward models for LLM-based applications is non-trivial. Poorly designed reward models can misguide the LLM, leading to suboptimal or undesirable outcomes.</li><li>Collection of human feedback is usually done via a very simple mechanism: they are prompted to choose from two options of generations for each given prompt. This aims to reduce the labeling costs but provides a weak learning signal for the reward model that will be trained on this data.</li><li>With traditional RLHF, the task-specific feedback may not generalize well to other tasks or domains. This will lead to no versatility or reliability.</li></ol><p><a href="https://medium.com/feedback-intelligence"><strong><em>Feedback Intelligence (FI, formerly Manot)</em></strong></a><strong><em> </em></strong>offers a robust alternative to traditional RLHF by providing an integrated SaaS platform designed to streamline the feedback loop for LLM-based products. Here’s how FI helps overcome the drawbacks of RLHF:</p><ul><li><strong>Effortless Feedback Consolidation</strong></li></ul><p>Evaluators do not have sufficient context of the task and that’s the reason they introduce bias. FI’s <em>Connectors</em> automatically collect explicit and implicit feedback directly from end-users who have all the context. This ensures consistent, unbiased, and scalable feedback collection from diverse user interactions.</p><ul><li><strong>Actionable Insights and Efficient Optimization</strong>:</li></ul><p>FI’s <em>Insights</em> analyzes feedback to derive actionable insights and identify the root causes of issues. This enables targeted improvement of LLM-based products for faster issue resolution using the end-user expectations. Additionally, it reduces computational costs and resource demands compared to traditional RLHF methods. We achieve this by integrating traditional Deep Learning models with unsupervised learning and employing LLM-as-a-judge in a novel orchestration methodology.</p><p>co-author <a href="https://medium.com/u/7a2b0a7dfee0">Haig Douzdjian</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1ebc7d998ad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/optimizing-llms-with-rlhf-c1ebc7d998ad">Optimizing LLMs with RLHF</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Product Analytics — Traditional vs AI Products]]></title>
            <link>https://medium.com/feedback-intelligence/product-analytics-traditional-vs-ai-products-5ead2b32afce?source=rss----4960648ad4de---4</link>
            <guid isPermaLink="false">https://medium.com/p/5ead2b32afce</guid>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[product-analytics]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[product]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Haig Douzdjian]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 19:03:36 GMT</pubDate>
            <atom:updated>2024-07-17T19:03:36.725Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Product Analytics — Traditional vs AI Products</strong></h3><p>Ahh the good ‘ol days, when click-through rates, usage metrics, and conversion funnels were all a product team needed to thrive.</p><p>Traditional product analytics are the crutch all product teams lean on for optimization. Tracking everything from user actions (page views, clicks, heat maps, etc), conversion rates, retention, and churn to A/B testing, cohort analysis, and much much more.</p><p>Then… *dramatic pause*… everything changed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/0*un_ZNydRqWJ9MEch" /></figure><p>With the rise of LLM-powered products (conversational AI, agents, etc), we stepped into uncharted waters… Why? There are no longer pre-defined user journeys. Each journey generates unique responses and dynamic conversations.</p><p>This shift to product engagement makes it extremely difficult to use traditional product analytics tools <strong>to understand a user’s experience and expectations</strong>.</p><p>So, what can be done? There are two options:</p><ol><li>Define your own evaluation metrics and do continuous manual analysis. This is an excellent option for early-stage products, less so for scaling and mature products.</li><li>Sit back, relax, and embrace Feedback Intelligence.</li></ol><p>Despite Feedback Intelligence (FI) having arguably the longest name ever, it makes sense as an out-of-the-box concept. FI acts as the missing link between traditional analytics and the unpredictable world of LLM-powered products.</p><p>So, to best describe what Feedback Intelligence is:</p><p>It’s a solution designed to understand and analyze the unique interactions between users and LLM systems. By first <strong>evaluating</strong> high entropy LLM-powered products, it can then <strong>optimize</strong> those products.</p><p>As an example of that: FI allows Ai product teams to understand your user’s experiences and expectations (evaluate), and then personalize and improve those experiences to better align with expectations (optimize).</p><p>How does Feedback Intelligence work?</p><p>It interprets context, sentiment, and nuances in human-Ai interactions through:</p><ul><li><strong>Sentiment analysis</strong> — identifies relevance, conciseness, completeness, and emotion in each user interaction.</li><li><strong>🔑 Root Cause Analysis (RCA)</strong> — understands issues at their core: what went wrong, where it went wrong, why it went wrong, and how to resolve it.</li><li><strong>Customer evaluation benchmarks</strong> — creates personalized evaluation metrics for your product and underlying LLM-infrastructure, based on user expectations and experiences.</li><li><strong>Synthetic golden set generation</strong> — automatically generates high-quality datasets from your user engagement, ensuring personalization without the expense.</li><li><strong>Prompt optimization</strong> — automatically identifies pitfalls in current prompts and recommends personalized alternatives to better meet user expectations.</li><li><strong>Automated hyper-parameter testing</strong> — leverages <strong>🔑 </strong>RCA to find and resolve underlying issues in the retrieval process, avoiding time intensive manual testing.</li><li><strong>Knowledge gap identification</strong> — leverages <strong>🔑 </strong>RCA to find missing context and recommend information to add.</li></ul><p>We are extremely bullish that in order to <strong>optimize</strong> solutions, you must first <strong>evaluate</strong> and <strong>understand</strong> your audience. Collecting high-quality personalized data is the difference between successful and unsuccessful Ai solutions.</p><p>😤 Enough said.</p><p>We’d love to chat, grab a time <a href="https://calendly.com/join_manot/chat-with-manot-15">here</a>!</p><p>More content from @<a href="https://medium.com/u/3783f728d8d1">movchinar</a> and I <a href="https://medium.com/feedback-intelligence">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ead2b32afce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/feedback-intelligence/product-analytics-traditional-vs-ai-products-5ead2b32afce">Product Analytics — Traditional vs AI Products</a> was originally published in <a href="https://medium.com/feedback-intelligence">Feedback Intelligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>