Skip to content
Docs Try Aspire

OllamaExecutableResource Properties

Class Properties 6 members
A resource that represents an Ollama executable resource.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the Ollama server.
public ReferenceExpression ConnectionStringExpression { get; }
Host Section titled Host EndpointReferenceExpression
Gets the host endpoint reference for this resource.
public EndpointReferenceExpression Host { get; }
Models Section titled Models IReadOnlyList<string>
Gets the list of models to download on initial startup.
public IReadOnlyList<string> Models { get; }
Port Section titled Port EndpointReferenceExpression
Gets the port endpoint reference for this resource.
public EndpointReferenceExpression Port { get; }
PrimaryEndpoint Section titled PrimaryEndpoint EndpointReference
Gets the endpoint for the Ollama server.
public EndpointReference PrimaryEndpoint { get; }
UriExpression Section titled UriExpression ReferenceExpression
Gets the connection URI expression for the Ollama server.
public ReferenceExpression UriExpression { get; }
Format: http://{host}:{port}.