Interface CfnAgent.InferenceConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAgent.InferenceConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnAgent

@Stability(Stable) public static interface CfnAgent.InferenceConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Base inference parameters to pass to a model in a call to Converse or ConverseStream . For more information, see Inference parameters for foundation models .

If you need to pass additional parameters that the model supports, use the additionalModelRequestFields request field in the call to Converse or ConverseStream . For more information, see Model parameters .

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.bedrock.*;
 InferenceConfigurationProperty inferenceConfigurationProperty = InferenceConfigurationProperty.builder()
         .maximumLength(123)
         .stopSequences(List.of("stopSequences"))
         .temperature(123)
         .topK(123)
         .topP(123)
         .build();
 

See Also: