frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How do you send large sets of data to an LLM

2•obayesshelton•1y ago
So, I am hitting limits with the amount of data I am sending to Claude via the API.

I am trying to send about 5000 comments but I would love to send more but I am hitting limits of the message size.

What are some good design patterns when sending large sets of data to an LLM?

I ideally need to send all the data together at it gives context to the overall prompt.

Comments

curious_curios•1y ago
Some approaches we’ve used:

- Group the comments by theme, then pass groups to the LLM to summarize/deduplicate then pass the outputs of that as context.

- RAG where only relevant parts are included in the context.

- Use an LLM with a larger context window (like Gemini pro)

obayesshelton•1y ago
Yeah, I think I need to use Gemini

Question, how if possible could you query rows in a table?

Surely the better approach would be to have some sort of connection to table rows?

Trump's 3,711 Trades Point to Multiple Stock-Market Strategies

https://www.bloomberg.com/news/features/2026-05-23/trump-s-3-711-trades-point-to-multiple-stock-m...
1•simonpure•4m ago•1 comments

Show HN: Gemini Omni flash video editor and generator

https://vivify.video/models/gemini-omni-flash
1•mixfox•6m ago•0 comments

Simulating Why One AI Always Wins: Formal Theory of the Singleton Attractor

https://github.com/ninjahawk/singleton-attractor
1•ninjahawk1•6m ago•0 comments

Triumph of the Nerds (1 of 3) 4K Upscaled [video]

https://www.youtube.com/watch?v=ACt6xsMt5Uk
1•evo_9•7m ago•0 comments

Trump's crypto venture and Iran's top exchange tapped the same industry networks

https://www.reuters.com/investigations/how-trumps-crypto-venture-irans-top-exchange-tapped-into-s...
1•JumpCrisscross•7m ago•0 comments

Ask HN: How can you have fun doing corporate dev work in the age of AI tools?

1•uejfiweun•7m ago•0 comments

M-26-14: Agency Logging and Network Visibility Against Cyber Threats [pdf]

https://www.whitehouse.gov/wp-content/uploads/2026/05/M-26-14-Ensuring-Effective-and-Efficient-Ag...
1•882542F3884314B•8m ago•0 comments

The Download: online safety's future and climate tech's big pivot

https://www.technologyreview.com/2026/05/21/1137733/the-download-online-safety-climate-tech-pivot/
1•joozio•9m ago•0 comments

Personality Series: Agreeableness and Extraversion

https://www.byarcadia.org/post/personality-101-agreeableness-and-extraversion
1•poly2it•10m ago•0 comments

Drug overdose deaths drop sharply in the U.S. even as new street drugs emerge

https://www.npr.org/2026/04/12/nx-s1-5776933/drug-overdose-deaths-drop-sharply-in-the-u-s-even-as...
1•brandonb•10m ago•0 comments

AI Mistakes Are Infuriating Gamers as Developers Seek Savings

https://www.bloomberg.com/news/articles/2026-02-25/ai-mistakes-are-infuriating-gamers-as-develope...
3•evo_9•12m ago•0 comments

Permitting reform: Washington's elusive bipartisan dream

https://www.politico.com/news/2026/05/23/permitting-reform-congress-elusive-00934630
1•JumpCrisscross•12m ago•0 comments

I've been documenting roadside memorials and capturing them in an app I built

https://roamo.me
1•monocat•14m ago•0 comments

The Motorola 68060 and Chip Design: Interview with Lead Designer Joe CI [video]

https://www.youtube.com/watch?v=1takr2k7Yfo
1•cyrc•15m ago•0 comments

Writing for Humans and Machines

https://hiba.fyi/essays/writing-for-humans-and-machines
1•haxzie•16m ago•0 comments

China Eliminates Tariffs on Africa to Outmaneuver U.S.

https://www.wsj.com/world/africa/china-africa-tariffs-664f62eb
1•JumpCrisscross•18m ago•0 comments

Couple of Emacs Hacks (2003)

https://web.archive.org/web/20160303225220/http://osdir.com/ml/lisp.cmucl.devel/2003-08/msg00302....
1•susam•18m ago•0 comments

Assertables v10: Rust crate for assert test macros on Codeberg & GitHub & GitLab

https://github.com/assertables/assertables-rust-crate
1•jph•18m ago•0 comments

ExtendDB: An open source DynamoDB-compatible adapter with pluggable storage

https://aws.amazon.com/blogs/database/introducing-extenddb-an-open-source-dynamodb-compatible-ada...
2•shenli3514•19m ago•0 comments

Announcement: We've Updated the Rules, and April Is Finally Over

https://old.reddit.com/r/programming/comments/1tlh5aj/announcement_weve_updated_the_rules_and_apr...
1•birdculture•19m ago•0 comments

Decision Precision

https://allenc.com/decision-precision/
1•allenc•19m ago•0 comments

Building a Search Engine from Scratch – 1

https://unconventionalthinker.vercel.app/builiding_a_search_engine_part1.html
2•unconventional•20m ago•0 comments

Reality has a surprising amount of detail (2017)

http://johnsalvatier.org/blog/2017/reality-has-a-surprising-amount-of-detail
1•downbad_•21m ago•0 comments

Poor's Man Opaque Types

https://lungarellaraffaele.dev/writings/brand-types/
1•lung42•23m ago•0 comments

C as an Intermediate Language (2012)

https://yosefk.com/blog/c-as-an-intermediate-language.html
1•downbad_•23m ago•0 comments

Childhood and Education #19: Letting Kids Be Kids #2

https://thezvi.substack.com/p/childhood-and-education-19-letting
1•paulpauper•25m ago•0 comments

Stable Code from Stable Problems

https://ieeexplore.ieee.org/document/11527162
1•gfairbanks•25m ago•1 comments

'The vibes are young male vibes': Why prediction markets attract a certain type

https://www.bbc.com/news/articles/c93xv27kpwxo
1•paulpauper•28m ago•0 comments

From Open Source Software to Open Source Strategy

https://p3institute.substack.com/p/from-open-source-software-to-open
1•momentmaker•30m ago•0 comments

Google Is Paving a New Information Superhighway

https://warnercrocker.com/2026/05/23/google-is-paving-a-new-information-superhighway/
1•cdrnsf•31m ago•0 comments