Module Values.TextMessageSource

The message data in text type.

Sourcetype nonrec t = {
  1. value : TextMessageValueString.t option;
    (*

    The value of the message data in text type.

    *)
  2. citations : Citations.t option;
    (*

    The citations associated with the text message.

    *)
  3. aiGuardrailAssessment : AIGuardrailAssessment.t option;
    (*

    The AI Guardrail assessment for the text message.

    *)
}
Sourceval make : ?value:??? -> ?citations:??? -> ?aiGuardrailAssessment:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of Uuid.t | `Structure of (string * [> `Integer of CitationSpanOffset.t ]) list ]) list ] list | `String of TextMessageValueString.t | `Structure of (string * [> `Boolean of Boolean.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