LlamaModel class

The files of a model that LlamaEngine runs.

A value object: creating one reads and downloads nothing. Pass it to LlamaEngine.load or LlamaEngine.setModel.

Constructors

LlamaModel(ModelSource source, {ModelSource? projector})
Describes the model at source, with the multimodal projector of a llama.cpp model.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
projector → ModelSource?
The multimodal projector (mmproj) GGUF that gives a llama.cpp model vision or audio input, or null.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → ModelSource
The model file: a GGUF, which llama.cpp runs, or a .litertlm bundle, which LiteRT-LM runs. The engine picks the runtime for each model.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited