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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.CfnPromptVersion.PromptModelInferenceConfigurationProperty
CfnPromptVersion.PromptModelInferenceConfigurationProperty.Builder, CfnPromptVersion.PromptModelInferenceConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnPromptVersion.PromptModelInferenceConfigurationProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Number
The maximum number of tokens to return in the response.A list of strings that define sequences after which the model will stop generating.final Number
Controls the randomness of the response.final Number
getTopK()
The number of most-likely candidates that the model considers for the next token during generation.final Number
getTopP()
The percentage of most-likely candidates that the model considers for the next token.final int
hashCode()
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.PromptModelInferenceConfigurationProperty
The maximum number of tokens to return in the response.- Specified by:
getMaxTokens
in interfaceCfnPromptVersion.PromptModelInferenceConfigurationProperty
- See Also:
-
getStopSequences
Description copied from interface:CfnPromptVersion.PromptModelInferenceConfigurationProperty
A list of strings that define sequences after which the model will stop generating.- Specified by:
getStopSequences
in interfaceCfnPromptVersion.PromptModelInferenceConfigurationProperty
- See Also:
-
getTemperature
Description copied from interface:CfnPromptVersion.PromptModelInferenceConfigurationProperty
Controls the randomness of the response.Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
- Specified by:
getTemperature
in interfaceCfnPromptVersion.PromptModelInferenceConfigurationProperty
- See Also:
-
getTopK
Description copied from interface:CfnPromptVersion.PromptModelInferenceConfigurationProperty
The number of most-likely candidates that the model considers for the next token during generation.- Specified by:
getTopK
in interfaceCfnPromptVersion.PromptModelInferenceConfigurationProperty
- See Also:
-
getTopP
Description copied from interface:CfnPromptVersion.PromptModelInferenceConfigurationProperty
The percentage of most-likely candidates that the model considers for the next token.- Specified by:
getTopP
in interfaceCfnPromptVersion.PromptModelInferenceConfigurationProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-