Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated 2 years ago
0
Follow
I have a question because I would like
I have a question because I would like
Inactive
0
Follow
At a glance
T
TomPenguin
2 years ago
Β·
I have a question because I would like to do a test implementation using embedding myself.
When indexing, does llamaindex chunk the text data and throw a request to openai's embedding endpoint for the number of chunks?
L
T
3 comments
Share
Open in Discord
L
Logan M
2 years ago
yea, it does batch embedding calls
By default, the batch size is 10
T
TomPenguin
2 years ago
Thank you so much! Super engineer!
I would like to refer to the logic of chunking the text, can you please share a link to your implementation?
L
Logan M
2 years ago
The default text splitter is our sentence splitter, which tries to split while respecting sentence boundaries
Here's the code
https://github.com/jerryjliu/llama_index/blob/9fa866ee883b37c6f1d7c6d9f7923dbe8929f4d2/llama_index/text_splitter/sentence_splitter.py#L124
Add a reply
Sign up and join the conversation on Discord
Join on Discord