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:6e12ad2d0caa62df184195809bd0a5a989fc00f996ba000a83e5a6241f40da7b
# 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