frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: LlmSHAP – Multi-threaded input importance for prompts and RAG context

https://github.com/filipnaudot/llmSHAP
4•filipn9•1h ago

Comments

filipn9•1h ago
Hi HN, I built llmSHAP, a multi-threaded open-source Python library that attributes how much different parts of LLM input contributed to the LLM’s output, using Shapley values.

It’s designed for LLM prompts / RAG contexts where you want something more structured than token masking: you can define “features” as tokens, sentences, paragraphs, tools, images, or arbitrary fields, pin “permanent” context that should always be included (e.g., system prompt + question), and compute attributions with options like caching and multi-threading to speed up the many model calls.

Repo + tutorial are here: https://github.com/filipnaudot/llmSHAP https://filipnaudot.github.io/llmSHAP/tutorial.html

I’d love feedback on if you think this could be genuinely useful in your LLM workflows (prompt engineering, RAG debugging, evals, guardrail auditing, etc.)?

bradley01•1h ago
Hi Filip,

Cool project! I’ve used TokenSHAP but I actually found llmSHAP via the preprint on arXiv a few weeks ago and found it to be a good alternative.

Are you planning on adding in-image object attribution?

filipn9•1h ago
Thanks!

No, at the moment we’re not planning to add this. We did, however, just add support for image attribution, but only in terms of how important the image is to the final output, rather than which parts of the image are most important.

Fuck subscriptions, bulk email for life using your Gmail API

https://godsend.email
1•Sayuj01•54s ago•0 comments

Placebo Concert: The Placebo Effect for VR Visualization of Physiological Data

https://kaikunze.de/post/2026-01-10-placebo-concert/
1•kgarten•2m ago•0 comments

New Version of jQuery 4.0.0

https://blog.jquery.com/2026/01/
1•aanthonymax•2m ago•0 comments

Fast-ThinkAct: Efficient Vision-Language-Action Reasoning

https://jasper0314-huang.github.io/fast-thinkact/
1•gmays•3m ago•0 comments

Is Educational Technology All It's Cracked Up to Be? – A Student's Perspective

https://micahblachman.beehiiv.com/p/is-educational-technology-all-it-s-cracked-up-to-be
1•subdomain•5m ago•0 comments

Enjoy the Amateur Enhancements

https://nik.art/enjoy-the-amateur-enhancements/
1•herbertl•6m ago•0 comments

Ask HN: Can I still code by hand?

3•dudewhocodes•7m ago•0 comments

Show HN: Vouch Protocol – Open Identity for AI Agents (C2PA and Did)

2•rampy•10m ago•0 comments

Worse Than the Dot Com Bubble

https://www.wheresyoured.at/dot-com-bubble/
1•7777777phil•10m ago•0 comments

Discovering New Horizons (2015)

https://source.washu.edu/2015/12/discovering-new-horizons/
1•thunderbong•11m ago•0 comments

The cleaner: One woman's mission to help Britain's hoarders

https://www.aljazeera.com/features/2026/1/18/the-cleaner-one-womans-mission-to-help-britains-hoar...
1•Qem•12m ago•0 comments

Speed Vertigo: A New Kind of Engineering Debt

https://joshtuddenham.dev/blog/vertigo/
1•joshuaisaact•14m ago•0 comments

Making a Strava-Style Heatmap with My Citibike Ride History

https://yangdanny97.github.io/blog/2026/01/17/citibike-strava-heatmap
1•ocamoss•16m ago•0 comments

Why Newly Built Aircraft Still Have Ashtrays

https://iatanews.com/why-newly-built-aircraft-still-have-ashtrays-in-the-toilet/
2•tavro•16m ago•0 comments

Show HN: SmallPebble – minimalist deep learning library in <1000 lines of Python

https://github.com/sradc/SmallPebble
1•montebicyclelo•18m ago•1 comments

A Day Without a Mexican

https://en.wikipedia.org/wiki/A_Day_Without_a_Mexican
1•treetalker•19m ago•0 comments

Show HN: Miito- Added TikTok like videos to Google Meet to fix my attention span

https://chromewebstore.google.com/detail/miito-focus-overlay-for-m/hlnfebhmljcldnhepjeiodhmijahlhcc
1•miemex•19m ago•0 comments

AI companies will fail. We can salvage something from the wreckage

https://www.theguardian.com/us-news/ng-interactive/2026/jan/18/tech-ai-bubble-burst-reverse-centaur
2•kawera•21m ago•0 comments

Most-voted PR gets merged – Week 2: The Acceleration

https://blog.openchaos.dev/posts/week-2-the-acceleration
2•mraniki•22m ago•0 comments

Chinese EVs Are Coming Back to Canada Thanks to New Trade Deal

https://www.jalopnik.com/2077559/chinese-evs-coming-back-canada/
2•mattwiese•23m ago•0 comments

Hydrate Agent for Obsidian

https://hydrateagent.com/
1•javast98•24m ago•1 comments

The next-gen SQLite won't look like SQLite

https://gist.github.com/radarroark/03a0724484e1111ef4c05d72a935c42c
10•radarroark•28m ago•2 comments

Cybernetic Arbitrage – AI Is Inverting Aggregation Theory

https://hypersoren.xyz/posts/cybernetic-arbitrage/
1•dennisy•29m ago•0 comments

Study Shows Short-Form Video Is Destroying Our Brains

https://bradstulberg.substack.com/p/a-new-study-shows-short-form-video
2•andy99•30m ago•0 comments

I decided to try BASIC programming on the VIC 20 in 40 years

https://medium.com/@RetroTechShow/1984-i-decided-to-try-basic-programming-on-the-vic-20-for-the-f...
1•JKCalhoun•30m ago•0 comments

Show HN: Tiny Toy Network – a neural net to practice backpropagation

https://hollyemblem.github.io/tiny-toy-network/
1•dandelionv1bes•33m ago•0 comments

Ringmpsc: Lock-free MPSC channel in Zig achieving 50B messages/second

https://github.com/boonzy00/ringmpsc
1•g0xA52A2A•33m ago•0 comments

Bending Emacs Episode 10: AI / LLM agent-shell [video]

https://www.youtube.com/watch?v=R2Ucr3amgGg
1•xenodium•34m ago•0 comments

Show HN: Go-brrr – Benchmarks Go vs. Go and declares a winner anyway

https://github.com/jackprscott/go-brrr
1•jackprescott•34m ago•0 comments

3D Map of the Moai Statue Quarry at Rano Raraku, Rapa Nui (Easter Island)

https://www.arcgis.com/apps/instant/3dviewer/index.html
2•nudin•35m ago•0 comments