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

text_splitters: add request parameters for function HTMLHeaderTextSplitter.split_text… #24178

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

anexplore
Copy link
Contributor

Description:

The split_text_from_url method of HTMLHeaderTextSplitter does not include parameters like timeout when using requests to send a request. Therefore, I suggest adding a kwargs parameter to the function, which can be passed as arguments to requests.get() internally, allowing control over the get request.

Copy link

vercel bot commented Jul 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Jul 15, 2024 4:28pm

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. langchain Related to the langchain package Ɑ: text splitters Related to text splitters package 🤖:improvement Medium size change to existing code to handle new use-cases labels Jul 12, 2024
@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Jul 15, 2024
@ccurme ccurme enabled auto-merge (squash) July 15, 2024 16:28
@ccurme ccurme merged commit d895614 into langchain-ai:master Jul 15, 2024
55 checks passed
@anexplore anexplore deleted the addioparams branch July 16, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:improvement Medium size change to existing code to handle new use-cases langchain Related to the langchain package lgtm PR looks good. Use to confirm that a PR is ready for merging. size:XS This PR changes 0-9 lines, ignoring generated files. Ɑ: text splitters Related to text splitters package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants