Module Request.Message

module Tool_call : sig ... end
module Content_part : sig ... end
module Content : sig ... end
type t = {
  1. role : string;
  2. content : Content.t option;
  3. tool_calls : Tool_call.t list;
  4. tool_call_id : string option;
}
include Ppx_jsonaf_conv_lib.Jsonafable.S with type t := t
val t_of_jsonaf : Jsonaf_kernel__.Type.t -> t
val jsonaf_of_t : t -> Jsonaf_kernel__.Type.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val user : string -> t
val user_multipart : Content_part.t list -> t
val system : string -> t
val assistant : ?content:string -> ?tool_calls:Tool_call.t list -> unit -> t
val tool : tool_call_id:string -> content:string -> t