Interface CfnFlowPropsMixin.IPromptFlowNodeSourceConfigurationProperty
Contains configurations for a prompt and whether it is from Prompt management or defined inline.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnFlowPropsMixin.IPromptFlowNodeSourceConfigurationProperty
Syntax (vb)
Public Interface CfnFlowPropsMixin.IPromptFlowNodeSourceConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;
var promptFlowNodeSourceConfigurationProperty = new PromptFlowNodeSourceConfigurationProperty {
Inline = new PromptFlowNodeInlineConfigurationProperty {
InferenceConfiguration = new PromptInferenceConfigurationProperty {
Text = new PromptModelInferenceConfigurationProperty {
MaxTokens = 123,
StopSequences = new [] { "stopSequences" },
Temperature = 123,
TopP = 123
}
},
ModelId = "modelId",
TemplateConfiguration = new PromptTemplateConfigurationProperty {
Text = new TextPromptTemplateConfigurationProperty {
InputVariables = new [] { new PromptInputVariableProperty {
Name = "name"
} },
Text = "text"
}
},
TemplateType = "templateType"
},
Resource = new PromptFlowNodeResourceConfigurationProperty {
PromptArn = "promptArn"
}
};
Synopsis
Properties
| Inline | Contains configurations for a prompt that is defined inline. |
| Resource | Contains configurations for a prompt from Prompt management. |
Properties
Inline
Contains configurations for a prompt that is defined inline.
object? Inline { get; }
Property Value
Remarks
Resource
Contains configurations for a prompt from Prompt management.
object? Resource { get; }