Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExperimentalMarkdownSyntaxTextSplitter missing in __init__ #26028

Closed
5 tasks done
luc42ei opened this issue Sep 4, 2024 · 2 comments
Closed
5 tasks done

ExperimentalMarkdownSyntaxTextSplitter missing in __init__ #26028

luc42ei opened this issue Sep 4, 2024 · 2 comments
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature

Comments

@luc42ei
Copy link

luc42ei commented Sep 4, 2024

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangChain documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • 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

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

@dosubot dosubot bot added the 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature label Sep 4, 2024
@ZhangShenao
Copy link
Contributor

try to fix it in #26703

efriis added a commit that referenced this issue Sep 20, 2024
…extSplitter` (#26703)

#26028 

Export `ExperimentalMarkdownSyntaxTextSplitter` in __init__

Co-authored-by: Erick Friis <erick@langchain.dev>
Sheepsta300 pushed a commit to Sheepsta300/langchain that referenced this issue Oct 1, 2024
…extSplitter` (langchain-ai#26703)

langchain-ai#26028 

Export `ExperimentalMarkdownSyntaxTextSplitter` in __init__

Co-authored-by: Erick Friis <erick@langchain.dev>
Copy link

dosubot bot commented Dec 20, 2024

Hi, @luc42ei. I'm Dosu, and I'm helping the LangChain team manage their backlog. I'm marking this issue as stale.

Issue Summary:

Next Steps:

  • Please confirm if this issue is still relevant with the latest version of the LangChain repository. If it is, feel free to comment to keep the discussion open.
  • If there are no further updates, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Dec 20, 2024
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2024
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants