Class CfnPromptVersion.PromptModelInferenceConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnPromptVersion.PromptModelInferenceConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnPromptVersion.PromptModelInferenceConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPromptVersion.PromptModelInferenceConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnPromptVersion.PromptModelInferenceConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnPromptVersion.PromptModelInferenceConfigurationProperty
An implementation for
CfnPromptVersion.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.CfnPromptVersion.PromptModelInferenceConfigurationProperty
CfnPromptVersion.PromptModelInferenceConfigurationProperty.Builder, CfnPromptVersion.PromptModelInferenceConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPromptVersion.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 theCfnPromptVersion.PromptModelInferenceConfigurationProperty.Builder.
-
-
Method Details
-
getMaxTokens
Description copied from interface:CfnPromptVersion.PromptModelInferenceConfigurationPropertyThe maximum number of tokens to return in the response.- Specified by:
getMaxTokensin interfaceCfnPromptVersion.PromptModelInferenceConfigurationProperty- See Also:
-
getStopSequences
Description copied from interface:CfnPromptVersion.PromptModelInferenceConfigurationPropertyA list of strings that define sequences after which the model will stop generating.- Specified by:
getStopSequencesin interfaceCfnPromptVersion.PromptModelInferenceConfigurationProperty- See Also:
-
getTemperature
Description copied from interface:CfnPromptVersion.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 interfaceCfnPromptVersion.PromptModelInferenceConfigurationProperty- See Also:
-
getTopP
Description copied from interface:CfnPromptVersion.PromptModelInferenceConfigurationPropertyThe percentage of most-likely candidates that the model considers for the next token.- Specified by:
getTopPin interfaceCfnPromptVersion.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()
-