defmodule OpenAi.VectorStore.ExpirationAfter do @moduledoc """ Provides struct and type for a VectorStore.ExpirationAfter """ @type t :: %__MODULE__{anchor: String.t(), days: integer} defstruct [:anchor, :days] @doc false @spec __fields__(atom) :: keyword def __fields__(type \\ :t) def __fields__(:t) do [anchor: {:const, "last_active_at"}, days: :integer] end end