Module Values.AgentTurnResultSource

The information about the agent turn in a test set execution.

Sourcetype nonrec t = {
  1. expectedAgentPrompt : TestSetAgentPrompt.t option;
    (*

    The expected agent prompt for the agent turn in a test set execution.

    *)
  2. actualAgentPrompt : TestSetAgentPrompt.t option;
    (*

    The actual agent prompt for the agent turn in a test set execution.

    *)
  3. errorDetails : ExecutionErrorDetails.t option;
  4. actualElicitedSlot : TestResultSlotName.t option;
    (*

    The actual elicited slot for the agent turn in a test set execution.

    *)
  5. actualIntent : Name.t option;
    (*

    The actual intent for the agent turn in a test set execution.

    *)
}
Sourceval make : ?expectedAgentPrompt:??? -> ?actualAgentPrompt:??? -> ?errorDetails:??? -> ?actualElicitedSlot:??? -> ?actualIntent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of TestSetAgentPrompt.t | `Structure of (string * [> `String of NonEmptyString.t ]) 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