[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
Example Code
In the __init__ file in langchain_text_splitters, the ExperimentalMarkdownSyntaxTextSplitter should be added like so:
from langchain_text_splitters.markdown import (
ExperimentalMarkdownSyntaxTextSplitter,
HeaderType,
LineType,
MarkdownHeaderTextSplitter,
MarkdownTextSplitter,
)
Error Message and Stack Trace (if applicable)
from langchain_text_splitters import ExperimentalMarkdownSyntaxTextSplitter
ImportError: cannot import name 'ExperimentalMarkdownSyntaxTextSplitter' from 'langchain_text_splitters'
Description
I'm trying to import ExperimentalMarkdownSyntaxTextSplitter
Checked other resources
Example Code
In the
__init__
file in langchain_text_splitters, the ExperimentalMarkdownSyntaxTextSplitter should be added like so:Error Message and Stack Trace (if applicable)
from langchain_text_splitters import ExperimentalMarkdownSyntaxTextSplitter ImportError: cannot import name 'ExperimentalMarkdownSyntaxTextSplitter' from 'langchain_text_splitters'
Description
I'm trying to import ExperimentalMarkdownSyntaxTextSplitter
System Info
langchain==0.2.16 langchain-community==0.2.16 langchain-core==0.2.38 langchain-openai==0.1.23 langchain-text-splitters==0.2.4 langchainhub==0.1.21
I'm on Linux, Debian
python version 3.11