Include and exclude pages with URL wildcards
Website sources now accept wildcard patterns, so you can crawl only the sections you want and skip pages that would add noise.
Website sources now accept wildcards. Use them to say which parts of a site the agent should learn from, and which parts it should skip.
How the patterns work
A star stands for any text. A few examples:
https://example.com/help/*includes everything under the help section.https://example.com/blog/*includes every blog post.https://example.com/help/archive/*as an exclude pattern keeps old articles out.
Add patterns to include a section, and add others to exclude parts of it. Anything that matches an exclude pattern is skipped, even if an include pattern also matches.
Add a pattern
- Open the agent and go to Build > Sources.
- Select Add source, then Website.
- Enter the start URL or a sitemap address.
- Add include and exclude patterns, then save.
The source moves from Queued to Training and then Ready. Open it afterwards to read the list of pages that were crawled.
What to exclude
- Account and checkout pages, which hold nothing a customer asks about
- Old announcements and archived articles
- Pages in languages your agent does not answer in
- Search result and tag pages that repeat the same content
Narrow crawls train faster and give cleaner answers. If a source already exists, edit its patterns and retrain it. Auto-retrain keeps it up to date on a schedule.
Read the data sources guide for every website option.
See every update in one place.