@@ -52338,6 +52338,10 @@ components:
5233852338 LLMObsCustomEvalConfigBedrockOptions:
5233952339 description: AWS Bedrock-specific options for LLM provider configuration.
5234052340 properties:
52341+ inference_profile:
52342+ description: Bedrock inference profile identifier, such as an application inference profile ARN.
52343+ example: "arn:aws:bedrock:us-east-1:123456789012:application-inference-profile/abc123"
52344+ type: string
5234152345 region:
5234252346 description: AWS region for Bedrock.
5234352347 example: "us-east-1"
@@ -52428,6 +52432,11 @@ components:
5242852432 properties:
5242952433 assessment_criteria:
5243052434 $ref: "#/components/schemas/LLMObsCustomEvalConfigAssessmentCriteria"
52435+ context_query:
52436+ description: Query used to extract additional context for the evaluation.
52437+ example: "@input.context"
52438+ nullable: true
52439+ type: string
5243152440 inference_params:
5243252441 $ref: "#/components/schemas/LLMObsCustomEvalConfigInferenceParams"
5243352442 last_used_library_prompt_template_name:
@@ -52452,6 +52461,15 @@ components:
5245252461 items:
5245352462 $ref: "#/components/schemas/LLMObsCustomEvalConfigPromptMessage"
5245452463 type: array
52464+ target_query:
52465+ description: Query used to extract the target value to evaluate.
52466+ example: "@output.value"
52467+ nullable: true
52468+ type: string
52469+ user_specified_json_post_processing_function:
52470+ description: User-provided function applied to post-process the JSON output of the LLM judge.
52471+ nullable: true
52472+ type: string
5245552473 required:
5245652474 - inference_params
5245752475 type: object
@@ -52473,16 +52491,29 @@ components:
5247352491 vertex_ai:
5247452492 $ref: "#/components/schemas/LLMObsCustomEvalConfigVertexAIOptions"
5247552493 type: object
52494+ LLMObsCustomEvalConfigListResponse:
52495+ description: Response containing a list of custom LLM Observability evaluator configurations.
52496+ properties:
52497+ data:
52498+ description: List of custom evaluator configuration data objects.
52499+ items:
52500+ $ref: "#/components/schemas/LLMObsCustomEvalConfigData"
52501+ type: array
52502+ required:
52503+ - data
52504+ type: object
5247652505 LLMObsCustomEvalConfigParsingType:
5247752506 description: Output parsing type for a custom LLM judge evaluator.
5247852507 enum:
5247952508 - structured_output
5248052509 - json
52510+ - keyword_search
5248152511 example: "structured_output"
5248252512 type: string
5248352513 x-enum-varnames:
5248452514 - STRUCTURED_OUTPUT
5248552515 - JSON
52516+ - KEYWORD_SEARCH
5248652517 LLMObsCustomEvalConfigPromptContent:
5248752518 description: A content block within a prompt message.
5248852519 properties:
@@ -52589,6 +52620,13 @@ components:
5258952620 eval_scope:
5259052621 $ref: "#/components/schemas/LLMObsCustomEvalConfigEvalScope"
5259152622 nullable: true
52623+ experiment_project_ids:
52624+ description: Experiment project IDs this evaluator is scoped to.
52625+ items:
52626+ description: An experiment project ID.
52627+ format: uuid
52628+ type: string
52629+ type: array
5259252630 filter:
5259352631 description: Filter expression to select which spans to evaluate.
5259452632 example: "@service:my-service"
@@ -116454,6 +116492,67 @@ paths:
116454116492 x-unstable: |-
116455116493 This endpoint is in Preview and may introduce breaking changes.
116456116494 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
116495+ /api/unstable/llm-obs/config/evaluators/custom:
116496+ get:
116497+ description: List all custom LLM Observability evaluator configurations for the organization.
116498+ operationId: ListLLMObsCustomEvalConfigs
116499+ responses:
116500+ "200":
116501+ content:
116502+ application/json:
116503+ examples:
116504+ default:
116505+ value:
116506+ data:
116507+ - attributes:
116508+ category: "Custom"
116509+ created_at: "2024-01-15T10:30:00Z"
116510+ created_by:
116511+ email: "user@example.com"
116512+ eval_name: "my-custom-evaluator"
116513+ last_updated_by:
116514+ email: "user@example.com"
116515+ llm_judge_config:
116516+ inference_params:
116517+ max_tokens: 1024
116518+ temperature: 0.7
116519+ parsing_type: "structured_output"
116520+ llm_provider:
116521+ integration_provider: "openai"
116522+ model_name: "gpt-4o"
116523+ target:
116524+ application_name: "my-llm-app"
116525+ enabled: true
116526+ sampling_percentage: 50.0
116527+ updated_at: "2024-01-15T10:30:00Z"
116528+ id: "my-custom-evaluator"
116529+ type: "evaluator_config"
116530+ schema:
116531+ $ref: "#/components/schemas/LLMObsCustomEvalConfigListResponse"
116532+ description: OK
116533+ "401":
116534+ content:
116535+ application/json:
116536+ schema:
116537+ $ref: "#/components/schemas/JSONAPIErrorResponse"
116538+ description: Unauthorized
116539+ "403":
116540+ content:
116541+ application/json:
116542+ schema:
116543+ $ref: "#/components/schemas/JSONAPIErrorResponse"
116544+ description: Forbidden
116545+ "429":
116546+ $ref: "#/components/responses/TooManyRequestsResponse"
116547+ security:
116548+ - apiKeyAuth: []
116549+ appKeyAuth: []
116550+ summary: List custom evaluator configurations
116551+ tags:
116552+ - LLM Observability
116553+ x-unstable: |-
116554+ **Note**: This endpoint is in preview and is subject to change.
116555+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
116457116556 /api/unstable/llm-obs/config/evaluators/custom/{eval_name}:
116458116557 delete:
116459116558 description: Delete a custom LLM Observability evaluator configuration by its name.
0 commit comments