Skip to content
Docs Try Aspire

OllamaModelResource Constructors

Class Constructors 1 member
A resource that represents an ollama model.
Constructor(string, string, IOllamaResource) Section titled Constructor(string, string, IOllamaResource)
A resource that represents an ollama model.
public class OllamaModelResource
{
public OllamaModelResource(
string name,
string modelName,
IOllamaResource parent)
{
// ...
}
}
name string The name for the resource.
modelName string The name of the LLM model, can include a tag.
parent IOllamaResource The OllamaResource parent.