In the context of text processing, validating the presence or absence of specific keywords or patterns is crucial for ensuring that generated content meets desired criteria.
text
.False
if omitted).keyword
is present in the text
.keyword
is not present in the text
.Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description | UI Component |
---|---|---|---|---|
Required Inputs | text | string | The content column to search within. | Column Select |
Configuration Parameters | keyword | string | The keyword to search for in the text . | Text Input |
case_sensitive | bool | Optional: Whether the keyword search should be case-sensitive. | Checkbox |
False
if omitted).keywords
is present in the text
.keywords
are present in the text
.Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description | UI Component |
---|---|---|---|---|
Required Inputs | text | string | The content column to search within. | Column Select |
Configuration Parameters | keywords | list[string] | List of keywords to search for in the text . (Enter as a comma-separated string in UI). | Text Input |
case_sensitive | bool | Optional: Whether the keyword search should be case-sensitive. | Checkbox |
False
if omitted).keywords
are present in the text
.keywords
is missing from the text
.Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description | UI Component |
---|---|---|---|---|
Required Inputs | text | string | The content column to search within. | Column Select |
Configuration Parameters | keywords | list[string] | List of keywords that must all be present in the text . (Enter as a comma-separated string in UI). | Text Input |
case_sensitive | bool | Optional: Whether the keyword search should be case-sensitive. | Checkbox |
False
if omitted).keywords
are present in the text
.keywords
is present in the text
.Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description | UI Component |
---|---|---|---|---|
Required Inputs | text | string | The content column to search within. | Column Select |
Configuration Parameters | keywords | list[string] | List of keywords that should not be present in the text . (Enter as a comma-separated string in UI). | Text Input |
case_sensitive | bool | Optional: Whether the keyword search should be case-sensitive. | Checkbox |
False
if omitted).text
begins with the specified substring
.text
does not begin with the specified substring
.Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description | UI Component |
---|---|---|---|---|
Required Inputs | text | string | The content column to check. | Column Select |
Configuration Parameters | substring | string | The substring to check for at the start of the text . | Text Input |
case_sensitive | bool | Optional: Whether the comparison should be case-sensitive. | Checkbox |
False
if omitted).text
ends with the specified substring
.text
does not end with the specified substring
.Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description | UI Component |
---|---|---|---|---|
Required Inputs | text | string | The content column to check. | Column Select |
Configuration Parameters | substring | string | The substring to check for at the end of the text . | Text Input |
case_sensitive | bool | Optional: Whether the comparison should be case-sensitive. | Checkbox |
False
if omitted).text
is identical to the expected_text
(considering case sensitivity).text
differs from the expected_text
(considering case sensitivity).Click here to learn how to setup evaluation using the Python SDK.
Input Type | Parameter | Type | Description | UI Component |
---|---|---|---|---|
Required Inputs | text | string | The content column to check. | Column Select |
expected_text | string | The column containing the exact string to match against. | Column Select | |
Configuration Parameters | case_sensitive | bool | Optional: Whether the comparison should be case-sensitive. | Checkbox |