Cannot import name 'ExperimentalMarkdownSyntaxTextSplitter' from 'langchain_text_splitters' #30388
Closed
5 tasks done
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Checked other resources
Example Code
The ExperimentalMarkdownSyntaxTextSplitter line in the below python code generated an error:
%pip install -qU langchain-text-splitters
from langchain_text_splitters import MarkdownHeaderTextSplitter
from langchain_text_splitters import ExperimentalMarkdownSyntaxTextSplitter
Error Message and Stack Trace (if applicable)
ImportError: cannot import name 'ExperimentalMarkdownSyntaxTextSplitter' from 'langchain_text_splitters' (/opt/conda/envs/Python-RT24.1/lib/python3.11/site-packages/langchain_text_splitters/init.py)
Description
I'm trying to use the ExperimentalMarkdownSyntaxTextSplitter but get an error when i try to import the package.
System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: