Skip to content
DocsTry Aspire
DocsTry

IOllamaResource Methods

InterfaceMethods1 member
Represents an Ollama resource.
AddModel(string)Section titled AddModel(string)abstract
Adds a model to the list of models to download on initial startup.
public interface IOllamaResource
{
public abstract void AddModel(
string modelName)
{
// ...
}
}
modelNamestringThe name of the model