2
1 Comment

How I solved ChatGPT's hallucination problem for K-Beauty ingredients (and turned it into an API)

Hi everyone,

I’ve been working with Korean cosmetics data and realized a huge problem: general AI models (like ChatGPT) hallucinate badly when translating Korean cosmetics ingredients into global INCI standards.

They literally invent fake chemical names for Asian herbal extracts or marketing terms. If you are building a beauty app or handling customs clearance, this is a legal nightmare.

So, I built a bulletproof API to fix this. Here is how I solved the hallucination issue:

  1. The Zero-Error Dictionary Fallback: I hardcoded a massive dictionary of verified ingredients. The API checks this first. Zero AI guesswork, pure facts.

  2. Strict AI Prompting: For unknown ingredients, it uses a strictly-prompted AI model. If the AI is even 1% unsure, it is forced to refuse to guess and explicitly returns UNVERIFIED_MANUAL_CHECK_REQUIRED.

Now, it only returns 100% verified data and clearly flags what needs a human review.

I just published the MVP on RapidAPI. It has a freemium tier (100 free calls/month) so you can test it out without a credit card.

Link: https://rapidapi.com/dahee8703dahee8703/api/legal-k-beauty-inci-translator

I would love to hear your feedback! Has anyone else struggled with domain-specific AI hallucinations? Let me know what you think.

posted to Icon for group Show IH
Show IH
on June 13, 2026
  1. 1

    Interesting build.

    One thing I'd be careful with:

    The interesting question may not be whether the hallucination problem is solved.

    It may be which type of buyer feels the consequences strongly enough to pay for that solution.

    Those sound similar, but they can lead to very different product decisions.

    I wouldn't make that call casually in a thread.

Trending on Indie Hackers
6 weeks solo, 2 rejections, finally live but nobody told me marketing would be this hard User Avatar 116 comments Building ExpenseSpy solo, no funding — launching June 17 on iOS & Android User Avatar 46 comments I built a $5/1k-listing CRE data API because CoStar is overkill for first-pass scans User Avatar 18 comments Building LinkCover – Day 3: Payment is live. No more building, time to sell. User Avatar 15 comments I just wanted to taste AI coding tools. A week passed. User Avatar 12 comments I Was Bypassing Every App Blocker, So I Built One That Fights Back User Avatar 11 comments