Text Splitting / Chunking for Embedding #17
-
Langchain Python / Js (and even rb, to some extent), have the concept (and facilities) to split / chunk / overlap content before embedding. Does RubyLLM have support for this, or do we need to roll our own? |
Beta Was this translation helpful? Give feedback.
Answered by
crmne
Mar 15, 2025
Replies: 1 comment
-
Hi @mikemanyoung! RubyLLM does not support for text splitting, by design. I embrace the UNIX philosophy of doing one thing well: RubyLLM is a library to talk with LLMs. There are plenty of fine libraries and techniques to do chunking for embedding. I recommend you check them out! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
crmne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mikemanyoung! RubyLLM does not support for text splitting, by design.
I embrace the UNIX philosophy of doing one thing well: RubyLLM is a library to talk with LLMs.
There are plenty of fine libraries and techniques to do chunking for embedding. I recommend you check them out!