frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: What's a good format to submit CSV data for LLMs?

2•JimsonYang•3h ago
I need to submit like 1000 rows of data to an llm so I can ask it for trends within the data. If I use json, I check gpt tokenizer and thats like 40 tokens per row(cuz headers were being referenced everytime leading to inefficiency). Meaning 40k input, which definitely would put me in context rot(hallucination) territory. And I heard using csv was very inaccurate. Any suggetions

Comments

eimrine•3h ago
you can use good old algorythms to search your special trends. just ask LLM how to code them. any algo you might need is somewhere inside of Donald Knuth's books.
JimsonYang•2h ago
ty
mierz00•1h ago
We analyse thousands of lines from a csv using an LLM. The only thing that worked for us was to send each individual line and analyse it one by one.

I’m not sure if that would work in your use case, but you could classify each line into a value using an LLM then hard code the trends you are looking for.

For example if you’re analysing something like support tickets. Use an LLM to classify the sentiment, and you can plot the sentiment on a graph and see if it’s trending up or down.

Ask HN: What's the current best local/open speech-to-speech setup?

18•dsrtslnd23•12h ago•3 comments

Ask HN: Seeeking help to reverse engineer a PCB

8•Dlg001•16h ago•5 comments

Ask HN: Do you "micro-manage" your agents?

6•xinbenlv•3h ago•4 comments

Ask HN: Why don't winter gloves have mechanical fingers?

2•amichail•1h ago•7 comments

Ask HN: Where is society heading, is there a plan for a jobless future?

4•evo_9•6h ago•4 comments

Dismantling dark patterns using TDD via discovery and injunctions

4•marc_litchfield•3h ago•1 comments

Ask HN: Do B2B deals stall more from "org blindness" than product fit?

5•Tanjim•4h ago•4 comments

Ask HN: What's a good format to submit CSV data for LLMs?

2•JimsonYang•3h ago•3 comments

Tell HN: 2 years building a kids audio app as a solo dev – lessons learned

135•oliverjanssen•2d ago•75 comments

Ask HN: Will agentic AI grow to handle technology leadership responsibilities?

4•gengstrand•4h ago•0 comments

The Cognitive Cockpit: Why I moved my data to a 1-bit e-ink display

3•jerr12939•58m ago•1 comments

Ask HN: Do you have any evidence that agentic coding works?

446•terabytest•3d ago•449 comments

Ask HN: LLMs for new job categories?

4•aavci•6h ago•2 comments

AI hallucinate. Do you ever double check the output?

7•jackota•7h ago•11 comments

Locked out of my GCP account for 3 days, still charged, can't redirect domain

8•lifeoflee•11h ago•2 comments

Working on reducing wasted distribution effort before publishing posts

2•ryujii•5h ago•0 comments

Tell HN: Cloudflare's D1 service degraded since 2 days

3•iowahansen•6h ago•2 comments

Ask HN: Does DDG no longer honor "site:" prefix?

19•everybodyknows•21h ago•6 comments

Ask HN: Room left for the "industrial" systems engineer in a post-cloud world?

2•infraphysics•7h ago•0 comments

Ask HN: Have you seen your Palantir file?

13•roschdal•1h ago•4 comments

Ask HN: Why are so many rolling out their own AI/LLM agent sandboxing solution?

30•ATechGuy•2d ago•13 comments

Ask HN: How are you handling non-probabilistic security for LLM agents?

2•amjadfatmi1•8h ago•4 comments

Ask HN: Best practice securing secrets on local machines working with agents?

8•xinbenlv•1d ago•11 comments

Ask HN: COBOL devs, how are AI coding affecting your work?

168•zkid18•4d ago•183 comments

Ask HN: How realistically far are we from AGI?

2•HipstaJules•9h ago•5 comments

What software businesses worked in the early Internet? Can they work again?

2•tsingy•9h ago•0 comments

Ask HN: Has the macOS design become too iOS-like?

4•Austin_Conlon•3h ago•3 comments

Tell HN: Cursor agent force-pushed despite explicit "ask for permission" rules

6•xinbenlv•17h ago•7 comments

Ask HN: Is Claude Down for You?

26•philip1209•1d ago•19 comments

Ask HN: How do you authorize AI agent actions in production?

5•naolbeyene•1d ago•4 comments