Interface CfnEvaluator.InferenceConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluator.InferenceConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluator
@Stability(Stable)
public static interface CfnEvaluator.InferenceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The inference configuration parameters that control model behavior during evaluation.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
InferenceConfigurationProperty inferenceConfigurationProperty = InferenceConfigurationProperty.builder()
.maxTokens(123)
.temperature(123)
.topP(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEvaluator.InferenceConfigurationPropertystatic final classAn implementation forCfnEvaluator.InferenceConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe maximum number of tokens to generate in the model response.default NumberThe temperature value that controls randomness in the model's responses.default NumbergetTopP()The top-p sampling parameter that controls the diversity of the model's responses.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxTokens
The maximum number of tokens to generate in the model response.- See Also:
-
getTemperature
The temperature value that controls randomness in the model's responses.- See Also:
-
getTopP
The top-p sampling parameter that controls the diversity of the model's responses.- See Also:
-
builder
-