概述
集成详情
加载器特性
设置
To access BSHTMLLoader document loader you’ll need to install thelangchain-community integration package and the bs4 Python 包。
凭证
No credentials are needed to use theBSHTMLLoader class.
要启用模型调用的自动追踪,请设置你的 LangSmith API 密钥:
安装
安装 langchain-community and bs4。初始化
现在我们可以实例化模型对象并加载文档:- TODO: Update model instantiation with relevant params.
加载
惰性加载
Adding separator to BS4
我们可以also pass a separator to use when calling get_text on the soupAPI 参考
For detailed documentation of allBSHTMLLoader features and configurations head to the API reference
通过 MCP 将这些文档连接到 Claude、VSCode 等工具以获取实时答案。

