Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertHuggingFaceModelNameToOllama ¶ added in v0.12.0
ConvertHuggingFaceModelNameToOllama converts a HuggingFace model name to an official Ollama model name.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages the Ollama service.
func (*Manager) CreateNewModel ¶
CreateNewModel creates a new model with the given name and spec.
func (*Manager) PullBaseModel ¶ added in v0.7.0
PullBaseModel pulls the base model from the given path.
func (*Manager) WaitForReady ¶ added in v0.7.0
WaitForReady waits for the Ollama service to be ready.
Click to show internal directories.
Click to hide internal directories.