Package com.datadog.api.client.v2.model
Class LLMObsCustomEvalConfigInferenceParams
java.lang.Object
com.datadog.api.client.v2.model.LLMObsCustomEvalConfigInferenceParams
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsCustomEvalConfigInferenceParams
extends Object
LLM inference parameters for a custom evaluator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LLMObsCustomEvalConfigInferenceParams object is equal to o.frequencyPenalty(Double frequencyPenalty) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Frequency penalty to reduce repetition.Maximum number of tokens to generate.Presence penalty to reduce repetition.Sampling temperature for the LLM.getTopK()Top-k sampling parameter.getTopP()Top-p (nucleus) sampling parameter.inthashCode()presencePenalty(Double presencePenalty) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFrequencyPenalty(Double frequencyPenalty) voidsetMaxTokens(Long maxTokens) voidsetPresencePenalty(Double presencePenalty) voidsetTemperature(Double temperature) voidvoidtemperature(Double temperature) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FREQUENCY_PENALTY
- See Also:
-
JSON_PROPERTY_MAX_TOKENS
- See Also:
-
JSON_PROPERTY_PRESENCE_PENALTY
- See Also:
-
JSON_PROPERTY_TEMPERATURE
- See Also:
-
JSON_PROPERTY_TOP_K
- See Also:
-
JSON_PROPERTY_TOP_P
- See Also:
-
-
Constructor Details
-
LLMObsCustomEvalConfigInferenceParams
public LLMObsCustomEvalConfigInferenceParams()
-
-
Method Details
-
frequencyPenalty
-
getFrequencyPenalty
Frequency penalty to reduce repetition.- Returns:
- frequencyPenalty
-
setFrequencyPenalty
-
maxTokens
-
getMaxTokens
Maximum number of tokens to generate.- Returns:
- maxTokens
-
setMaxTokens
-
presencePenalty
-
getPresencePenalty
Presence penalty to reduce repetition.- Returns:
- presencePenalty
-
setPresencePenalty
-
temperature
-
getTemperature
Sampling temperature for the LLM.- Returns:
- temperature
-
setTemperature
-
topK
-
getTopK
Top-k sampling parameter.- Returns:
- topK
-
setTopK
-
topP
-
getTopP
Top-p (nucleus) sampling parameter.- Returns:
- topP
-
setTopP
-
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:
- LLMObsCustomEvalConfigInferenceParams
-
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 LLMObsCustomEvalConfigInferenceParams object is equal to o. -
hashCode
public int hashCode() -
toString
-