Interface CfnPromptVersionPropsMixin.PromptInferenceConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPromptVersionPropsMixin.PromptInferenceConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPromptVersionPropsMixin
@Stability(Stable)
public static interface CfnPromptVersionPropsMixin.PromptInferenceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains inference configurations for the prompt.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrock.*;
PromptInferenceConfigurationProperty promptInferenceConfigurationProperty = PromptInferenceConfigurationProperty.builder()
.text(PromptModelInferenceConfigurationProperty.builder()
.maxTokens(123)
.stopSequences(List.of("stopSequences"))
.temperature(123)
.topP(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnPromptVersionPropsMixin.PromptInferenceConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getText
Contains inference configurations for a text prompt.Returns union: either
IResolvableorCfnPromptVersionPropsMixin.PromptModelInferenceConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnPromptVersionPropsMixin.PromptInferenceConfigurationProperty.Builder builder()
-