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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.CfnPrompt.PromptModelInferenceConfigurationProperty
CfnPrompt.PromptModelInferenceConfigurationProperty.Builder, CfnPrompt.PromptModelInferenceConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnPrompt.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 theCfnPrompt.PromptModelInferenceConfigurationProperty.Builder
.
-
-
Method Details
-
getMaxTokens
Description copied from interface:CfnPrompt.PromptModelInferenceConfigurationProperty
The maximum number of tokens to return in the response.- Specified by:
getMaxTokens
in interfaceCfnPrompt.PromptModelInferenceConfigurationProperty
- See Also:
-
getStopSequences
Description copied from interface:CfnPrompt.PromptModelInferenceConfigurationProperty
A list of strings that define sequences after which the model will stop generating.- Specified by:
getStopSequences
in interfaceCfnPrompt.PromptModelInferenceConfigurationProperty
- See Also:
-
getTemperature
Description copied from interface:CfnPrompt.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 interfaceCfnPrompt.PromptModelInferenceConfigurationProperty
- See Also:
-
getTopK
Description copied from interface:CfnPrompt.PromptModelInferenceConfigurationProperty
The number of most-likely candidates that the model considers for the next token during generation.- Specified by:
getTopK
in interfaceCfnPrompt.PromptModelInferenceConfigurationProperty
- See Also:
-
getTopP
Description copied from interface:CfnPrompt.PromptModelInferenceConfigurationProperty
The percentage of most-likely candidates that the model considers for the next token.- Specified by:
getTopP
in interfaceCfnPrompt.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()
-