package openai

  1. Overview
  2. Docs
type response_format = [
  1. | `Text
  2. | `Json
  3. | `Srt
  4. | `Verbose_json
  5. | `Vtt
]
val string_of_response_format : [< `Json | `Srt | `Text | `Verbose_json | `Vtt ] -> string
val yojson_of_response_format : [< `Json | `Srt | `Text | `Verbose_json | `Vtt ] -> Yojson.Safe.t
val json_to_response : [< `Json | `Srt | `Text | `Verbose_json | `Vtt ] -> Yojson__Safe.t -> [> `Json of Json.t | `Srt of string | `Text of string | `Vtt of string ]
OCaml

Innovation. Community. Security.