Skip to content
Docs Try Aspire
Docs Try

IOllamaResource.addNamedModel

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

Signature

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

Defined on

This method is defined on the following type: