Code
examples/concepts/knowledge/readers/web_reader.py
Usage
1
Create a virtual environment
Open the
Terminal and create a python virtual environment.2
Install libraries
3
Set environment variables
4
Run Agent
Params
| Parameter | Type | Default | Description |
|---|---|---|---|
url | str | Required | URL of the website to crawl and read |
max_depth | int | 3 | Maximum depth level for crawling links |
max_links | int | 10 | Maximum number of links to crawl |