Interface CfnPromptVersion.ITextPromptTemplateConfigurationProperty
Contains configurations for a text prompt template.
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnPromptVersion.ITextPromptTemplateConfigurationProperty
Syntax (vb)
Public Interface CfnPromptVersion.ITextPromptTemplateConfigurationProperty
Remarks
To include a variable, enclose a word in double curly braces as in {{variable}} .
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 textPromptTemplateConfigurationProperty = new TextPromptTemplateConfigurationProperty {
Text = "text",
// the properties below are optional
CachePoint = new CachePointBlockProperty {
Type = "type"
},
InputVariables = new [] { new PromptInputVariableProperty {
Name = "name"
} }
};
Synopsis
Properties
| CachePoint | A cache checkpoint within a template configuration. |
| InputVariables | An array of the variables in the prompt template. |
| Text | The message for the prompt. |
Properties
CachePoint
A cache checkpoint within a template configuration.
object? CachePoint { get; }
Property Value
Remarks
InputVariables
An array of the variables in the prompt template.
object? InputVariables { get; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnPromptVersion.IPromptInputVariableProperty)[]
Text
The message for the prompt.
string Text { get; }