Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions hugo/content/en/api/v2/agent-observability/examples.json

Large diffs are not rendered by default.

36 changes: 26 additions & 10 deletions hugo/data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71611,16 +71611,18 @@ components:
- attributes
type: object
LLMObsCustomEvalConfigEvalScope:
description: Scope at which to evaluate spans.
description: Scope at which to evaluate spans. `trace_fan_out` requires `llm_judge_config.target_query`.
enum:
- span
- trace
- trace_fan_out
- session
example: "span"
type: string
x-enum-varnames:
- SPAN
- TRACE
- TRACE_FAN_OUT
- SESSION
LLMObsCustomEvalConfigInferenceParams:
description: LLM inference parameters for a custom evaluator.
Expand Down Expand Up @@ -71657,14 +71659,20 @@ components:
type: number
type: object
LLMObsCustomEvalConfigIntegrationProvider:
description: Name of the LLM integration provider.
description: >-
Name of the LLM integration provider. Use `deterministic` for a code evaluator, which runs `llm_judge_config.user_specified_json_post_processing_function` instead of calling an LLM. `insights_sponsored` is returned for evaluators that Datadog manages and cannot be set.
enum:
- openai
- amazon-bedrock
- amazon_bedrock
- anthropic
- azure-openai
- vertex-ai
- llm-proxy
- azure_openai
- vertex_ai
- llmproxy
- deterministic
- typesafe
- datadog
- datadog_ai_gateway
- insights_sponsored
example: "openai"
type: string
x-enum-varnames:
Expand All @@ -71674,6 +71682,11 @@ components:
- AZURE_OPENAI
- VERTEX_AI
- LLM_PROXY
- DETERMINISTIC
- TYPESAFE
- DATADOG
- DATADOG_AI_GATEWAY
- INSIGHTS_SPONSORED
LLMObsCustomEvalConfigLLMJudgeConfig:
description: LLM judge configuration for a custom evaluator.
properties:
Expand All @@ -71698,13 +71711,13 @@ components:
type: boolean
output_schema:
additionalProperties: {}
description: JSON schema describing the expected output format of the LLM judge.
description: JSON schema describing the expected output format of the LLM judge. Omit for a `deterministic` evaluator.
nullable: true
type: object
parsing_type:
$ref: "#/components/schemas/LLMObsCustomEvalConfigParsingType"
prompt_template:
description: List of messages forming the LLM judge prompt template.
description: List of messages forming the LLM judge prompt template. Omit for a `deterministic` evaluator.
items:
$ref: "#/components/schemas/LLMObsCustomEvalConfigPromptMessage"
type: array
Expand All @@ -71714,7 +71727,8 @@ components:
nullable: true
type: string
user_specified_json_post_processing_function:
description: User-provided function applied to post-process the JSON output of the LLM judge.
description: >-
User-provided JavaScript function applied to post-process the JSON output of the LLM judge. For a `deterministic` evaluator it is the evaluator itself: it receives the evaluated span (span scope), `{spans}` (trace scope), or `{session_id, traces}` (session scope), and its return value sets the result. A boolean, number, string or object becomes a boolean, score, categorical or JSON metric; `null` skips the evaluation; and `{value, assessment, reasoning, metadata}` also sets pass or fail, reasoning, and metadata.
nullable: true
type: string
required:
Expand All @@ -71732,7 +71746,7 @@ components:
integration_provider:
$ref: "#/components/schemas/LLMObsCustomEvalConfigIntegrationProvider"
model_name:
description: Name of the LLM model.
description: Name of the LLM model. Use `javascript` for a `deterministic` evaluator.
example: "gpt-4o"
type: string
vertex_ai:
Expand All @@ -71755,12 +71769,14 @@ components:
- structured_output
- json
- keyword_search
- typed_questions
example: "structured_output"
type: string
x-enum-varnames:
- STRUCTURED_OUTPUT
- JSON
- KEYWORD_SEARCH
- TYPED_QUESTIONS
LLMObsCustomEvalConfigPromptContent:
description: A content block within a prompt message.
properties:
Expand Down
9 changes: 9 additions & 0 deletions hugo/data/changelog/agent-observability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ entries:
- GetLLMObsAnnotatedInteractions
- GetLLMObsAnnotatedInteractionsByTraceIDs
title: Remove discriminator and anyOf usage
- change_type: modified
date: '2026-10-30'
link: https://github.com/DataDog/documentation/pull/41240
operations:
- GetLLMObsCustomEvalConfig
- ListLLMObsCustomEvalConfigs
- UpdateLLMObsCustomEvalConfig
title: Fix LLM Obs custom evaluator provider names and add deterministic
provider
Loading