interface KnowledgeBasePromptTemplateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnFlowPropsMixin.KnowledgeBasePromptTemplateProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnFlowPropsMixin_KnowledgeBasePromptTemplateProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnFlowPropsMixin.KnowledgeBasePromptTemplateProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnFlowPropsMixin.KnowledgeBasePromptTemplateProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const knowledgeBasePromptTemplateProperty: bedrock_mixins.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