OllamaResource.AddHuggingFaceModel
Method
func (OllamaResource) AddHuggingFaceModel( name string, modelName string,) OllamaModelResourceSignature
method
AddHuggingFaceModel builderAdds a model from Hugging Face to the Ollama resource. Only models in GGUF format are supported.
AddHuggingFaceModel( name string, modelName string,) OllamaModelResourceParameters
namestringThe name of the resource.modelName stringThe name of the LLM from Hugging Face in GGUF format to download on initial startup.Returns
OllamaModelResource A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: