You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @rokn! I'm Dosu, a friendly bot here to lend a hand with bugs, answer your questions, and guide you on your contributor journey while a human maintainer gets back to you. Nice to meet you! 😃 Let's get to work on this issue.
However, it's important to note that bs4 (beautifulsoup4) is not used in the WebBaseLoader class in the LangChain codebase. The context provided does not mention or show any usage of a WebBaseLoader class. The code provided is for a class named BS4HTMLParser which does use bs4 to parse HTML files. You can find the relevant code here.
As for the bs4 dependency, it is listed as an optional dependency in the pyproject.toml file of LangChain. Here is the relevant line from the pyproject.toml file:
This line indicates that beautifulsoup4, which is imported as bs4 in Python, is an optional dependency for LangChain. If WebBaseLoader requires bs4, then it would be appropriate to include bs4 as a required dependency in the Quickstart documentation.
I hope this clarifies the situation. If you have further questions or need additional clarification, please let me know.
Issue with current documentation:
When running the
WebBaseLoader
it requiresbs4
installed which is not mentioned in the docs.https://github.com/langchain-ai/langchain/blob/21a153894917e530cbe82a778be6f9cf10c9ae5f/docs/docs/get_started/quickstart.mdx#L185C1-L194C1
Idea or request for content:
I think it should be mentioned just like
faiss
a few lines below.The text was updated successfully, but these errors were encountered: