Module Values.GuardrailInvocationMetricsSource

The invocation metrics for the guardrail.

Sourcetype nonrec t = {
  1. guardrailProcessingLatency : GuardrailProcessingLatency.t option;
    (*

    The processing latency details for the guardrail invocation metrics.

    *)
  2. usage : GuardrailUsage.t option;
    (*

    The usage details for the guardrail invocation metrics.

    *)
  3. guardrailCoverage : GuardrailCoverage.t option;
    (*

    The coverage details for the guardrail invocation metrics.

    *)
}
Sourceval make : ?guardrailProcessingLatency:??? -> ?usage:??? -> ?guardrailCoverage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of GuardrailProcessingLatency.t | `Structure of (string * [> `Integer of GuardrailTopicPolicyUnitsProcessed.t | `Structure of (string * [> `Integer of TextCharactersGuarded.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