Interface CfnPrompt.SystemContentBlockProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrompt.SystemContentBlockProperty.Jsii$Proxy
- Enclosing class:
CfnPrompt
@Stability(Stable)
public static interface CfnPrompt.SystemContentBlockProperty
extends software.amazon.jsii.JsiiSerializable
Contains configurations for instructions to provide the model for how to handle input.
To learn more, see Using the Converse API .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
SystemContentBlockProperty systemContentBlockProperty = SystemContentBlockProperty.builder()
.cachePoint(CachePointBlockProperty.builder()
.type("type")
.build())
.text("text")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPrompt.SystemContentBlockPropertystatic final classAn implementation forCfnPrompt.SystemContentBlockProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCachePoint
CachePoint to include in the system prompt.Returns union: either
IResolvableorCfnPrompt.CachePointBlockProperty- See Also:
-
getText
A system prompt for the model.- See Also:
-
builder
-