Show / Hide Table of Contents

Class CfnFlow.PromptTemplateConfigurationProperty

Contains the message for a prompt.

Inheritance
object
CfnFlow.PromptTemplateConfigurationProperty
Implements
CfnFlow.IPromptTemplateConfigurationProperty
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.PromptTemplateConfigurationProperty : CfnFlow.IPromptTemplateConfigurationProperty
Syntax (vb)
Public Class CfnFlow.PromptTemplateConfigurationProperty Implements CfnFlow.IPromptTemplateConfigurationProperty
Remarks

For more information, see Construct and store reusable prompts with Prompt management in Amazon Bedrock .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-prompttemplateconfiguration.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 promptTemplateConfigurationProperty = new PromptTemplateConfigurationProperty {
                 Text = new TextPromptTemplateConfigurationProperty {
                     Text = "text",

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

Synopsis

Constructors

PromptTemplateConfigurationProperty()

Contains the message for a prompt.

Properties

Text

Contains configurations for the text in a message for a prompt.

Constructors

PromptTemplateConfigurationProperty()

Contains the message for a prompt.

public PromptTemplateConfigurationProperty()
Remarks

For more information, see Construct and store reusable prompts with Prompt management in Amazon Bedrock .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-prompttemplateconfiguration.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 promptTemplateConfigurationProperty = new PromptTemplateConfigurationProperty {
                 Text = new TextPromptTemplateConfigurationProperty {
                     Text = "text",

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

Properties

Text

Contains configurations for the text in a message for a prompt.

public object Text { get; set; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnFlow.ITextPromptTemplateConfigurationProperty

Implements

CfnFlow.IPromptTemplateConfigurationProperty
Back to top Generated by DocFX