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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.alpha.ChatPromptVariantProps
ChatPromptVariantProps.Builder, ChatPromptVariantProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ChatPromptVariantProps.Builder builder) Constructor that initializes the object based on literal property values passed by theChatPromptVariantProps.Builder.protectedJsii$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.JsonNodefinal boolean(experimental) Inference configuration for the Chat Prompt.final List<ChatMessage> (experimental) The messages in the chat prompt.final IBedrockInvokablegetModel()(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 inthashCode()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:
getMessagesin interfaceChatPromptVariantProps
-
getInferenceConfiguration
Description copied from interface:ChatPromptVariantProps(experimental) Inference configuration for the Chat Prompt.Default: - No inference configuration provided.
- Specified by:
getInferenceConfigurationin 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:
getSystemin 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:
getToolConfigurationin 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:
getModelin interfaceCommonPromptVariantProps
-
getVariantName
Description copied from interface:CommonPromptVariantProps(experimental) The name of the prompt variant.- Specified by:
getVariantNamein 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:
getPromptVariablesin interfaceCommonPromptVariantProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-