Module Values.RetrieveResultSource

A single result from a content retrieval operation.

Sourcetype nonrec t = {
  1. associationId : Uuid.t option;
    (*

    The identifier of the assistant association for the retrieved result.

    *)
  2. sourceId : SensitiveString.t option;
    (*

    The URL, URI, or ID of the retrieved content when available, or a UUID when unavailable.

    *)
  3. referenceType : ReferenceType.t option;
    (*

    A type to define the KB origin of a retrieved content.

    *)
  4. contentText : SensitiveString.t option;
    (*

    The text content of the retrieved result.

    *)
}
Sourceval make : ?associationId:??? -> ?sourceId:??? -> ?referenceType:??? -> ?contentText:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Uuid.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