Module Values.AuthenticationResultSource

The authentication result produced by Voice ID, processed against the current session state and streamed audio of the speaker.

Sourcetype nonrec t = {
  1. audioAggregationEndedAt : Timestamp.t option;
    (*

    A timestamp of when audio aggregation ended for this authentication result.

    *)
  2. audioAggregationStartedAt : Timestamp.t option;
    (*

    A timestamp of when audio aggregation started for this authentication result.

    *)
  3. authenticationResultId : UniqueIdLarge.t option;
    (*

    The unique identifier for this authentication result. Because there can be multiple authentications for a given session, this field helps to identify if the returned result is from a previous streaming activity or a new result. Note that in absence of any new streaming activity, AcceptanceThreshold changes, or SpeakerId changes, Voice ID always returns cached Authentication Result for this API.

    *)
  4. configuration : AuthenticationConfiguration.t option;
    (*

    The AuthenticationConfiguration used to generate this authentication result.

    *)
  5. customerSpeakerId : CustomerSpeakerId.t option;
    (*

    The client-provided identifier for the speaker whose authentication result is produced. Only present if a SpeakerId is provided for the session.

    *)
  6. decision : AuthenticationDecision.t option;
    (*

    The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.

    *)
  7. generatedSpeakerId : GeneratedSpeakerId.t option;
    (*

    The service-generated identifier for the speaker whose authentication result is produced.

    *)
  8. score : Score.t option;
    (*

    The authentication score for the speaker whose authentication result is produced. This value is only present if the authentication decision is either ACCEPT or REJECT.

    *)
}
Sourceval make : ?audioAggregationEndedAt:??? -> ?audioAggregationStartedAt:??? -> ?authenticationResultId:??? -> ?configuration:??? -> ?customerSpeakerId:??? -> ?decision:??? -> ?generatedSpeakerId:??? -> ?score:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Score.t | `String of UniqueIdLarge.t | `Structure of (string * [> `Integer of Score.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