Better HN
topnewbestaskshowjobs
Log inSign up

dheerkt

27 karma · joined Sep 21, 2019 (7y ago) · 18 submissions

Submissions

comment 1y ago · link · parent

based on their past usage of "interleaved tool calling" it means that the tool can be used while the model is thinking.

https://aws.amazon.com/blogs/opensource/using-strands-agents...

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

This is the non-AI version of an AI CEO saying programmers will not exist in 5 years.

comment 1y ago · link · parent

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.

5.

Reducing LLM Hallucinations with a Verified Semantic Cache(aws.amazon.com ↗)

1 points · by dheerkt · 1y ago · 1 comment

comment 1y ago · link · parent

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

comment 2y ago · link · parent

If the user asks such a question, your agent should not invoke the RAG at all, but simply answer from the history. You need to focus on your orchestration step.

Search for ReAct agents, can build using either LangGraph or Bedrock Agents.

comment 2y ago · link · parent

Skeptical that this will be a "good" experience for everyone involved considering how generic AI openers/responses are, but also hopeful that it can reduce friction for some.

Excited to see what y'all cook up.

comment 2y ago · link · parent

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)

comment 2y ago · link · parent

Hmm interesting, didn't realize that data sovereignty requirements were so stringent. Wonder how other cloud providers are doing in this sense considering GPU shortages across the board.

comment 2y ago · link · parent

Can you not use cross-region inference?

comment 2y ago · link · parent

I'm confused, what's expensive about it? It's a serverless pay per token model?

Do you mean specifically the Bedrock Knowledgebase/RAG -- that uses serverless OpenSearch which costs at minimum $200ish/month bc it doesn't scale to zero?

comment 2y ago · link · parent

Study funded by Microsoft, conducted by Microsoft engineers, says Microsoft product makes engineers +X% more productive.

comment 2y ago · link · parent

Also shouting out Continue.dev for vscode users. I set it up yesterday, open-source version of Cursor. (not affiliated, I tried to setup Avante but I'm a neovim noob and have skill issues)

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Do publications to my BigCo employer's engineering blog count towards an O-1 application? Or is it just Research Papers/citations to formal journals that matter?

What are some other common ways to build a portfolio towards an O-1 application other than research citations or founding a startup?

Thanks for this AMA!

comment 3y ago · link · parent

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.