Module Values.DocumentContentBlockSource

Contains the actual content of a document that can be processed by the model and potentially cited in the response.

Sourcetype nonrec t = {
  1. text : String_.t option;
    (*

    The text content of the document.

    *)
}
Sourceval make : ?text:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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