CustomPromptInputParametersProperty Struct
Parameters for creating a new custom prompt configuration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const customPromptInputParametersProperty: quicksight.CfnAgent.CustomPromptInputParametersProperty = {
customInstructions: 'customInstructions',
identity: 'identity',
outputStyle: 'outputStyle',
responseLength: 'responseLength',
tone: 'tone',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight
custom_prompt_input_parameters_property = quicksight.CfnAgent.CustomPromptInputParametersProperty(
custom_instructions="customInstructions",
identity="identity",
output_style="outputStyle",
response_length="responseLength",
tone="tone"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
CustomPromptInputParametersProperty customPromptInputParametersProperty = CustomPromptInputParametersProperty.builder()
.customInstructions("customInstructions")
.identity("identity")
.outputStyle("outputStyle")
.responseLength("responseLength")
.tone("tone")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var customPromptInputParametersProperty = new CustomPromptInputParametersProperty {
CustomInstructions = "customInstructions",
Identity = "identity",
OutputStyle = "outputStyle",
ResponseLength = "responseLength",
Tone = "tone"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
customPromptInputParametersProperty := &CustomPromptInputParametersProperty{
CustomInstructions: jsii.String("customInstructions"),
Identity: jsii.String("identity"),
OutputStyle: jsii.String("outputStyle"),
ResponseLength: jsii.String("responseLength"),
Tone: jsii.String("tone"),
}
Properties
customInstructionsoptionalstringcustom_instructionsoptionalstrcustomInstructionsoptionalStringCustomInstructionsoptionalstringCustomInstructionsoptional*string #Custom instructions for the agent behavior.
identityoptionalstringidentityoptionalstridentityoptionalStringIdentityoptionalstringIdentityoptional*string #The identity or persona of the agent.
outputStyleoptionalstringoutput_styleoptionalstroutputStyleoptionalStringOutputStyleoptionalstringOutputStyleoptional*string #The output style for the agent responses.
responseLengthoptionalstringresponse_lengthoptionalstrresponseLengthoptionalStringResponseLengthoptionalstringResponseLengthoptional*string #The desired response length for the agent.
The tone used in agent responses.