OllamaModelResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Ollama v13.6.1

A resource that represents an ollama model.

type OllamaModelResource interface {
ExpressionValue
Resource
ResourceWithConnectionString
ResourceWithParent
}

Properties

propertyConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the Ollama model.
ConnectionStringExpression() *ReferenceExpression
propertyModelNamestringget
Gets the model name.
ModelName() (string, error)
propertyParentOllamaResourceget
Gets the parent Ollama resource.
Parent() OllamaResource