interface PromptFlowNodeInlineConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnFlowPropsMixin.PromptFlowNodeInlineConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnFlowPropsMixin_PromptFlowNodeInlineConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowPropsMixin.PromptFlowNodeInlineConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnFlowPropsMixin.PromptFlowNodeInlineConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnFlowPropsMixin » PromptFlowNodeInlineConfigurationProperty |
Contains configurations for a prompt defined inline in the node.
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 promptFlowNodeInlineConfigurationProperty: bedrock.CfnFlowPropsMixin.PromptFlowNodeInlineConfigurationProperty = {
inferenceConfiguration: {
text: {
maxTokens: 123,
stopSequences: ['stopSequences'],
temperature: 123,
topP: 123,
},
},
modelId: 'modelId',
templateConfiguration: {
text: {
inputVariables: [{
name: 'name',
}],
text: 'text',
},
},
templateType: 'templateType',
};
Properties
| Name | Type | Description |
|---|---|---|
| inference | IResolvable | Prompt | Contains inference configurations for the prompt. |
| model | string | The unique identifier of the model or inference profile to run inference with. |
| template | IResolvable | Prompt | Contains a prompt and variables in the prompt that can be replaced with values at runtime. |
| template | string | The type of prompt template. |
inferenceConfiguration?
Type:
IResolvable | Prompt
(optional)
Contains inference configurations for the prompt.
modelId?
Type:
string
(optional)
The unique identifier of the model or inference profile to run inference with.
templateConfiguration?
Type:
IResolvable | Prompt
(optional)
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
templateType?
Type:
string
(optional)
The type of prompt template.

.NET
Go
Java
Python
TypeScript