Current section

Files

Jump to
oapi_open_ai lib schemas fine_tuning integration wandb.ex
Raw

lib/schemas/fine_tuning/integration/wandb.ex

defmodule OpenAi.FineTuning.Integration.Wandb do
@moduledoc """
Provides struct and type for a FineTuning.Integration.Wandb
"""
@type t :: %__MODULE__{
entity: String.t() | nil,
name: String.t() | nil,
project: String.t(),
tags: [String.t()] | nil
}
defstruct [:entity, :name, :project, :tags]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
entity: {:string, :generic},
name: {:string, :generic},
project: {:string, :generic},
tags: [string: :generic]
]
end
end