Show / Hide Table of Contents

Interface CfnFlowPropsMixin.IPromptFlowNodeInlineConfigurationProperty

Contains configurations for a prompt defined inline in the node.

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnFlowPropsMixin.IPromptFlowNodeInlineConfigurationProperty
Syntax (vb)
Public Interface CfnFlowPropsMixin.IPromptFlowNodeInlineConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodeinlineconfiguration.html

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 promptFlowNodeInlineConfigurationProperty = 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"
             };

Synopsis

Properties

InferenceConfiguration

Contains inference configurations for the prompt.

ModelId

The unique identifier of the model or inference profile to run inference with.

TemplateConfiguration

Contains a prompt and variables in the prompt that can be replaced with values at runtime.

TemplateType

The type of prompt template.

Properties

InferenceConfiguration

Contains inference configurations for the prompt.

object? InferenceConfiguration { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodeinlineconfiguration.html#cfn-bedrock-flow-promptflownodeinlineconfiguration-inferenceconfiguration

Type union: either IResolvable or CfnFlowPropsMixin.IPromptInferenceConfigurationProperty

ModelId

The unique identifier of the model or inference profile to run inference with.

string? ModelId { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodeinlineconfiguration.html#cfn-bedrock-flow-promptflownodeinlineconfiguration-modelid

TemplateConfiguration

Contains a prompt and variables in the prompt that can be replaced with values at runtime.

object? TemplateConfiguration { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodeinlineconfiguration.html#cfn-bedrock-flow-promptflownodeinlineconfiguration-templateconfiguration

Type union: either IResolvable or CfnFlowPropsMixin.IPromptTemplateConfigurationProperty

TemplateType

The type of prompt template.

string? TemplateType { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodeinlineconfiguration.html#cfn-bedrock-flow-promptflownodeinlineconfiguration-templatetype

Back to top Generated by DocFX