interface KnowledgeBasePromptTemplateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnFlowPropsMixin.KnowledgeBasePromptTemplateProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnFlowPropsMixin_KnowledgeBasePromptTemplateProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowPropsMixin.KnowledgeBasePromptTemplateProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnFlowPropsMixin.KnowledgeBasePromptTemplateProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnFlowPropsMixin » KnowledgeBasePromptTemplateProperty |
Defines a custom prompt template for orchestrating the retrieval and generation process.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from '@aws-cdk/cfn-property-mixins';
const knowledgeBasePromptTemplateProperty: bedrock.CfnFlowPropsMixin.KnowledgeBasePromptTemplateProperty = {
textPromptTemplate: 'textPromptTemplate',
};
Properties
| Name | Type | Description |
|---|---|---|
| text | string | The text of the prompt template. |
textPromptTemplate?
Type:
string
(optional)
The text of the prompt template.

.NET
Go
Java
Python
TypeScript