Class CfnPrompt.PromptModelInferenceConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnPrompt.PromptModelInferenceConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnPrompt.PromptModelInferenceConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPrompt.PromptModelInferenceConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnPrompt.PromptModelInferenceConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnPrompt.PromptModelInferenceConfigurationProperty
An implementation for
CfnPrompt.PromptModelInferenceConfigurationProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.CfnPrompt.PromptModelInferenceConfigurationProperty
CfnPrompt.PromptModelInferenceConfigurationProperty.Builder, CfnPrompt.PromptModelInferenceConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPrompt.PromptModelInferenceConfigurationProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberThe maximum number of tokens to return in the response.A list of strings that define sequences after which the model will stop generating.final NumberControls the randomness of the response.final NumbergetTopP()The percentage of most-likely candidates that the model considers for the next token.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnPrompt.PromptModelInferenceConfigurationProperty.Builder.
-
-
Method Details
-
getMaxTokens
Description copied from interface:CfnPrompt.PromptModelInferenceConfigurationPropertyThe maximum number of tokens to return in the response.- Specified by:
getMaxTokensin interfaceCfnPrompt.PromptModelInferenceConfigurationProperty- See Also:
-
getStopSequences
Description copied from interface:CfnPrompt.PromptModelInferenceConfigurationPropertyA list of strings that define sequences after which the model will stop generating.- Specified by:
getStopSequencesin interfaceCfnPrompt.PromptModelInferenceConfigurationProperty- See Also:
-
getTemperature
Description copied from interface:CfnPrompt.PromptModelInferenceConfigurationPropertyControls the randomness of the response.Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Specified by:
getTemperaturein interfaceCfnPrompt.PromptModelInferenceConfigurationProperty- See Also:
-
getTopP
Description copied from interface:CfnPrompt.PromptModelInferenceConfigurationPropertyThe percentage of most-likely candidates that the model considers for the next token.- Specified by:
getTopPin interfaceCfnPrompt.PromptModelInferenceConfigurationProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-