Show / Hide Table of Contents

Class CfnFlow.PromptFlowNodeSourceConfigurationProperty

Contains configurations for a prompt and whether it is from Prompt management or defined inline.

Inheritance
object
CfnFlow.PromptFlowNodeSourceConfigurationProperty
Implements
CfnFlow.IPromptFlowNodeSourceConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFlow.PromptFlowNodeSourceConfigurationProperty : CfnFlow.IPromptFlowNodeSourceConfigurationProperty
Syntax (vb)
Public Class CfnFlow.PromptFlowNodeSourceConfigurationProperty Implements CfnFlow.IPromptFlowNodeSourceConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodesourceconfiguration.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.AWS.Bedrock;

             var promptFlowNodeSourceConfigurationProperty = new PromptFlowNodeSourceConfigurationProperty {
                 Inline = new PromptFlowNodeInlineConfigurationProperty {
                     ModelId = "modelId",
                     TemplateConfiguration = new PromptTemplateConfigurationProperty {
                         Text = new TextPromptTemplateConfigurationProperty {
                             Text = "text",

                             // the properties below are optional
                             InputVariables = new [] { new PromptInputVariableProperty {
                                 Name = "name"
                             } }
                         }
                     },
                     TemplateType = "templateType",

                     // the properties below are optional
                     InferenceConfiguration = new PromptInferenceConfigurationProperty {
                         Text = new PromptModelInferenceConfigurationProperty {
                             MaxTokens = 123,
                             StopSequences = new [] { "stopSequences" },
                             Temperature = 123,
                             TopP = 123
                         }
                     }
                 },
                 Resource = new PromptFlowNodeResourceConfigurationProperty {
                     PromptArn = "promptArn"
                 }
             };

Synopsis

Constructors

PromptFlowNodeSourceConfigurationProperty()

Contains configurations for a prompt and whether it is from Prompt management or defined inline.

Properties

Inline

Contains configurations for a prompt that is defined inline.

Resource

Contains configurations for a prompt from Prompt management.

Constructors

PromptFlowNodeSourceConfigurationProperty()

Contains configurations for a prompt and whether it is from Prompt management or defined inline.

public PromptFlowNodeSourceConfigurationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-promptflownodesourceconfiguration.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.AWS.Bedrock;

             var promptFlowNodeSourceConfigurationProperty = new PromptFlowNodeSourceConfigurationProperty {
                 Inline = new PromptFlowNodeInlineConfigurationProperty {
                     ModelId = "modelId",
                     TemplateConfiguration = new PromptTemplateConfigurationProperty {
                         Text = new TextPromptTemplateConfigurationProperty {
                             Text = "text",

                             // the properties below are optional
                             InputVariables = new [] { new PromptInputVariableProperty {
                                 Name = "name"
                             } }
                         }
                     },
                     TemplateType = "templateType",

                     // the properties below are optional
                     InferenceConfiguration = new PromptInferenceConfigurationProperty {
                         Text = new PromptModelInferenceConfigurationProperty {
                             MaxTokens = 123,
                             StopSequences = new [] { "stopSequences" },
                             Temperature = 123,
                             TopP = 123
                         }
                     }
                 },
                 Resource = new PromptFlowNodeResourceConfigurationProperty {
                     PromptArn = "promptArn"
                 }
             };

Properties

Inline

Contains configurations for a prompt that is defined inline.

public object? Inline { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnFlow.IPromptFlowNodeInlineConfigurationProperty

Resource

Contains configurations for a prompt from Prompt management.

public object? Resource { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnFlow.IPromptFlowNodeResourceConfigurationProperty

Implements

CfnFlow.IPromptFlowNodeSourceConfigurationProperty
Back to top Generated by DocFX