Current section

Files

Jump to
liter_llm lib liter_llm embedding_format.ex
Raw

lib/liter_llm/embedding_format.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:f2d02d39ed23b63568387f22c991c70fd7b0d5c8f2f92cc028dcbaff825ca583
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule LiterLlm.EmbeddingFormat do
@moduledoc "The format in which the embedding vectors are returned."
@typedoc "The format in which the embedding vectors are returned."
@type t :: :float | :base64
@float :float
@base64 :base64
@doc "32-bit floating-point numbers (default)."
@spec float() :: t()
def float, do: @float
@doc "Base64-encoded string representation of the floats."
@spec base64() :: t()
def base64, do: @base64
end