Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val yojson_of_message : message -> Ppx_yojson_conv_lib.Yojson.Safe.t
val send_raw_k :
((Ezcurl_core.response, Curl.curlCode * string) result -> 'a Lwt.t) ->
Client.t ->
?model:string ->
?max_tokens:int ->
messages:message list ->
?temperature:float ->
?top_p:float ->
?stream:bool ->
?n:int ->
?stop:Yojson.Safe.t list ->
?frequency_penalty:float ->
?logit_bias:(string * Yojson.Safe.t) list ->
?presence_penalty:float ->
?user:string ->
unit ->
'a Lwt.t
raw API request: *
val extract_content : string -> string Lwt.t
val send :
Client.t ->
?model:string ->
?max_tokens:int ->
messages:message list ->
?temperature:float ->
?top_p:float ->
?stream:bool ->
?n:int ->
?stop:Yojson.Safe.t list ->
?frequency_penalty:float ->
?logit_bias:(string * Yojson.Safe.t) list ->
?presence_penalty:float ->
?user:string ->
unit ->
string Lwt.t