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

Fix typing in WebResearchRetriver #10734

Merged

Conversation

pprados
Copy link
Contributor

@pprados pprados commented Sep 18, 2023

Hello @hwchase17

Issue:
The class WebResearchRetriever accept only RecursiveCharacterTextSplitter, but never uses a specification of this class. I propose to change the type to TextSplitter. Then, the lint can accept all subtypes.

@vercel
Copy link

vercel bot commented Sep 18, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Sep 18, 2023 0:54am

@dosubot dosubot bot added the 🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs label Sep 18, 2023
@pprados pprados force-pushed the pprados/fix_web_research_retriever branch from efef62a to 9cc0fb2 Compare September 18, 2023 12:54
@pprados pprados mentioned this pull request Sep 18, 2023
14 tasks
@baskaryan
Copy link
Collaborator

thanks @pprados!

@baskaryan baskaryan merged commit 39c1c94 into langchain-ai:master Sep 18, 2023
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants