frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Don't classify, hallucinate!

https://softwaredoug.com/blog/2026/08/10/hypothetical-classifications
35•softwaredoug•3d ago

Comments

eka1•35m ago
Did you validate this by running a A/B test? Main question is were you able to classify back into your known categories correctly all the time, or did the errors compound from the llm hallucination plus embedding search
softwaredoug•33m ago
Using a Nano model, a tad worse than shipping a vocabulary to a larger OpenAI model. (And it’s an huge improvement on not classifying the queries at all).

But no classification is perfect. In search in particular, you will also want to have places for manual intervention for high priority queries.

VladVladikoff•32m ago
Eh, maybe you should keep both paths. When LLMs eventually crawl the site to feed back to agentic shoppers, maybe they logically follow the more truncated less decorated path.
estetlinus•27m ago
I was in a project where we sent the whole taxonomy every request, 40k tokens + one article, ”plz classify”. This was before structured outputs. It was extremely expensive and still hallucinated. Good ol’ days.
thatjoeoverthr•23m ago
Smart! I've done the same trick for resolving extracted intents to selection.

But if accuracy matters, you can't rely on embedding sort to get a closet match. With a real test set they usually don't hold up under scrutiny.

Everything in AI is like this. You get an idea, try it once or twice, "LGTM" and you ship. Then it never survives contact reality.

Embedding sort gives you a better shortlist than the whole list, but you will probably want a heavier model to vet candidates.

piterrro•14m ago
I would propose the following, query vector store for 10 closest categories based on a query, feed it to an LLM, in the prompt ask it to produce a single digit 0-9 representing the number of the most appropriate choice. Use plain text prompt, dont inflate token count with JSON. There you go, you just drastically reduced the output pricing.

Additionally you could experiment with a reranker instead of an LLM or after reranking take top-3 results and then feed to LLM as input in order to reduce input token costs.

cesargstn•7m ago
good this yeah
Colegno•10m ago
Isn't search engines quicker than calling a LLM ? It might have a huge impact between a 20ms search engine call and a 2s LLM call for the end user.

GLM-5.3: Frontier coding with emergent cyber capabilities

https://z.ai/blog/glm-5.3
677•pella•7h ago•333 comments

Don't classify, hallucinate!

https://softwaredoug.com/blog/2026/08/10/hypothetical-classifications
37•softwaredoug•3d ago•8 comments

DeepSeek peak/off-peak pricing update

https://api-docs.deepseek.com/news/news260813/
96•fagnerbrack•3h ago•44 comments

Gemini 3.7 Flash

https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-3-7-fl...
895•thisisauserid•19h ago•451 comments

Why does Opus 5 feel worse to work with?

https://mun-logadan.github.io/why-does-opus-5-feel-worse/
193•numeri•2h ago•174 comments

Differential Heuristics

https://www.redblobgames.com/blog/2026-08-08-differential-heuristics/
54•ibobev•4d ago•4 comments

Accelerating GPT-5.6 Sol Ultrafast

https://www.cerebras.ai/blog/accelerating-gpt-5-6-sol-ultrafast-with-openai
650•pr337h4m•19h ago•253 comments

Hello, me. It's been a while

https://themech.net/2026/08/hello-me-its-been-a-while/
281•somesoftdev•18h ago•153 comments

Protect Your Relays

https://www.iroh.computer/blog/authenticated-relays
14•surprisetalk•4d ago•6 comments

Show HN: C# Game Engine with its own scripting language and IDE

https://github.com/ArcadeMakerSources/ArcadeMaker
73•am-gm•2d ago•36 comments

DeepSeek Harness developer preview

https://deepseek.com/harness/en/
691•bjin•1d ago•281 comments

Spaghettifying DRAM

https://github.com/xoreaxeaxeax/skitter-creek-bath-salts
662•matt_d•22h ago•167 comments

Ruby 4.0 Universal RCE Deserialization Gadget Chain

https://www.elttam.com/blog/ruby-4-0-universal-rce-deserialization-gadget-chain
49•pentestercrab•7h ago•13 comments

Mistral OCR 4.1

https://docs.mistral.ai/models/ocr-4-1
381•spelk•20h ago•153 comments

Bluesky Protocol Services

https://atproto.com/blog/introducing-bluesky-protocol-services
182•danabramov•12h ago•47 comments

We're not done with point clouds

https://claytonwramsey.com/blog/mvt/
22•claytonwramsey•3d ago•2 comments

Understanding is the new bottleneck

https://www.geoffreylitt.com/2026/07/02/understanding-is-the-new-bottleneck
370•sebg•18h ago•203 comments

Show HN: Lumabri – Run Moe Models on a P2P Swarm with Colibri

https://github.com/JustVugg/lumabri
37•vforno•12h ago•14 comments

Choose Boring Technology (2015)

https://mcfunley.com/choose-boring-technology
379•tosh•19h ago•207 comments

Donkey.bas is 45 Years Old – 131 line of Glory

https://donkeybas.com/
255•jkrauska•19h ago•126 comments

Nine PBS sues Iron Mountain over blocked access to archival data

https://current.org/2026/08/nine-pbs-sues-iron-mountain-over-blocked-access-to-archival-data/
340•vinayakborkar•23h ago•196 comments

What an improv stage can teach you about leading cross-cultural teams in Tokyo

https://www.tokyodev.com/articles/yes-and-what-an-improv-stage-can-teach-you-about-leading-cross-...
27•pwim•1w ago•4 comments

How Compaction Works in Pi

https://earendil.com/posts/compaction-in-pi/
184•tosh•19h ago•74 comments

Blog about things you don't understand yet

https://www.seangoedecke.com/blog-about-things-you-dont-understand-yet/
129•gfysfm•13h ago•40 comments

Where did the old web go? We followed 657,607 links to find out

https://0.mk/blog/link-rot
202•tdx•19h ago•192 comments

The Library of Ashurbanipal (2025)

https://www.historytoday.com/archive/feature/library-ashurbanipal
45•samizdis•3d ago•9 comments

Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes

https://github.com/systemd/systemd/issues/40262
233•ValdikSS•18h ago•173 comments

How Organizations Use AI: Evidence from ChatGPT [pdf]

https://cdn.openai.com/pdf/how-organizations-use-chatgpt.pdf
117•malshe•17h ago•92 comments

Ordinary Abundance

https://ordinaryabundance.com/
339•yen223•23h ago•166 comments

NP-overrated

https://gruhn.me/blog/2026-08-13/
226•theanonymousone•16h ago•159 comments