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 ¶
type Modelfile struct {
Commands []Command
}
func (Modelfile) CreateRequest ¶
func (f Modelfile) CreateRequest(relativeDir string) (*api.CreateRequest, error)
CreateRequest creates a new *api.CreateRequest from an existing Modelfile
type ParserError ¶
func (*ParserError) Error ¶
func (e *ParserError) Error() string
Click to show internal directories.
Click to hide internal directories.