Class CfnAgentPropsMixin.CustomPromptInputProperty
Custom prompt configuration.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.QuickSight
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAgentPropsMixin.CustomPromptInputProperty : CfnAgentPropsMixin.ICustomPromptInputProperty
Syntax (vb)
Public Class CfnAgentPropsMixin.CustomPromptInputProperty Implements CfnAgentPropsMixin.ICustomPromptInputProperty
Remarks
Specify either ExistingPrompt or NewPrompt.
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.QuickSight;
var customPromptInputProperty = new CustomPromptInputProperty {
ExistingPrompt = new CustomPromptProfileProperty {
ModelProfileId = "modelProfileId",
QbsAwsAccountId = "qbsAwsAccountId",
SubscriptionId = "subscriptionId"
},
NewPrompt = new CustomPromptInputParametersProperty {
CustomInstructions = "customInstructions",
Identity = "identity",
OutputStyle = "outputStyle",
ResponseLength = "responseLength",
Tone = "tone"
}
};
Synopsis
Constructors
| CustomPromptInputProperty() | Custom prompt configuration. |
Properties
| ExistingPrompt | Reference to an existing custom prompt profile. |
| NewPrompt | Parameters for creating a new custom prompt configuration. |
Constructors
CustomPromptInputProperty()
Custom prompt configuration.
public CustomPromptInputProperty()
Remarks
Specify either ExistingPrompt or NewPrompt.
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.QuickSight;
var customPromptInputProperty = new CustomPromptInputProperty {
ExistingPrompt = new CustomPromptProfileProperty {
ModelProfileId = "modelProfileId",
QbsAwsAccountId = "qbsAwsAccountId",
SubscriptionId = "subscriptionId"
},
NewPrompt = new CustomPromptInputParametersProperty {
CustomInstructions = "customInstructions",
Identity = "identity",
OutputStyle = "outputStyle",
ResponseLength = "responseLength",
Tone = "tone"
}
};
Properties
ExistingPrompt
Reference to an existing custom prompt profile.
public object? ExistingPrompt { get; set; }
Property Value
Remarks
NewPrompt
Parameters for creating a new custom prompt configuration.
public object? NewPrompt { get; set; }