Module Embeddings.Request

module Input : sig ... end

Input can be a single string or an array of strings to batch-embed.

type t = {
  1. model : string;
  2. input : Input.t;
  3. dimensions : int option;
}
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