Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddPromptTemplateItem(LLMObsCustomEvalConfigPromptMessage promptTemplateItem) assessmentCriteria(LLMObsCustomEvalConfigAssessmentCriteria assessmentCriteria) contextQuery(String contextQuery) booleanReturn true if this LLMObsCustomEvalConfigLLMJudgeConfig object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Criteria used to assess the pass/fail result of a custom evaluator.Query used to extract additional context for the evaluation.org.openapitools.jackson.nullable.JsonNullable<String>LLM inference parameters for a custom evaluator.Name of the last library prompt template used.org.openapitools.jackson.nullable.JsonNullable<String>Whether the library prompt template was modified.org.openapitools.jackson.nullable.JsonNullable<Boolean>JSON schema describing the expected output format of the LLM judge.Output parsing type for a custom LLM judge evaluator.List of messages forming the LLM judge prompt template.Query used to extract the target value to evaluate.org.openapitools.jackson.nullable.JsonNullable<String>User-provided function applied to post-process the JSON output of the LLM judge.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()inferenceParams(LLMObsCustomEvalConfigInferenceParams inferenceParams) lastUsedLibraryPromptTemplateName(String lastUsedLibraryPromptTemplateName) modifiedLibraryPromptTemplate(Boolean modifiedLibraryPromptTemplate) outputSchema(Map<String, Object> outputSchema) parsingType(LLMObsCustomEvalConfigParsingType parsingType) promptTemplate(List<LLMObsCustomEvalConfigPromptMessage> promptTemplate) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putOutputSchemaItem(String key, Object outputSchemaItem) voidsetAssessmentCriteria(LLMObsCustomEvalConfigAssessmentCriteria assessmentCriteria) voidsetContextQuery(String contextQuery) voidsetContextQuery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> contextQuery) voidsetInferenceParams(LLMObsCustomEvalConfigInferenceParams inferenceParams) voidsetLastUsedLibraryPromptTemplateName(String lastUsedLibraryPromptTemplateName) voidsetLastUsedLibraryPromptTemplateName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> lastUsedLibraryPromptTemplateName) voidsetModifiedLibraryPromptTemplate(Boolean modifiedLibraryPromptTemplate) voidsetModifiedLibraryPromptTemplate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> modifiedLibraryPromptTemplate) voidsetOutputSchema(Map<String, Object> outputSchema) voidsetOutputSchema_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, Object>> outputSchema) voidsetParsingType(LLMObsCustomEvalConfigParsingType parsingType) voidsetPromptTemplate(List<LLMObsCustomEvalConfigPromptMessage> promptTemplate) voidsetTargetQuery(String targetQuery) voidsetTargetQuery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> targetQuery) voidsetUserSpecifiedJsonPostProcessingFunction(String userSpecifiedJsonPostProcessingFunction) voidsetUserSpecifiedJsonPostProcessingFunction_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> userSpecifiedJsonPostProcessingFunction) targetQuery(String targetQuery) toString()userSpecifiedJsonPostProcessingFunction(String userSpecifiedJsonPostProcessingFunction)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSESSMENT_CRITERIA
- See Also:
-
JSON_PROPERTY_CONTEXT_QUERY
- See Also:
-
JSON_PROPERTY_INFERENCE_PARAMS
- See Also:
-
JSON_PROPERTY_LAST_USED_LIBRARY_PROMPT_TEMPLATE_NAME
- See Also:
-
JSON_PROPERTY_MODIFIED_LIBRARY_PROMPT_TEMPLATE
- See Also:
-
JSON_PROPERTY_OUTPUT_SCHEMA
- See Also:
-
JSON_PROPERTY_PARSING_TYPE
- See Also:
-
JSON_PROPERTY_PROMPT_TEMPLATE
- See Also:
-
JSON_PROPERTY_TARGET_QUERY
- See Also:
-
JSON_PROPERTY_USER_SPECIFIED_JSON_POST_PROCESSING_FUNCTION
- See Also:
-
-
Constructor Details
-
LLMObsCustomEvalConfigLLMJudgeConfig
public LLMObsCustomEvalConfigLLMJudgeConfig() -
LLMObsCustomEvalConfigLLMJudgeConfig
-
-
Method Details
-
assessmentCriteria
public LLMObsCustomEvalConfigLLMJudgeConfig assessmentCriteria(LLMObsCustomEvalConfigAssessmentCriteria assessmentCriteria) -
getAssessmentCriteria
Criteria used to assess the pass/fail result of a custom evaluator.- Returns:
- assessmentCriteria
-
setAssessmentCriteria
-
contextQuery
-
getContextQuery
Query used to extract additional context for the evaluation.- Returns:
- contextQuery
-
getContextQuery_JsonNullable
-
setContextQuery_JsonNullable
public void setContextQuery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> contextQuery) -
setContextQuery
-
inferenceParams
public LLMObsCustomEvalConfigLLMJudgeConfig inferenceParams(LLMObsCustomEvalConfigInferenceParams inferenceParams) -
getInferenceParams
LLM inference parameters for a custom evaluator.- Returns:
- inferenceParams
-
setInferenceParams
-
lastUsedLibraryPromptTemplateName
public LLMObsCustomEvalConfigLLMJudgeConfig lastUsedLibraryPromptTemplateName(String lastUsedLibraryPromptTemplateName) -
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
-
modifiedLibraryPromptTemplate
public LLMObsCustomEvalConfigLLMJudgeConfig modifiedLibraryPromptTemplate(Boolean modifiedLibraryPromptTemplate) -
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
-
outputSchema
-
putOutputSchemaItem
public LLMObsCustomEvalConfigLLMJudgeConfig putOutputSchemaItem(String key, Object outputSchemaItem) -
getOutputSchema
JSON schema describing the expected output format of the LLM judge.- Returns:
- outputSchema
-
getOutputSchema_JsonNullable
-
setOutputSchema_JsonNullable
-
setOutputSchema
-
parsingType
public LLMObsCustomEvalConfigLLMJudgeConfig parsingType(LLMObsCustomEvalConfigParsingType parsingType) -
getParsingType
Output parsing type for a custom LLM judge evaluator.- Returns:
- parsingType
-
setParsingType
-
promptTemplate
public LLMObsCustomEvalConfigLLMJudgeConfig promptTemplate(List<LLMObsCustomEvalConfigPromptMessage> promptTemplate) -
addPromptTemplateItem
public LLMObsCustomEvalConfigLLMJudgeConfig addPromptTemplateItem(LLMObsCustomEvalConfigPromptMessage promptTemplateItem) -
getPromptTemplate
List of messages forming the LLM judge prompt template.- Returns:
- promptTemplate
-
setPromptTemplate
-
targetQuery
-
getTargetQuery
Query used to extract the target value to evaluate.- Returns:
- targetQuery
-
getTargetQuery_JsonNullable
-
setTargetQuery_JsonNullable
public void setTargetQuery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> targetQuery) -
setTargetQuery
-
userSpecifiedJsonPostProcessingFunction
public LLMObsCustomEvalConfigLLMJudgeConfig userSpecifiedJsonPostProcessingFunction(String userSpecifiedJsonPostProcessingFunction) -
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
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 setvalue- The associated value- Returns:
- LLMObsCustomEvalConfigLLMJudgeConfig
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this LLMObsCustomEvalConfigLLMJudgeConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-