Skip to content
Docs Try Aspire

IOllamaResource Methods

Interface Methods 1 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)
{
// ...
}
}
modelName string The name of the model