addModel

Method
📦 CommunityToolkit.Aspire.Hosting.Ollama v13.6.1
interface OllamaExecutableResource {
// ... omitted for brevity
addModel(modelName: string): OllamaModelResource;
}

Signature

methodaddModelbuilder
Adds a model to the Ollama resource.
addModel(modelName: string): OllamaModelResource
modelNamestringThe name of the LLM to download on initial startup.
OllamaModelResource

Applies to

This method applies to the following types: