前提条件
以下示例需要scrapegraph-py 库。
SGAI_API_KEY 环境变量:
示例
下面的智能体使用ScrapeGraphTools 通过 smartscraper 功能从网页中提取特定信息。
Toolkit Functions
Toolkit 参数
这些参数将传递给ScrapeGraphTools 构造函数。
Developer Resources
- 查看 Tools Source
- 查看 Cookbook Example
Agno ScrapeGraphTools 使智能体能够从网页中提取结构化数据,并以 markdown 格式提供给 LLM。
scrapegraph-py 库。
SGAI_API_KEY 环境变量:
ScrapeGraphTools 通过 smartscraper 功能从网页中提取特定信息。
ScrapeGraphTools 构造函数。