Class ChatPromptVariantProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.alpha.ChatPromptVariantProps.Jsii$Proxy
- All Implemented Interfaces:
ChatPromptVariantProps
,CommonPromptVariantProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ChatPromptVariantProps
@Stability(Experimental)
@Internal
public static final class ChatPromptVariantProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ChatPromptVariantProps
An implementation for
ChatPromptVariantProps
-
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.alpha.ChatPromptVariantProps
ChatPromptVariantProps.Builder, ChatPromptVariantProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(ChatPromptVariantProps.Builder builder) Constructor that initializes the object based on literal property values passed by theChatPromptVariantProps.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
(experimental) Inference configuration for the Chat Prompt.final List
<ChatMessage> (experimental) The messages in the chat prompt.final IBedrockInvokable
getModel()
(experimental) The model which is used to run the prompt.(experimental) The variables in the prompt template that can be filled in at runtime.final String
(experimental) Context or instructions for the model to consider before generating a response.final ToolConfiguration
(experimental) The configuration with available tools to the model and how it must use them.final String
(experimental) The name of the prompt variant.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 theChatPromptVariantProps.Builder
.
-
-
Method Details
-
getMessages
Description copied from interface:ChatPromptVariantProps
(experimental) The messages in the chat prompt.Must include at least one User Message. The messages should alternate between User and Assistant.
- Specified by:
getMessages
in interfaceChatPromptVariantProps
-
getInferenceConfiguration
Description copied from interface:ChatPromptVariantProps
(experimental) Inference configuration for the Chat Prompt.Default: - No inference configuration provided.
- Specified by:
getInferenceConfiguration
in interfaceChatPromptVariantProps
-
getSystem
Description copied from interface:ChatPromptVariantProps
(experimental) Context or instructions for the model to consider before generating a response.Default: - No system message provided.
- Specified by:
getSystem
in interfaceChatPromptVariantProps
-
getToolConfiguration
Description copied from interface:ChatPromptVariantProps
(experimental) The configuration with available tools to the model and how it must use them.Default: - No tool configuration provided.
- Specified by:
getToolConfiguration
in interfaceChatPromptVariantProps
-
getModel
Description copied from interface:CommonPromptVariantProps
(experimental) The model which is used to run the prompt.The model could be a foundation model, a custom model, or a provisioned model.
- Specified by:
getModel
in interfaceCommonPromptVariantProps
-
getVariantName
Description copied from interface:CommonPromptVariantProps
(experimental) The name of the prompt variant.- Specified by:
getVariantName
in interfaceCommonPromptVariantProps
-
getPromptVariables
Description copied from interface:CommonPromptVariantProps
(experimental) The variables in the prompt template that can be filled in at runtime.Default: - No variables defined.
- Specified by:
getPromptVariables
in interfaceCommonPromptVariantProps
-
$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()
-