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