Module Values.SpanMessageSource

A message in the conversation history with participant role and content values

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

    Unique message identifier

    *)
  2. participant : Participant.t option;
    (*

    Message source role

    *)
  3. timestamp : Timestamp.t option;
    (*

    Message timestamp

    *)
  4. values : SpanMessageValueList.t option;
    (*

    Message content values (text, tool use, tool result, reasoning)

    *)
}
Sourceval make : ?messageId:??? -> ?participant:??? -> ?timestamp:??? -> ?values:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) 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