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

"HTMLSectionSplitter" is not accessible in latest langchain-text-splitters package #20644

Open
5 tasks done
HaoqingCai opened this issue Apr 19, 2024 · 9 comments
Open
5 tasks done
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature Ɑ: text splitters Related to text splitters package

Comments

@HaoqingCai
Copy link

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

pip install langchain
pip install langchain-text-splitters

from langchain_text_splitters import HTMLSectionSplitter

Error Message and Stack Trace (if applicable)

No response

Description

Since i noticed that "HTMLSectionSplitter" was released in v0.1.15, i upgraded/reinstalled "Langchain" & "langchain-text-splitters" for introducing this new splitter into my project followed by the instruction in here. But the new splitter is not found in new package. I checked the latest package of "langchain-text-splitters" in pypi, the files in package are not the latest version in github.

init file in downloaded pypi package:
Snipaste_2024-04-19_14-27-59

same file in github:
Snipaste_2024-04-19_14-29-14

How can i use this splitter now?

System Info

platform: windows 10
python version: 3.12.3

@dosubot dosubot bot added Ɑ: text splitters Related to text splitters package 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Apr 19, 2024
@qingdengyue
Copy link

try
pip install -qU langchain-text-splitters

@HaoqingCai
Copy link
Author

try pip install -qU langchain-text-splitters

I've tried it. Still not working.

@prat1kdhaka1
Copy link

I am also facing the same issue.

@chosh0615
Copy link
Contributor

I'm having the same issue. Is there a plan for fix?

@HaoqingCai
Copy link
Author

is there any update for this issue?

@ivanmujica
Copy link

Same issue here. Any update for this issue?

@arinbjornk
Copy link

Also facing this issue.

Was it removed by accident?

@jasonkurohara
Copy link

Having the same issue. Any way we can get around this?

@littlebox692
Copy link

any update?

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 Ɑ: text splitters Related to text splitters package
Projects
None yet
Development

No branches or pull requests

8 participants