LLMsTxtReader creates a document for an llms.txt overview, then fetches up to max_urls linked pages.
llms_txt_reader.py
Run the Agent
1
Set up your virtual environment
2
Install dependencies
3
Export the API key
4
Run PgVector
5
Run the agent
Reader Parameters
LLMsTxtReader also accepts the base Reader constructor parameters.
allowed_hosts applies to the index, linked pages, and redirects. LLMsTxtReader.async_read() fetches the linked pages concurrently.