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