TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 obayesshelton22 天前
So, I am hitting limits with the amount of data I am sending to Claude via the API.<p>I am trying to send about 5000 comments but I would love to send more but I am hitting limits of the message size.<p>What are some good design patterns when sending large sets of data to an LLM?<p>I ideally need to send all the data together at it gives context to the overall prompt.

1 comment

curious_curios22 天前
Some approaches we’ve used:<p>- Group the comments by theme, then pass groups to the LLM to summarize&#x2F;deduplicate then pass the outputs of that as context.<p>- RAG where only relevant parts are included in the context.<p>- Use an LLM with a larger context window (like Gemini pro)
评论 #43770234 未加载