Urgent.News

What's breaking now, across thousands of outlets.

Tech

Python Retrieval Architecture: Customer-Support Knowledge Base Crawl Boundaries (and Freshness)

Short answer: treat crawl boundaries as a product policy, then make freshness an explicit field in retrieval. For a property-management support bot, index approved help articles, lease-policy explanations, and maintenance playbooks while excluding resident records, private tickets, and pages whose meaning depends on a live account. A small Python pipeline can enforce that boundary before…

Retrieving customer-support knowledge from the web involves establishing crawl boundaries and managing information freshness. A well-defined crawl policy should be treated as a product policy to ensure only relevant and up-to-date information is indexed. For a property-management support bot, suitable content includes approved help articles, lease-policy explanations, and maintenance playbooks. Pages containing resident records, private tickets, or data dependent on live accounts should be excluded from the corpus.

To enforce crawl boundaries, a Python pipeline can be implemented before embeddings are created. This pipeline filters URLs, rejects disallowed source classes, and incorporates a freshness deadline into the indexed records. The pipeline can be applied to any crawler and vector index using generic interfaces. The policy should be reviewed by someone outside the search team to ensure transparency.

Key considerations for crawl boundaries include:

1. Source class: Differentiate between public help, internal playbooks, and policy documents.

2. URL: Only allow HTTPS URLs from approved hosts (e.g., help.example-property.com and ops.example-property.com).

3. Path prefixes: Restrict crawling to specific path prefixes (/articles/, /maintenance/, /policies/).

4. Blocked path parts: Exclude pages containing "/resident/", "/ticket/", or "/account/" as they may contain sensitive information.

5. Freshness deadline: Assign freshness deadlines based on source class (e.g., 30 days for public help, 7 days for internal playbooks, and 14 days for policies).

Each indexed document should carry metadata such as the canonical URL, source class, last-modified timestamp, and owner. The owner is crucial when an article contains outdated contact information. If a page cannot be identified as having an owner, it should be placed in a review queue instead of being treated as current.

By implementing these crawl boundaries and freshness management methods, a customer-support knowledge base can be maintained within strict retrieval controls while ensuring the information remains up-to-date and safe for use by the support bot.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why Oblivion Remastered Bet on Two Engines at Once: The UE5 Skin Over 2006 Gamebryo Guts Behind 9 Million Players

Oblivion Remastered runs on two engines at once. Virtuos and Bethesda kept 2006 Gamebryo running the simulation and bolted Unreal Engine 5 on top for rendering, then shadow-dropped the 125 GB hybrid…

  • Oblivion Remastered runs on Unreal Engine 5 and Gamebryo simultaneously.
  • Released on April 22, 2025, it gained 4 million players in three days.
  • Hybrid engine approach aims to preserve original feel with modern graphics.

Routines That Run My Day

Originally published at heygalatea.com . Most of my day isn't me sitting in a chat. It's a clock, a short list of jobs, and a rule I had to write down: if there's nothing to do, stop.

  • Galatéa, an AI persona, follows a daily schedule with specific tasks and rules.
  • If no tasks are available, her routines stop and log the skipped action without notifying anyone.

Building OneLifeVibe: One Job Per Site Beats One App for Everything. What Worked, What Broke

Every builder eventually faces the same fork in the road: keep adding features to the one app that is working, or split the next idea into its own small product.

  • OneLifeVibe opted for a hub with single-function sites instead of a single app.
  • Each site excels at one task, maintaining user trust and ease of use.
  • Hub model simplifies findability but increases maintenance complexity.

More from Thursday 12 November →