Skip to main content

evaluator_customs

Creates, updates, deletes, gets or lists an evaluator_customs resource.

Overview

Nameevaluator_customs
TypeResource
Iddatadog.llm_observability.evaluator_customs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringUnique name identifier of the evaluator configuration. (example: my-custom-evaluator)
attributesobjectAttributes of a custom Agent Observability evaluator configuration.
typestringType of the custom Agent Observability evaluator configuration resource. (evaluator_config) (example: evaluator_config)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_llmobs_custom_eval_configselecteval_nameRetrieve a custom Agent Observability evaluator configuration by its name.
list_llmobs_custom_eval_configsselectList all custom Agent Observability evaluator configurations for the organization.
update_llmobs_custom_eval_configreplaceeval_name, dataCreate or update a custom Agent Observability evaluator configuration by its name.
delete_llmobs_custom_eval_configdeleteeval_nameDelete a custom Agent Observability evaluator configuration by its name.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
eval_namestringThe name of the custom Agent Observability evaluator configuration. (example: my-custom-evaluator)
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

SELECT examples

Retrieve a custom Agent Observability evaluator configuration by its name.

SELECT
id,
attributes,
type
FROM datadog.llm_observability.evaluator_customs
WHERE eval_name = '{{ eval_name }}' -- required
;

REPLACE examples

Create or update a custom Agent Observability evaluator configuration by its name.

REPLACE datadog.llm_observability.evaluator_customs
SET
data = '{{ data }}'
WHERE
eval_name = '{{ eval_name }}' --required
AND data = '{{ data }}' --required;

DELETE examples

Delete a custom Agent Observability evaluator configuration by its name.

DELETE FROM datadog.llm_observability.evaluator_customs
WHERE eval_name = '{{ eval_name }}' --required
;