IOllamaResource.addHuggingFaceModel
Method
interface IOllamaResource { // ... omitted for brevity addHuggingFaceModel( name: string, modelName: string): OllamaModelResource;}Signature
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 Defined on
This method is defined on the following type: