interface TextPromptTemplateConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnFlowPropsMixin.TextPromptTemplateConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnFlowPropsMixin_TextPromptTemplateConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnFlowPropsMixin.TextPromptTemplateConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnFlowPropsMixin.TextPromptTemplateConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnFlowPropsMixin » TextPromptTemplateConfigurationProperty |
Contains configurations for a text prompt template.
To include a variable, enclose a word in double curly braces as in {{variable}} .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const textPromptTemplateConfigurationProperty: bedrock_mixins.CfnFlowPropsMixin.TextPromptTemplateConfigurationProperty = {
inputVariables: [{
name: 'name',
}],
text: 'text',
};
Properties
| Name | Type | Description |
|---|---|---|
| input | IResolvable | (IResolvable | Prompt)[] | An array of the variables in the prompt template. |
| text? | string | The message for the prompt. |
inputVariables?
Type:
IResolvable | (IResolvable | Prompt)[]
(optional)
An array of the variables in the prompt template.
text?
Type:
string
(optional)
The message for the prompt.

.NET
Go
Java
Python
TypeScript