Class CfnFlow.PromptTemplateConfigurationProperty
Contains the message for a prompt.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFlow.PromptTemplateConfigurationProperty : CfnFlow.IPromptTemplateConfigurationProperty
Syntax (vb)
Public Class CfnFlow.PromptTemplateConfigurationProperty Implements CfnFlow.IPromptTemplateConfigurationProperty
Remarks
For more information, see Construct and store reusable prompts with Prompt management in Amazon Bedrock .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var promptTemplateConfigurationProperty = new PromptTemplateConfigurationProperty {
Text = new TextPromptTemplateConfigurationProperty {
Text = "text",
// the properties below are optional
InputVariables = new [] { new PromptInputVariableProperty {
Name = "name"
} }
}
};
Synopsis
Constructors
| PromptTemplateConfigurationProperty() | Contains the message for a prompt. |
Properties
| Text | Contains configurations for the text in a message for a prompt. |
Constructors
PromptTemplateConfigurationProperty()
Contains the message for a prompt.
public PromptTemplateConfigurationProperty()
Remarks
For more information, see Construct and store reusable prompts with Prompt management in Amazon Bedrock .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var promptTemplateConfigurationProperty = new PromptTemplateConfigurationProperty {
Text = new TextPromptTemplateConfigurationProperty {
Text = "text",
// the properties below are optional
InputVariables = new [] { new PromptInputVariableProperty {
Name = "name"
} }
}
};
Properties
Text
Contains configurations for the text in a message for a prompt.
public object Text { get; set; }