Module Values.ModelSummarySource

The summary of a model available to an Amazon Q in Connect assistant.

Sourcetype nonrec t = {
  1. modelId : ModelId.t option;
    (*

    The identifier of the model.

    *)
  2. displayName : ModelDisplayName.t option;
    (*

    The display name of the model.

    *)
  3. crossRegionStatus : CrossRegionStatus.t option;
    (*

    The cross-region availability status of the model. NONE indicates the model is only available in a single region, REGIONAL indicates the model is available through regional inference, and GLOBAL indicates the model is available through global cross-region inference.

    *)
  4. supportsPromptCaching : Boolean.t option;
    (*

    Whether the model supports prompt caching.

    *)
  5. supportedAIPromptTypes : AIPromptTypeList.t option;
    (*

    The list of AI Prompt types that the model supports.

    *)
  6. modelLifecycle : ModelLifecycle.t option;
    (*

    The current lifecycle of the model. ACTIVE indicates the model is recommended for use and LEGACY indicates the model is still usable but is deprecated.

    *)
  7. legacyTimestamp : Timestamp.t option;
    (*

    The timestamp when the model lifecycle will transition from ACTIVE to LEGACY.

    *)
  8. endOfLifeTimestamp : Timestamp.t option;
    (*

    The timestamp when the model will reach end of life and no longer be available for use.

    *)
}
Sourceval make : ?modelId:??? -> ?displayName:??? -> ?crossRegionStatus:??? -> ?supportsPromptCaching:??? -> ?supportedAIPromptTypes:??? -> ?modelLifecycle:??? -> ?legacyTimestamp:??? -> ?endOfLifeTimestamp:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Enum of string ] list | `String of ModelId.t | `Timestamp of Timestamp.t ]) 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