Live data from Hacker News

Launch HN: Chonkie (YC X25) – Open-Source Library for Advanced Chunking

news.ycombinator.com

21–30 of 43 posts

Re: Launch HN: Chonkie (YC X25) – Open-Source Library for Advanced Chunking

#21

Looks great! I had looked at Chonkie a few months back, but didn't need it in our pipelines. I was just writing a POC for an agentic chunker this week to handle various formatting and chunking requirements. I'll give Chonkie a shot!

Awesome! Keep us posted :)

Re: Launch HN: Chonkie (YC X25) – Open-Source Library for Advanced Chunking

#22
We (https://www.definite.app/) have a use case I'd imagine is common for people building agents.

When a user works with our agent, they may end up with a large conversation thread (e.g. 200k+ tokens) with many SQL snippets, query results and database metadata (e.g. table and column info).

For example, if they ask "show me any companies that were heavily engaged at one point, but I haven't talked to in the last 90 days". This will pull in their schema (e.g. Hubspot), run a bunch of SQL, show them results, etc.

I want to allow the agent to search previous threads for answers so they don't need to have the conversation again, but chunking up the existing thread is non-trivial (e.g. you don't want to separate the question and answer, you may want to remove errors while retaining the correction, etc.).

Do you have any plans to support "auto chunking" for AI message[0] threads?

0 - e.g. https://platform.openai.com/docs/api-reference/messages/crea...

Re: Launch HN: Chonkie (YC X25) – Open-Source Library for Advanced Chunking

#23

We ( https://www.definite.app/ ) have a use case I'd imagine is common for people building agents. When a user works with our agent, they may end up with a large conversation thread (e.g. 200k+ tokens) with many SQL snippets, query results and database metadata (e.g. table and column info). For example, if they ask "show me any companies that were heavily engaged at one point, but I haven't talked to in the last 90 d…

> you may want to remove errors while retaining the correction

Double clicking on this, are these messages you’d want to drop from memory because they’re not part of the actual content (e.g. execution errors or warnings)? That kind of cleanup is something Chonkie can help with as a pre-processing step.

If you can share an example structure of your message threads, I can give more specific guidance. We've seen folks use Chonkie to chunk and embed AI chat threads — treating the resulting vector store as long-term memory. That way, you can RAG over past threads to recover context without redoing the conversation.

P.S. If HN isn’t ideal for going back and forth, feel free to send me an email at shreyash@chonkie.ai.

Re: Launch HN: Chonkie (YC X25) – Open-Source Library for Advanced Chunking

#26
Congratulations on the launch! would be awesome to see support for MongoDB Atlas as one of the vector stores and Voyage AI as an embedding provider if you are interested. I can imagine quite a few customers that would prefer a lightweight interface for chunking- lmk how I can help make that happen from the Mongo side!

Re: Launch HN: Chonkie (YC X25) – Open-Source Library for Advanced Chunking

#27

Very cool! What's the story for chunking PDFs? We've been using Marker and handling markdown->chunks manually.

Pretty much what you described. Convert the PDF to Markdown, join content across pages so that its all one string, then chunk it. Our evals show this approach works best.

Re: Launch HN: Chonkie (YC X25) – Open-Source Library for Advanced Chunking

#29
post #23

We ( https://www.definite.app/ ) have a use case I'd imagine is common for people building agents. When a user works with our agent, they may end up with a large conversation thread (e.g. 200k+ tokens) with many SQL snippets, query results and database metadata (e.g. table and column info). For example, if they ask "show me any companies that were heavily engaged at one point, but I haven't talked to in the last 90 d…

> you may want to remove errors while retaining the correction Double clicking on this, are these messages you’d want to drop from memory because they’re not part of the actual content (e.g. execution errors or warnings)? That kind of cleanup is something Chonkie can help with as a pre-processing step. If you can share an example structure of your message threads, I can give more specific guidance. We've seen folks u…

> We've seen folks use Chonkie to chunk and embed AI chat threads

yep, that's what we're looking for. We'll give it a shot!

I think it's worth creating a guide for this use case. Seems like something many people would want to do and the input should be very similar across your users.

Post reply on HN