Current section

Files

Jump to
liter_llm lib liter_llm batch_status.ex
Raw

lib/liter_llm/batch_status.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:f6823f4ec8be5dec6fbcb2874e0191f4b5fc1dd9b048a27a6288e7fc397cd156
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/sample_crate-dev/alef
defmodule LiterLlm.BatchStatus do
@moduledoc "Status of a batch job."
@typedoc "Status of a batch job."
@type t :: :validating | :failed | :in_progress | :finalizing | :completed | :expired | :cancelling | :cancelled
@validating :validating
@failed :failed
@in_progress :in_progress
@finalizing :finalizing
@completed :completed
@expired :expired
@cancelling :cancelling
@cancelled :cancelled
@doc "Validating the input file."
@spec validating() :: t()
def validating, do: @validating
@doc "Job failed."
@spec failed() :: t()
def failed, do: @failed
@doc "Job is running."
@spec in_progress() :: t()
def in_progress, do: @in_progress
@doc "Finalizing results."
@spec finalizing() :: t()
def finalizing, do: @finalizing
@doc "Job completed successfully."
@spec completed() :: t()
def completed, do: @completed
@doc "Job expired before completion."
@spec expired() :: t()
def expired, do: @expired
@doc "Job is being cancelled."
@spec cancelling() :: t()
def cancelling, do: @cancelling
@doc "Job has been cancelled."
@spec cancelled() :: t()
def cancelled, do: @cancelled
end