evidently icon indicating copy to clipboard operation
evidently copied to clipboard

Add a new `ContainsLink` descriptor to Evidently

Open elenasamuylova opened this issue 5 months ago • 0 comments

About Hacktoberfest contributions: https://github.com/evidentlyai/evidently/wiki/Hacktoberfest-2024

Description:

Add a new ContainsLink descriptor that checks if the text contains any valid hyperlinks. It returns True if at least one valid URL is detected in the text and False if no links are found.

This can be useful for tasks such as checking that LLM-generated response includes a reference link when it is expected.

elenasamuylova avatar Sep 23 '24 19:09 elenasamuylova