Class LLMObsCustomEvalConfigLLMJudgeConfig

java.lang.Object
com.datadog.api.client.v2.model.LLMObsCustomEvalConfigLLMJudgeConfig

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsCustomEvalConfigLLMJudgeConfig extends Object
LLM judge configuration for a custom evaluator.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_ASSESSMENT_CRITERIA

      public static final String JSON_PROPERTY_ASSESSMENT_CRITERIA
      See Also:
    • JSON_PROPERTY_CONTEXT_QUERY

      public static final String JSON_PROPERTY_CONTEXT_QUERY
      See Also:
    • JSON_PROPERTY_INFERENCE_PARAMS

      public static final String JSON_PROPERTY_INFERENCE_PARAMS
      See Also:
    • JSON_PROPERTY_LAST_USED_LIBRARY_PROMPT_TEMPLATE_NAME

      public static final String JSON_PROPERTY_LAST_USED_LIBRARY_PROMPT_TEMPLATE_NAME
      See Also:
    • JSON_PROPERTY_MODIFIED_LIBRARY_PROMPT_TEMPLATE

      public static final String JSON_PROPERTY_MODIFIED_LIBRARY_PROMPT_TEMPLATE
      See Also:
    • JSON_PROPERTY_OUTPUT_SCHEMA

      public static final String JSON_PROPERTY_OUTPUT_SCHEMA
      See Also:
    • JSON_PROPERTY_PARSING_TYPE

      public static final String JSON_PROPERTY_PARSING_TYPE
      See Also:
    • JSON_PROPERTY_PROMPT_TEMPLATE

      public static final String JSON_PROPERTY_PROMPT_TEMPLATE
      See Also:
    • JSON_PROPERTY_TARGET_QUERY

      public static final String JSON_PROPERTY_TARGET_QUERY
      See Also:
    • JSON_PROPERTY_USER_SPECIFIED_JSON_POST_PROCESSING_FUNCTION

      public static final String JSON_PROPERTY_USER_SPECIFIED_JSON_POST_PROCESSING_FUNCTION
      See Also:
  • Constructor Details

    • LLMObsCustomEvalConfigLLMJudgeConfig

      public LLMObsCustomEvalConfigLLMJudgeConfig()
    • LLMObsCustomEvalConfigLLMJudgeConfig

      public LLMObsCustomEvalConfigLLMJudgeConfig(LLMObsCustomEvalConfigInferenceParams inferenceParams)
  • Method Details

    • assessmentCriteria

    • getAssessmentCriteria

      @Nullable public LLMObsCustomEvalConfigAssessmentCriteria getAssessmentCriteria()
      Criteria used to assess the pass/fail result of a custom evaluator.
      Returns:
      assessmentCriteria
    • setAssessmentCriteria

      public void setAssessmentCriteria(LLMObsCustomEvalConfigAssessmentCriteria assessmentCriteria)
    • contextQuery

      public LLMObsCustomEvalConfigLLMJudgeConfig contextQuery(String contextQuery)
    • getContextQuery

      @Nullable public String getContextQuery()
      Query used to extract additional context for the evaluation.
      Returns:
      contextQuery
    • getContextQuery_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getContextQuery_JsonNullable()
    • setContextQuery_JsonNullable

      public void setContextQuery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> contextQuery)
    • setContextQuery

      public void setContextQuery(String contextQuery)
    • inferenceParams

    • getInferenceParams

      public LLMObsCustomEvalConfigInferenceParams getInferenceParams()
      LLM inference parameters for a custom evaluator.
      Returns:
      inferenceParams
    • setInferenceParams

      public void setInferenceParams(LLMObsCustomEvalConfigInferenceParams inferenceParams)
    • lastUsedLibraryPromptTemplateName

      public LLMObsCustomEvalConfigLLMJudgeConfig lastUsedLibraryPromptTemplateName(String lastUsedLibraryPromptTemplateName)
    • getLastUsedLibraryPromptTemplateName

      @Nullable public String getLastUsedLibraryPromptTemplateName()
      Name of the last library prompt template used.
      Returns:
      lastUsedLibraryPromptTemplateName
    • getLastUsedLibraryPromptTemplateName_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getLastUsedLibraryPromptTemplateName_JsonNullable()
    • setLastUsedLibraryPromptTemplateName_JsonNullable

      public void setLastUsedLibraryPromptTemplateName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> lastUsedLibraryPromptTemplateName)
    • setLastUsedLibraryPromptTemplateName

      public void setLastUsedLibraryPromptTemplateName(String lastUsedLibraryPromptTemplateName)
    • modifiedLibraryPromptTemplate

      public LLMObsCustomEvalConfigLLMJudgeConfig modifiedLibraryPromptTemplate(Boolean modifiedLibraryPromptTemplate)
    • getModifiedLibraryPromptTemplate

      @Nullable public Boolean getModifiedLibraryPromptTemplate()
      Whether the library prompt template was modified.
      Returns:
      modifiedLibraryPromptTemplate
    • getModifiedLibraryPromptTemplate_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getModifiedLibraryPromptTemplate_JsonNullable()
    • setModifiedLibraryPromptTemplate_JsonNullable

      public void setModifiedLibraryPromptTemplate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> modifiedLibraryPromptTemplate)
    • setModifiedLibraryPromptTemplate

      public void setModifiedLibraryPromptTemplate(Boolean modifiedLibraryPromptTemplate)
    • outputSchema

      public LLMObsCustomEvalConfigLLMJudgeConfig outputSchema(Map<String,Object> outputSchema)
    • putOutputSchemaItem

      public LLMObsCustomEvalConfigLLMJudgeConfig putOutputSchemaItem(String key, Object outputSchemaItem)
    • getOutputSchema

      @Nullable public Map<String,Object> getOutputSchema()
      JSON schema describing the expected output format of the LLM judge.
      Returns:
      outputSchema
    • getOutputSchema_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Map<String,Object>> getOutputSchema_JsonNullable()
    • setOutputSchema_JsonNullable

      public void setOutputSchema_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,Object>> outputSchema)
    • setOutputSchema

      public void setOutputSchema(Map<String,Object> outputSchema)
    • parsingType

    • getParsingType

      @Nullable public LLMObsCustomEvalConfigParsingType getParsingType()
      Output parsing type for a custom LLM judge evaluator.
      Returns:
      parsingType
    • setParsingType

      public void setParsingType(LLMObsCustomEvalConfigParsingType parsingType)
    • promptTemplate

    • addPromptTemplateItem

      public LLMObsCustomEvalConfigLLMJudgeConfig addPromptTemplateItem(LLMObsCustomEvalConfigPromptMessage promptTemplateItem)
    • getPromptTemplate

      @Nullable public List<LLMObsCustomEvalConfigPromptMessage> getPromptTemplate()
      List of messages forming the LLM judge prompt template.
      Returns:
      promptTemplate
    • setPromptTemplate

      public void setPromptTemplate(List<LLMObsCustomEvalConfigPromptMessage> promptTemplate)
    • targetQuery

      public LLMObsCustomEvalConfigLLMJudgeConfig targetQuery(String targetQuery)
    • getTargetQuery

      @Nullable public String getTargetQuery()
      Query used to extract the target value to evaluate.
      Returns:
      targetQuery
    • getTargetQuery_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getTargetQuery_JsonNullable()
    • setTargetQuery_JsonNullable

      public void setTargetQuery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> targetQuery)
    • setTargetQuery

      public void setTargetQuery(String targetQuery)
    • userSpecifiedJsonPostProcessingFunction

      public LLMObsCustomEvalConfigLLMJudgeConfig userSpecifiedJsonPostProcessingFunction(String userSpecifiedJsonPostProcessingFunction)
    • getUserSpecifiedJsonPostProcessingFunction

      @Nullable public String getUserSpecifiedJsonPostProcessingFunction()
      User-provided function applied to post-process the JSON output of the LLM judge.
      Returns:
      userSpecifiedJsonPostProcessingFunction
    • getUserSpecifiedJsonPostProcessingFunction_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getUserSpecifiedJsonPostProcessingFunction_JsonNullable()
    • setUserSpecifiedJsonPostProcessingFunction_JsonNullable

      public void setUserSpecifiedJsonPostProcessingFunction_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> userSpecifiedJsonPostProcessingFunction)
    • setUserSpecifiedJsonPostProcessingFunction

      public void setUserSpecifiedJsonPostProcessingFunction(String userSpecifiedJsonPostProcessingFunction)
    • putAdditionalProperty

      public LLMObsCustomEvalConfigLLMJudgeConfig putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      LLMObsCustomEvalConfigLLMJudgeConfig
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this LLMObsCustomEvalConfigLLMJudgeConfig object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object