Skip to content
DocsTry Aspire
DocsTry

OllamaModelResource Constructors

ClassConstructors1 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)
{
// ...
}
}
namestringThe name for the resource.
modelNamestringThe name of the LLM model, can include a tag.