This guide provides a quick overview for getting started with BeautifulSoup4 document loader. For detailed documentation of all BeautifulSoup4 features and configurations head to the API reference.Documentation Index
Fetch the complete documentation index at: https://nvd-54.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
概述
集成详情
| Class | Package | Local | Serializable | JS support |
|---|---|---|---|---|
BSHTMLLoader | langchain-community | ✅ | ❌ | ❌ |
加载器特性
| Source | Document Lazy Loading | Native Async Support |
|---|---|---|
BSHTMLLoader | ✅ | ❌ |
设置
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 等工具以获取实时答案。

