PromptFlowNodeInlineConfigurationProperty Struct
Contains configurations for a prompt defined inline in the node.
Example
ts
// 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
inferenceConfigurationoptionalIResolvable | CfnFlowVersion.PromptInferenceConfigurationPropertyinference_configurationoptionaltyping.Union[IResolvable, PromptInferenceConfigurationProperty]inferenceConfigurationoptionalIResolvableInferenceConfigurationoptionalIResolvableInferenceConfigurationoptionalinterface{}#Contains inference configurations for the prompt.
The unique identifier of the model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) to run inference with.
templateConfigurationIResolvable | CfnFlowVersion.PromptTemplateConfigurationPropertytemplate_configurationtyping.Union[IResolvable, PromptTemplateConfigurationProperty]templateConfigurationIResolvableTemplateConfigurationIResolvableTemplateConfigurationinterface{}required#Contains a prompt and variables in the prompt that can be replaced with values at runtime.
The type of prompt template.