class

OpenAI::Providers::DeepSeek::Model

Inherits JSON::Serializable < Reference < Object

DeepSeek's Model response doesn't include created timestamp

Constructors

new(id : String = "", created : Int64 | Nil = nil, object : String = "model", owned_by : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created

The Unix timestamp - optional for DeepSeek compatibility

Source
created=(created : Int64 | Nil)

The Unix timestamp - optional for DeepSeek compatibility

Source
id

The model identifier

Source
id=(id : String)

The model identifier

Source
object

The object type, which is always "model"

Source
object=(object : String)

The object type, which is always "model"

Source
owned_by

The organization that owns the model

Source
owned_by=(owned_by : String)

The organization that owns the model

Source
to_openai_model

Convert to standard OpenAI Model (for interoperability)

Source