Current section

Files

Jump to
oapi_open_ai lib schemas usage vector_store result.ex
Raw

lib/schemas/usage/vector_store/result.ex

defmodule OpenAi.Usage.VectorStore.Result do
@moduledoc """
Provides struct and type for a Usage.VectorStore.Result
"""
@type t :: %__MODULE__{object: String.t(), project_id: String.t() | nil, usage_bytes: integer}
defstruct [:object, :project_id, :usage_bytes]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
object: {:const, "organization.usage.vector_stores.result"},
project_id: {:string, :generic},
usage_bytes: :integer
]
end
end