addHuggingFaceModel
Method
interface OllamaExecutableResource { // ... omitted for brevity addHuggingFaceModel( name: string, modelName: string): OllamaModelResource;}Signature
method
addHuggingFaceModelbuilderAdds a model from Hugging Face to the Ollama resource. Only models in GGUF format are supported.
addHuggingFaceModel( name: string, modelName: string): OllamaModelResourceParameters
namestringmodelNamestringReturns
OllamaModelResourceApplies to
This method applies to the following types: