IOllamaResource.addNamedModel

Method
📦 CommunityToolkit.Aspire.Hosting.Ollama v13.6.1
interface IOllamaResource {
// ... omitted for brevity
addNamedModel(
name: string,
modelName: string): OllamaModelResource;
}

Signature

methodaddNamedModelbuilder
Adds a model to the Ollama resource.
addNamedModel(
name: string,
modelName: string): OllamaModelResource
namestringThe name of the resource.
modelNamestringThe name of the LLM to download on initial startup.
OllamaModelResource

Defined on

This method is defined on the following type: