[GH-ISSUE #3208] [Question] What is the size limitation when embedding document #2062

Closed
opened 2026-02-22 18:27:59 -05:00 by yindo · 1 comment
Owner

Originally created by @ysun on GitHub (Feb 14, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3208

Sometimes, when I tried to upload a large document, I got the error "addDocumentToNamespace Cannot create a string longer than 0x1fffffe8 characters"
May I know what the size limitation for embedding docs? And Can I change the setting ?

Appreciate it!

Originally created by @ysun on GitHub (Feb 14, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3208 Sometimes, when I tried to upload a large document, I got the error "addDocumentToNamespace Cannot create a string longer than 0x1fffffe8 characters" May I know what the size limitation for embedding docs? And Can I change the setting ? Appreciate it!
yindo closed this issue 2026-02-22 18:27:59 -05:00
Author
Owner

@timothycarambat commented on GitHub (Feb 14, 2025):

addDocumentToNamespace Cannot create a string longer than 0x1fffffe8 characters

The string limitation is dependent on your embedder model. Have you modified the "Chunk length" on the text splitter settings? What embedding model are you using in this use case

Closing since no bug to find yet, but please continue responding so we can see if there is something to solve here on our side.

@timothycarambat commented on GitHub (Feb 14, 2025): > addDocumentToNamespace Cannot create a string longer than 0x1fffffe8 characters The string limitation is dependent on your embedder model. Have you modified the "Chunk length" on the text splitter settings? What embedding model are you using in this use case Closing since no bug to find yet, but please continue responding so we can see if there is something to solve here on our side.
yindo changed title from [Question] What is the size limitation when embedding document to [GH-ISSUE #3208] [Question] What is the size limitation when embedding document 2026-06-05 14:44:19 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2062