Module Values.PromptRouterSummarySource

Details about a prompt router.

Sourcetype nonrec t = {
  1. promptRouterName : PromptRouterName.t option;
    (*

    The router's name.

    *)
  2. routingCriteria : RoutingCriteria.t option;
    (*

    The router's routing criteria.

    *)
  3. description : PromptRouterDescription.t option;
    (*

    The router's description.

    *)
  4. createdAt : Timestamp.t option;
    (*

    When the router was created.

    *)
  5. updatedAt : Timestamp.t option;
    (*

    When the router was updated.

    *)
  6. promptRouterArn : PromptRouterArn.t option;
    (*

    The router's ARN.

    *)
  7. models : PromptRouterTargetModels.t option;
    (*

    The router's models.

    *)
  8. fallbackModel : PromptRouterTargetModel.t option;
    (*

    The router's fallback model.

    *)
  9. status : PromptRouterStatus.t option;
    (*

    The router's status.

    *)
  10. type_ : PromptRouterType.t option;
    (*

    The summary's type.

    *)
}
Sourceval make : ?promptRouterName:??? -> ?routingCriteria:??? -> ?description:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?promptRouterArn:??? -> ?models:??? -> ?fallbackModel:??? -> ?status:??? -> ?type_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of PromptRouterTargetModelArn.t ]) list ] list | `String of PromptRouterName.t | `Structure of (string * [> `Double of RoutingCriteriaResponseQualityDifferenceDouble.t | `String of PromptRouterTargetModelArn.t ]) list | `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