Skip to content
Docs Try Aspire

OllamaResource Methods

Class Methods 1 member
A resource that represents an Ollama container.
Adds a model to the list of models to download on initial startup.
public class OllamaResource
{
public void AddModel(
string modelName)
{
// ...
}
}
modelName string The name of the model