Values.CreatePromptRequestSourceCreates a prompt in your prompt library that you can add to a flow. For more information, see Prompt management in Amazon Bedrock, Create a prompt using Prompt management and Prompt flows in Amazon Bedrock in the Amazon Bedrock User Guide.
type nonrec t = {name : PromptName.t;A name for the prompt.
*)description : PromptDescription.t option;A description for the prompt.
*)customerEncryptionKeyArn : KmsKeyArn.t option;The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
*)defaultVariant : PromptVariantName.t option;The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
*)variants : PromptVariantList.t option;A list of objects, each containing details about a variant of the prompt.
*)clientToken : ClientToken.t option;A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
*)}val make :
?description:??? ->
?customerEncryptionKeyArn:??? ->
?defaultVariant:??? ->
?variants:??? ->
?clientToken:??? ->
?tags:??? ->
name:PromptName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `String of PromptMetadataKey.t ])
list ]
list
| `String of PromptVariantName.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Float of Temperature.t
| `Integer of MaximumLength.t
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `Enum of string ])
list ])
list ]
list
| `String of
PromptInputVariableName.t
| `Structure of
(string * [> `Enum of string ])
list ])
list ]
list
| `String of TextPrompt.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of
Boolean.t
| `Enum of string
| `String of
ToolName.t
| `Structure of
(string
* [> `Structure of
'a list ])
list ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [> `String of ToolName.t ])
list ])
list ])
list ])
list ])
list ])
list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of PromptName.t ])
list ]