docs: add HuggingFace tokenizer-based token text splitter for RAG chunking#1219
Draft
kela4 wants to merge 2 commits intoopen-webui:devfrom
Draft
docs: add HuggingFace tokenizer-based token text splitter for RAG chunking#1219kela4 wants to merge 2 commits intoopen-webui:devfrom
kela4 wants to merge 2 commits intoopen-webui:devfrom
Conversation
ℹ️ Documentation PR Guidelines👋 Welcome! This is an automated message posted on all new documentation PRs to help guide our contributors. Just because this comment appeared doesn't mean you have done anything wrong! Please ensure you're using the correct branches: Target branch (where you're merging TO):
Source branch (where you're merging FROM):
If your docs PR depends on a pending PR in open-webui/open-webui:
Please adjust your PR target branch, source branch, and/or draft status accordingly if needed. |
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is related documentation for this pending PR: open-webui/open-webui#24139
Adds documentation for the token_transformers text splitter mode.
Checklist
Changes
RAG_TEXT_SPLITTER, and documents three newrelated env vars —
RAG_TOKENIZER_MODEL,RAG_TOKENIZER_MODEL_AUTO_UPDATEandRAG_TOKENIZER_MODEL_TRUST_REMOTE_CODE.Token/Transformers), with guidance on configuring the tokenizer model for local vs. external embedding APIs and a tip
on setting chunk size relative to the model's maximum sequence length.