interface PromptFlowNodeSourceConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnFlowPropsMixin.PromptFlowNodeSourceConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnFlowPropsMixin_PromptFlowNodeSourceConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnFlowPropsMixin.PromptFlowNodeSourceConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnFlowPropsMixin.PromptFlowNodeSourceConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnFlowPropsMixin » PromptFlowNodeSourceConfigurationProperty |
Contains configurations for a prompt and whether it is from Prompt management or defined inline.
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 promptFlowNodeSourceConfigurationProperty: bedrock_mixins.CfnFlowPropsMixin.PromptFlowNodeSourceConfigurationProperty = {
inline: {
inferenceConfiguration: {
text: {
maxTokens: 123,
stopSequences: ['stopSequences'],
temperature: 123,
topP: 123,
},
},
modelId: 'modelId',
templateConfiguration: {
text: {
inputVariables: [{
name: 'name',
}],
text: 'text',
},
},
templateType: 'templateType',
},
resource: {
promptArn: 'promptArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| inline? | IResolvable | Prompt | Contains configurations for a prompt that is defined inline. |
| resource? | IResolvable | Prompt | Contains configurations for a prompt from Prompt management. |
inline?
Type:
IResolvable | Prompt
(optional)
Contains configurations for a prompt that is defined inline.
resource?
Type:
IResolvable | Prompt
(optional)
Contains configurations for a prompt from Prompt management.

.NET
Go
Java
Python
TypeScript