HN user

dheerkt

27 karma
Posts1
Comments16
View on HN

How is this different from a local Jupyter notebook? Can we not do this with ! or % in a .ipynb?

Genuine question. Not familiar with this company or the CLI product.

I recently wrote a post outlining our method to reduce hallucinations in LLM agents by leveraging a verified semantic cache. The approach pre-populates the cache with verified question-answer pairs, ensuring that frequently asked questions are answered accurately and consistently without invoking the LLM unnecessarily.

The key idea lies in dynamically determining how queries are handled:

- Strong matches (≥80% similarity): Responses are directly served from the cache.

- Partial matches (60–80% similarity): Verified answers are used as few-shot examples to guide the LLM.

- No matches (<60% similarity): The query is processed by the LLM as usual.

This not only minimizes hallucinations but also reduces costs and improves response times.

Here's a Jupyter notebook walkthrough if anyone's interested in diving deeper: https://github.com/aws-samples/Reducing-Hallucinations-in-LL...

Would love to hear your thoughts—anyone else working on similar techniques or approaches? Thanks.

Amazon Nova 2 years ago

yeah converse api supports all models on bedrock, or atleast all the text2text ones

Not an expert by any means but streaming HQ video is pretty expensive (even more so for live content), seems like the only providers that can do so profitably are YouTube and Netflix. I'm sure a big reason for that is the engineering (esp. CDN)

Just set it up 2 days ago. I fully agree with his take. Cursor does a lot to reduce the headache of copy pasting results from ChatGPT/Claude.

Makes coding with AI much faster and less of a chore. You still need to know what you're doing as the models are fantastic at boilerplate but often get things wrong. But it's significantly sped up iteration for me, and hence translates to more fun.

WITCH is the acronym for Indian tech consulting companies for WiPro, InfoSys, Tata Consultancy Services, C something, H something. They're stereotyped as being cheap and low-quality.

Not agreeing/disagreeing here, just stating author's intent.

Moved from NOVA to Union City, NJ. My commute to Midtown is shorter than it would be if I were living in Brooklyn via Port Authority Buses. Rent is cheaper, and don't need to pay city tax.