<?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 Amberbird.AI on Medium]]></title>
        <description><![CDATA[Stories by Amberbird.AI on Medium]]></description>
        <link>https://medium.com/@marketing_14226?source=rss-c24403b17583------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ooj0lY2rI8DAI4afROvUDA.png</url>
            <title>Stories by Amberbird.AI on Medium</title>
            <link>https://medium.com/@marketing_14226?source=rss-c24403b17583------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 01:00:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marketing_14226/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[How do you know an AI is actually right? “It looks good” wasn’t good enough for Amberbird.]]></title>
            <link>https://medium.com/@marketing_14226/how-do-you-know-an-ai-is-actually-right-it-looks-good-wasnt-good-enough-for-amberbird-0a7d95423cfa?source=rss-c24403b17583------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a7d95423cfa</guid>
            <category><![CDATA[visa-consultant]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[immigration]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Amberbird.AI]]></dc:creator>
            <pubDate>Tue, 07 Jul 2026 20:36:56 GMT</pubDate>
            <atom:updated>2026-07-07T20:36:56.732Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jEOw-rTWweT8t75Me7vPPw.png" /></figure><h3>Notes on building the eval suite that decides whether Amberbird.AI is allowed to ship.</h3><p>A few weeks into building Amberbird, I changed one line in a prompt. A small thing — I tightened the instruction telling the model how to phrase deadline calculations. I read through a dozen test conversations afterward. They all looked great. Cleaner, even. I nearly shipped it that afternoon.</p><p>Instead, on a hunch, I ran the change against our full test set instead of my dozen favorite examples. Eleven questions that had been answering correctly for weeks were now silently wrong. Not garbled, not obviously broken — fluent, confident, and wrong in the specific way that convinces you it’s right. If I’d trusted the read-through, that change would have shipped.</p><p>That was the moment I stopped believing in “it looks good” as a quality bar. In a domain where a wrong answer can mean a missed filing window, “looks good” isn’t an evaluation. It’s a guess with better prose.</p><h3>The demo lies to you</h3><p>Here’s the uncomfortable thing about language models: they’re better at <em>sounding</em> right than <em>being</em> right, and those two things correlate just well enough to fool you in a quick review. A person skimming ten answers will catch obvious nonsense. They will not catch a subtly wrong day count, a citation that supports a slightly different scenario than the one asked about, or a rule stated without the exception that changes everything for this specific person.</p><p>Small demos select for exactly the failure mode you can’t see. You test the happy path, because that’s what you think to type. You don’t test the edge cases that make immigration law hard in the first place, because you’re not the one who’s about to file. The people who ask Amberbird the hardest questions are not in the room when you’re reviewing the outputs.</p><p>So I stopped reviewing outputs by hand and started grading the system the way you’d grade anything you actually needed to trust.</p><h3>Building a test set that argues back</h3><p>The core of it is unglamorous: a growing set of real questions — the kind people actually ask about H-1B timelines, OPT rules, green card processing — each paired with a verified correct answer and the exact source passage that answer has to come from. Not “roughly right.” Verified, the way you’d want a fact-checker to verify it, because that’s functionally the job.</p><p>Every time anything changes — a prompt, a retrieval setting, the underlying model, a refreshed document in the corpus — the whole set runs again. Not a sample. All of it. If a change makes the system faster or cheaper or more elegant but breaks four questions that used to be right, the change doesn’t ship until that’s fixed. I think of it less like a unit test suite and more like a regression suite for truth: the thing you’re protecting against regressing is not a function’s output, it’s someone’s understanding of their own legal situation.</p><p>The unglamorous part is also the expensive part. Writing ground truth for immigration questions means the answer key has to be right, which means it has to be checked against primary sources, which means the test set grows slowly and carefully instead of getting scraped together in an afternoon. I’d rather have three hundred questions I trust completely than three thousand I have to hope about.</p><h3>Two ways to be wrong, and they are not equally bad</h3><p>Grading gets more interesting once you accept that “wrong” isn’t one category. There are two failure modes that matter here, and they pull in opposite directions.</p><p>The first is false confidence: the system answers a question it should have refused, or answers correctly-shaped but substantively wrong. This is the obvious danger — the one every AI safety conversation starts with.</p><p>The second is false refusal: the system declines to answer, or hedges into uselessness, on a question it actually could have handled well. This one is easy to underrate because it fails quietly. Nobody gets hurt in a way you can point to. But a tool that refuses too much just pushes people back into the $400-an-hour lawyer or the forum thread — the exact gap Amberbird exists to close. Over-caution isn’t neutral. It has a cost, it’s just a cost paid by someone who never files a bug report.</p><p>These two errors are not equally expensive, and an eval that scores them the same will quietly optimize for the wrong one. A system graded only on “did you answer correctly when you answered” will learn that refusing more is a free way to raise its score — technically true, and useless in practice. So the eval has to carry an explicit asymmetry: a confidently wrong answer on a real-legal-judgment question is weighted far worse than an unnecessary refusal, and an unnecessary refusal is still counted as a real error, not a safe default. Getting that weighting right took more iteration than almost anything else in the system, because it’s the one place where the “correct” answer is a judgment call about risk, not a fact you can look up.</p><h3>Grading the refusal itself</h3><p>This is the part that surprised me most: refusal turned out to need its own eval category, separate from answer accuracy. It’s not enough to ask “did the system get the facts right.” You also have to ask “did the system correctly recognize that this question needed a human,” independent of whether it could have technically produced an answer.</p><p>So a slice of the test set is entirely made of questions that should be refused — ones that hinge on an individual’s specific history, credibility, or discretion, where no source passage can responsibly settle it. The system is graded on whether it recognizes that line, not on what it would have said if it hadn’t. Treating refusal as a first-class, separately-graded behavior — instead of a fallback when generation gets uncertain — is what keeps it from eroding quietly over time as everything else gets optimized.</p><h3>Nobody grades their own homework</h3><p>The last piece is the one I was most tempted to skip: the eval set itself gets audited by someone other than the person who built the system. It’s tempting to write your own test questions and your own answer key, because you already believe you’re right — that’s exactly why you shouldn’t be the only check. Ground truth gets reviewed against primary USCIS sources by someone whose job is specifically to find where I got it wrong, not to confirm I got it right. An eval suite you can’t fail isn’t an eval suite. It’s a mirror.</p><h3>What I’d tell anyone building in a high-stakes domain</h3><p>None of this is exotic engineering. There’s no clever trick here — just a refusal to trust the version of quality control that feels good instead of the version that’s actually load-bearing. If your system’s outputs get acted on — medicine, finance, tax, law, immigration — “it looks good in the demo” is not evidence of anything except that you tested the questions you already knew the answers to.</p><p>The test set doesn’t get smaller as the product gets better. It gets bigger, because getting better means finding more of the ways you were wrong.</p><p>If you want to see what a system built this way actually does with a hard question, it’s live at <a href="https://amberbird.ai/">amberbird.ai</a>. Ask it something with a real edge case. That’s the whole point of building it this carefully.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a7d95423cfa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RAG is easy until a wrong answer can cost someone a visa]]></title>
            <link>https://medium.com/@marketing_14226/rag-is-easy-until-a-wrong-answer-can-cost-someone-a-visa-23d736adab2e?source=rss-c24403b17583------2</link>
            <guid isPermaLink="false">https://medium.com/p/23d736adab2e</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[immigration]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[rags]]></category>
            <dc:creator><![CDATA[Amberbird.AI]]></dc:creator>
            <pubDate>Thu, 02 Jul 2026 23:28:55 GMT</pubDate>
            <atom:updated>2026-07-02T23:28:55.291Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lsUFq9G167jwG0TnGE7rRQ.png" /></figure><h3>Engineering notes from building an AI immigration assistant on top of USCIS guidance.</h3><p>Every RAG tutorial looks the same. Chunk your documents, embed them, pull the top five chunks into a prompt, and congratulations: you have a “grounded” chatbot. It demos beautifully. It answers questions about your company wiki, and when it gets something slightly wrong, nobody’s life changes.</p><p>Then you try to do it in a domain where people might rearrange their lives around the answer.</p><p>I’m building Amberbird.AI, an assistant that answers US immigration questions (H-1B, F-1/OPT, employment-based green cards) in plain English, with every answer tied to the official USCIS source behind it. The tutorial version of RAG did not survive contact with this domain. Here are the problems that broke it, and the design decisions that replaced it.</p><h3>Problem 1: Government text is hostile to naive chunking</h3><p>USCIS pages, policy manual chapters, and form instructions are structured like law, because they are downstream of law. The rule lives in one paragraph. The exception lives three paragraphs later. The exception to the exception lives in a note near the bottom of the page.</p><p>If you chunk on a fixed token window, you will eventually retrieve a rule without its exception. The model then writes a fluent answer that is true in general and false for the specific person asking. In most products that is a bug report. In this one it could be a missed filing window.</p><p>The fix is boring and structural: chunk along the document’s own skeleton, not a token count. Sections, headings, and question blocks are the units of meaning, so they became the units of retrieval. Rules travel together with their exceptions. Every chunk carries its hierarchy as metadata: which source, which page, which section, so the system always knows where a passage came from, not just what it says.</p><p>Nothing about this is clever. It is just respecting that the authors of these documents already encoded the structure, and that flattening it throws away the most important information on the page.</p><h3>Problem 2: The corpus moves underneath you</h3><p>Immigration guidance changes. Fees change. Filing addresses change. Policies get updated after lawsuits, sometimes quietly. A RAG system built on a stale snapshot is dangerous precisely because it is convincing: it cites something real that is no longer true, and the citation makes the wrong answer look verified.</p><p>So freshness is not an ops chore here. It is part of correctness. The corpus has to be treated like a versioned dependency: sources get re-checked on a schedule, changes get diffed, and anything that moved gets re-reviewed before it can be served again. Answers carry an “as of” sense of time, because in this domain, when something was true matters almost as much as whether it was true.</p><p>My rule of thumb now: in a high-stakes domain, an outdated citation is worse than no citation. No citation looks uncertain. An outdated one looks authoritative.</p><h3>Problem 3: Citations cannot be decoration</h3><p>A lot of AI tools “add citations” by asking the model to append a link at the end. That is theater. The link usually points at a page that vaguely relates to the topic, and nobody, including the model, knows whether it supports the specific sentence above it.</p><p>For a citation to mean anything, it has to be the source of the claim, not an accessory to it. So generation is constrained to what was actually retrieved, and each claim in an answer maps back to a passage the user can open and read. If a claim cannot be grounded in a source, it does not ship. That constraint costs fluency sometimes. It is worth it, because the citation is the product. Plain-English explanation is just the interface on top of it.</p><p>There is a selfish engineering benefit too: claim-level grounding turns every wrong answer into a debuggable event. You can see exactly which retrieval failed or which passage was misread, instead of staring at a black box that “hallucinated.”</p><h3>Problem 4: The most important component decides when not to answer</h3><p>Some questions are informational: what the H-1B cap is, what a form field means, how a deadline is defined. Some questions are legal judgment wearing an informational costume: “I worked two weeks past my end date, am I fine?”</p><p>No retrieval system should answer the second kind. There is no passage to retrieve, because the answer depends on the person’s specific facts, history, and risk, which is exactly what licensed attorneys are for.</p><p>So before anything is generated, a gate runs: is this a general-information question, or does it hinge on individual circumstances? If it crosses the line, the assistant says so plainly and routes the person toward a real attorney instead of guessing. The same applies when retrieval comes back weak or conflicting: the honest output is “this is unclear,” not a confident synthesis of noise.</p><p>In most products, refusing is treated as a failure state to be minimized. Here it has its own engineering budget, its own test cases, and its own quality bar. I think of it as the feature that makes every other feature trustworthy.</p><h3>Problem 5: You cannot vibe-check correctness</h3><p>Once citations and refusals are core behavior, “it seems good” stops being an acceptable evaluation method. The thing that keeps the system honest is a test set: real questions with verified answers and verified sources, run every time a prompt changes, a model gets swapped, or the corpus refreshes. Regression testing, except the regression is truth.</p><p>And it has to measure refusal quality, not just answer quality. False confidence and false refusal are both errors, but their costs are wildly asymmetric in this domain. Answering something that needed a lawyer is far worse than declining something that did not. The eval has to encode that asymmetry, or the system will drift toward the failure mode that demos better.</p><h3>What transfers to any high-stakes RAG system</h3><p>Little of this is specific to immigration. If your users act on your outputs in medicine, finance, tax, or law, the same lessons apply:</p><ul><li><strong>The unit of quality is the claim, not the answer.</strong> Ground each sentence or do not say it.</li><li><strong>Freshness is part of correctness.</strong> Version your corpus like a dependency, because it is one.</li><li><strong>Structure-aware chunking beats clever embeddings.</strong> The document’s authors already told you where meaning begins and ends.</li><li><strong>Refusal deserves as much engineering as generation.</strong> Scope gates, handoff paths, and “this is unclear” are features.</li><li><strong>Evals or it did not happen.</strong> A model change without a truth regression suite is a gamble taken on someone else’s life.</li></ul><p>The tutorials undersell this work because the demo does not need it. The interesting engineering in high-stakes RAG is not retrieval. It is restraint.</p><p>If you want to see how it behaves in practice, it lives at <a href="https://amberbird.ai/">amberbird.ai</a>. Ask it something it should not answer, and watch what it does.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23d736adab2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I built an AI immigration assistant that refuses to answer some questions]]></title>
            <link>https://medium.com/@marketing_14226/i-built-an-ai-immigration-assistant-that-refuses-to-answer-some-questions-da5078be003e?source=rss-c24403b17583------2</link>
            <guid isPermaLink="false">https://medium.com/p/da5078be003e</guid>
            <category><![CDATA[international-student]]></category>
            <category><![CDATA[visa]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[immigration]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Amberbird.AI]]></dc:creator>
            <pubDate>Tue, 30 Jun 2026 23:41:41 GMT</pubDate>
            <atom:updated>2026-06-30T23:43:46.611Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VIvLC7xi6YOIdHS4Bs5EQA.png" /></figure><h3>On why the most important feature of an immigration tool might be knowing when to shut up.</h3><p>There’s a particular kind of fear that lives in international students, H-1B workers, and green-card applicants. It shows up around 2 a.m., usually phrased as a Google search nobody should have to type: <em>“Does my OPT clock keep running if I leave the country?”</em> <em>“Can I start the new job before my transfer is approved?”</em> <em>“Did I just break my status?”</em></p><p>If you’ve never had your right to stay in a country depend on a form, this is hard to explain. One wrong move — a missed window, a misread instruction — doesn’t cost you money. It costs you years. Sometimes it costs you the whole life you were building.</p><p>And here’s the thing that got under my skin: when you go looking for help with these questions, you get two options, both bad.</p><h3>The gap</h3><p>The first option is a lawyer at $400 an hour. Immigration attorneys are worth every cent for the cases that need them — but most people don’t have a <em>case</em>, they have a <em>question</em>. You shouldn’t have to pay for an hour of someone’s time and expertise to find out something the government already published, just because the government published it in a language only lawyers can read.</p><p>The second option is the internet. Reddit threads. Forums. A friend of a friend who “did the same thing in 2019.” This advice is free, confident, and occasionally catastrophic. The loudest voice in a forum is almost never the most correct one, and you have no way to tell the difference until it’s too late.</p><p>So between the $400-an-hour lawyer and the scary forum thread, there was… nothing. That gap is where I decided to build.</p><h3>The obvious fix, and why it’s dangerous</h3><p>AI looked like the obvious answer. Of course it did — it’s 2026, everything looks like an AI problem.</p><p>But the more “AI immigration tools” I looked at, the more uneasy I got. Most of them have the same fatal feature: they always answer. Ask anything, and out comes a fluent, confident paragraph. It <em>sounds</em> like authority. And in a domain where a confidently wrong answer can get someone deported, “sounds like authority” is not a feature. It’s a liability.</p><p>Large language models are extraordinary at sounding sure of themselves. They will, if you let them, invent a regulation that doesn’t exist and cite it with a straight face. For most uses, that’s an annoyance you correct later. For immigration, there is no “later.” The deadline already passed. The trip was already taken. The status was already broken.</p><p>I didn’t want to ship a tool that bluffs. So I built one around two rules that, on paper, make it <em>less</em> impressive — and in practice make it trustworthy.</p><h3>Rule one: show your work, every single time</h3><p>Every answer the tool gives is tied to the actual source it came from — the specific USCIS page or the statute behind it — and you can click straight through to read it yourself. Not a vague “according to immigration law.” The exact page.</p><p>This does something quietly important. It means the tool can’t get away with making things up, because the receipt is attached to every claim. And it puts you back in control: you’re not trusting a black box, you’re being handed the official source and walked through what it means in plain English. Verify everything. That’s the point.</p><h3>Rule two: know when to shut up</h3><p>This is the one people find strange, so let me be specific.</p><p>If you ask about something that involves real legal judgment — say, a situation where there might have been a prior status violation — the tool doesn’t guess. It stops and says, in effect: <em>this needs a licensed attorney, and here’s why.</em> Then it hands you to one.</p><p>That’s a weird thing to build on purpose. Every product instinct screams <em>answer the question, keep the user, look smart.</em> But an immigration tool that answers questions it has no business answering isn’t helpful. It’s hazardous wearing a helpful costume. The most valuable thing software can do here is be honest about the edge of its own competence — and route you to a human before you walk off it.</p><p>So yes: I built an AI that, on a meaningful number of questions, refuses to answer. I think that refusal is the most important feature in the product.</p><h3>Less flashy, more honest</h3><p>None of this makes for a flashy demo. “Our AI answers 100% of immigration questions instantly!” is a better marketing line than “our AI answers the clear ones and tells you when to call a lawyer.” But the first line is how people get hurt, and I’d rather have the honest product than the impressive one.</p><p>The economics, weirdly, work out in your favor too. One lawyer call can cost more than a year of using a tool like this. Use the software for the clear, common questions — the 2 a.m. ones with a real, citable answer — and save your lawyer’s time and your money for the moments that genuinely need a human brain. That’s not a downgrade from having a lawyer. It’s how you afford to have one when it actually counts.</p><h3>What I’m actually building</h3><p>A calm, plain-English place to stand between “too expensive” and “too risky.” Something that respects how high the stakes are by being careful instead of confident. A tool made for people, not paperwork — that admits what it doesn’t know, shows you where every answer comes from, and hands you to a real attorney when your case has outgrown what any software should be deciding.</p><p>If you’re navigating H-1B, F-1/OPT, or a green card and you’re tired of choosing between a four-figure invoice and a forum thread, that’s exactly who I built this for. You can see how it works — and get on the early-access list — at <a href="https://amberbird.ai/">amberbird.ai</a>.</p><p>And if you ask it something it shouldn’t answer, it’ll tell you. That’s the whole idea.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da5078be003e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>