Values.CreateAIPromptRequestSourceCreates an Amazon Q in Connect AI Prompt.
type nonrec t = {clientToken : ClientToken.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..
*)assistantId : UuidOrArn.t;The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
*)name : Name.t;The name of the AI Prompt.
*)type_ : AIPromptType.t;The type of this AI Prompt.
*)templateConfiguration : AIPromptTemplateConfiguration.t;The configuration of the prompt template for this AI Prompt.
*)visibilityStatus : VisibilityStatus.t;The visibility status of the AI Prompt.
*)templateType : AIPromptTemplateType.t;The type of the prompt template for this AI Prompt.
*)modelId : AIPromptModelIdentifier.t;The identifier of the model used for this AI Prompt. For information about which models are supported in each Amazon Web Services Region, see Supported models for system/custom prompts.
*)apiFormat : AIPromptAPIFormat.t;The API Format of the AI Prompt. Recommended values: MESSAGES | TEXT_COMPLETIONS The values ANTHROPIC_CLAUDE_MESSAGES | ANTHROPIC_CLAUDE_TEXT_COMPLETIONS will be deprecated.
*)description : Description.t option;The description of the AI Prompt.
*)inferenceConfiguration : AIPromptInferenceConfiguration.t option;The inference configuration for the AI Prompt being created.
*)}val make :
?clientToken:??? ->
?tags:??? ->
?description:??? ->
?inferenceConfiguration:??? ->
assistantId:UuidOrArn.t ->
name:Name.t ->
type_:AIPromptType.t ->
templateConfiguration:AIPromptTemplateConfiguration.t ->
visibilityStatus:VisibilityStatus.t ->
templateType:AIPromptTemplateType.t ->
modelId:AIPromptModelIdentifier.t ->
apiFormat:AIPromptAPIFormat.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of ClientToken.t
| `Structure of
(string
* [> `Float of Probability.t
| `Integer of TopK.t
| `Structure of (string * [> `String of TextAIPrompt.t ]) list ])
list ])
list ]