Update libs/text-splitters/langchain_text_splitters/sentence_transformers.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Mason Daugherty 2025-07-30 20:52:15 -04:00 committed by GitHub
parent 9c5290988d
commit ad00a7c4e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ class SentenceTransformersTokenTextSplitter(TextSplitter):
except ImportError:
msg = (
"Could not import transformers python package. "
"This is needed in order to for SentenceTransformersTokenTextSplitter. "
"This is needed in order for SentenceTransformersTokenTextSplitter. "
"Please install it with `pip install transformers`."
)
raise ImportError(msg)