interface KnowledgeBasePromptTemplateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnFlowVersion.KnowledgeBasePromptTemplateProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnFlowVersion_KnowledgeBasePromptTemplateProperty |
Java | software.amazon.awscdk.services.bedrock.CfnFlowVersion.KnowledgeBasePromptTemplateProperty |
Python | aws_cdk.aws_bedrock.CfnFlowVersion.KnowledgeBasePromptTemplateProperty |
TypeScript | 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.

.NET
Go
Java
Python
TypeScript