Skip to content
Docs Try Aspire
Docs Try

OllamaModelResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Ollama v13.4.0
interface OllamaModelResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParent,
IOllamaResource]],
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly modelName: string;
readonly parent: IOllamaResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string expression for the Ollama model.
property modelName string get
Gets the model name.
property parent IOllamaResource get
Gets the parent Ollama resource.