Current section
Files
Jump to
Current section
Files
lib/ex_bifrost/model/rerank_document.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.23.0 (https://openapi-generator.tech)
# using the Elixir SDK Generator template (https://github.com/houllette/elixir-sdk-generator).
# Do not edit this file manually — edit the templates and regenerate instead.
defmodule ExBifrost.Model.RerankDocument do
@moduledoc """
RerankDocument model.
"""
@derive JSON.Encoder
defstruct [
:text,
:id,
:meta
]
@type t :: %__MODULE__{
:text => String.t(),
:id => String.t() | nil,
:meta => %{optional(String.t()) => any()} | nil
}
def decode(value) do
value
end
end