Prepare web content for Amazon Bedrock Knowledge Bases with Crawl4AI
AWS•How-to••by Daxeshkumar Patel, Abhishek Shukla and Bhavesh Rathod•AWS Artificial Intelligence Blog
This post shows how to use Crawl4AI, an open source web crawler, as a content preparation layer for Amazon Bedrock Knowledge Bases, handling JavaScript rendering, selective extraction, and custom metadata enrichment before web content reaches an Amazon S3 data source.
Bedrock Knowledge Bases can ingest web pages through a Crawl4AI preparation step that writes Markdown and metadata sidecars to S3 before ingestion.
Who it is for
Architects building RAG on Bedrock Knowledge Bases who need selective extraction or custom metadata for web content that the Bedrock Web Crawler cannot handle.
Key points
The Crawl4AI path is for public pages only; authenticated sites need extra work and a security review.
Sidecar metadata must stay under 10 KB per document.
Chunking strategy is set at data source creation and cannot be changed later.
The sample deploys a scheduled Fargate task; it does not prevent overlapping runs and has no retry or alarm by default.
AI:PDI Technologies describes PDIQ, its internal RAG assistant, which ingests content from web, Confluence, Azure DevOps and SharePoint sources into Aurora PostgreSQL vectors and answers with Amazon Nova Pro.
AI:TP ICAP built ClientIQ, a RAG and text-to-SQL assistant on Amazon Bedrock that answers natural-language questions over Salesforce meeting notes while respecting user permissions.
AI:Octave built a multi-tenant RAG and agent foundation on Bedrock, with per-tenant vector stores, isolated AgentCore sessions and layered Guardrails, powering a Complaint Triage Assistant in production for three months.