mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-05 09:25:14 +03:00
feat(infra): langchain docs MCP (#33636)
This commit is contained in:
1 parent
df46c82ae2
commit
db7f2db1ae
2 files changed
+9
-1
No files matched your search
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"docs-langchain": {
|
||||
"type": "http",
|
||||
"url": "https://docs.langchain.com/mcp"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -170,7 +170,7 @@ class TextSplitter(BaseDocumentTransformer, ABC):
|
||||
def from_huggingface_tokenizer(
|
||||
cls, tokenizer: PreTrainedTokenizerBase, **kwargs: Any
|
||||
) -> TextSplitter:
|
||||
"""Text splitter that uses HuggingFace tokenizer to count length."""
|
||||
"""Text splitter that uses Hugging Face tokenizer to count length."""
|
||||
if not _HAS_TRANSFORMERS:
|
||||
msg = (
|
||||
"Could not import transformers python package. "
|
||||
|
||||
Reference in new issue
Block a user