Module Request.Response_format

Response format for structured outputs. See https://openrouter.ai/docs/features/structured-outputs

module Json_schema : sig ... end
type t =
  1. | Json_object
  2. | Json_schema of Json_schema.t
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 json_schema : ?strict:bool -> ?schema:Jsonaf.t -> ?description:string -> name:string -> unit -> t