Module Values.CreateAIPromptRequestSource

Creates an Amazon Q in Connect AI Prompt.

Sourcetype nonrec t = {
  1. 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..

    *)
  2. 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.

    *)
  3. name : Name.t;
    (*

    The name of the AI Prompt.

    *)
  4. type_ : AIPromptType.t;
    (*

    The type of this AI Prompt.

    *)
  5. templateConfiguration : AIPromptTemplateConfiguration.t;
    (*

    The configuration of the prompt template for this AI Prompt.

    *)
  6. visibilityStatus : VisibilityStatus.t;
    (*

    The visibility status of the AI Prompt.

    *)
  7. templateType : AIPromptTemplateType.t;
    (*

    The type of the prompt template for this AI Prompt.

    *)
  8. 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.

    *)
  9. 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.

    *)
  10. tags : Tags.t option;
    (*

    The tags used to organize, track, or control access for this resource.

    *)
  11. description : Description.t option;
    (*

    The description of the AI Prompt.

    *)
  12. inferenceConfiguration : AIPromptInferenceConfiguration.t option;
    (*

    The inference configuration for the AI Prompt being created.

    *)
}
Sourceval context_ : string
Sourceval 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 -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t