Skip to content
Docs Try Aspire
Docs Try

IOllamaResource.addModel

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

Signature

method addModel builder
Adds a model to the Ollama resource.
addModel(modelName: string): OllamaModelResource
modelName string
OllamaModelResource

Defined on

This method is defined on the following type: