Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

OllamaExecutableResource

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

A resource that represents an Ollama executable resource.

type OllamaExecutableResource interface {
ExpressionValue
IComputeResource
OllamaResource
Resource
ResourceWithArgs
ResourceWithConnectionString
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithWaitSupport
}

Properties

propertyConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the Ollama server.
ConnectionStringExpression() *ReferenceExpression
propertyHostEndpointReferenceExpressionget
Gets the Host property
Host() EndpointReferenceExpression
propertyModels[]stringget
Gets the Models property
Models() ([]string, error)
propertyPortEndpointReferenceExpressionget
Gets the Port property
Port() EndpointReferenceExpression
propertyPrimaryEndpointEndpointReferenceget
Gets the PrimaryEndpoint property
PrimaryEndpoint() EndpointReference
propertyUriExpression*ReferenceExpressionget
Gets the UriExpression property
UriExpression() *ReferenceExpression