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