Openai.Responses
module Input_message : sig ... end
module Annotation : sig ... end
module Annotation_added : sig ... end
module Output_message : sig ... end
module Function_call : sig ... end
module Function_call_output : sig ... end
module Web_search_call : sig ... end
module File_search_call : sig ... end
module Reasoning : sig ... end
module Item : sig ... end
module Request : sig ... end
module Status : sig ... end
module Error : sig ... end
module Incomplete_details : sig ... end
module Text_cfg : sig ... end
module Tool_choice : sig ... end
module Usage : sig ... end
module Metadata : sig ... end
module Response : sig ... end
module Response_stream : sig ... end
type _ response_type =
| Stream : (Response_stream.t -> unit) -> unit response_type
| Default : Response.t response_type
val post_response :
'a response_type ->
?max_output_tokens:int ->
?temperature:float ->
?tools:Request.Tool.t list ->
?model:Request.model ->
?reasoning:Request.Reasoning.t ->
dir:Eio.Fs.dir_ty Eio.Path.t ->
'n Eio.Net.t ->
inputs:Item.t list ->
'a