interface TextTemplateConfigurationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Bedrock.Alpha.TextTemplateConfigurationProps |
![]() | github.com/aws/aws-cdk-go/awsbedrockalpha/v2#TextTemplateConfigurationProps |
![]() | software.amazon.awscdk.services.bedrock.alpha.TextTemplateConfigurationProps |
![]() | aws_cdk.aws_bedrock_alpha.TextTemplateConfigurationProps |
![]() | @aws-cdk/aws-bedrock-alpha » TextTemplateConfigurationProps |
Properties for creating a text template configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_alpha from '@aws-cdk/aws-bedrock-alpha';
const textTemplateConfigurationProps: bedrock_alpha.TextTemplateConfigurationProps = {
text: 'text',
// the properties below are optional
inputVariables: ['inputVariables'],
};
Properties
Name | Type | Description |
---|---|---|
text | string | The text content of the template. |
input | string[] | The input variables for the template. |
text
Type:
string
The text content of the template.
inputVariables?
Type:
string[]
(optional, default: No input variables)
The input variables for the template.