Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrModelNotFound = errors.New("no Modelfile or safetensors files found")
Functions ¶
This section is empty.
Types ¶
type Modelfile ¶ added in v0.5.5
type Modelfile struct {
Commands []Command
}
func (Modelfile) CreateRequest ¶ added in v0.5.5
func (f Modelfile) CreateRequest(relativeDir string) (*api.CreateRequest, error)
CreateRequest creates a new *api.CreateRequest from an existing Modelfile
type ParserError ¶ added in v0.4.2
func (*ParserError) Error ¶ added in v0.4.2
func (e *ParserError) Error() string
Click to show internal directories.
Click to hide internal directories.