Definition

The valid URL test allows you to check if a specified column contains only valid URLs.

Taxonomy

  • Category: Integrity.
  • Task types: LLM.
  • Availability: and .

Why it matters

  • If the LLM generates URLs as part of its response, it is important to ensure that they are valid, and not hallucinated.

Test configuration examples

If you are writing a tests.json, here are a few valid configurations for the character length test: