interface KnowledgeBasePromptTemplateProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnFlowVersion.KnowledgeBasePromptTemplateProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnFlowVersion_KnowledgeBasePromptTemplateProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnFlowVersion.KnowledgeBasePromptTemplateProperty |
![]() | aws_cdk.aws_bedrock.CfnFlowVersion.KnowledgeBasePromptTemplateProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnFlowVersion » 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-lib';
const knowledgeBasePromptTemplateProperty: bedrock.CfnFlowVersion.KnowledgeBasePromptTemplateProperty = {
textPromptTemplate: 'textPromptTemplate',
};
Properties
Name | Type | Description |
---|---|---|
text | string | The text of the prompt template. |
textPromptTemplate
Type:
string
The text of the prompt template.