Skip to content
DocsTry Aspire
DocsTry

IOllamaResource Properties

InterfaceProperties5 members
Represents an Ollama resource.
HostSection titled HostabstractEndpointReferenceExpression
Gets the host endpoint reference for this resource.
public abstract EndpointReferenceExpression Host { get; }
ModelsSection titled ModelsabstractIReadOnlyList<string>
Gets the list of models to download on initial startup.
public abstract IReadOnlyList<string> Models { get; }
PortSection titled PortabstractEndpointReferenceExpression
Gets the port endpoint reference for this resource.
public abstract EndpointReferenceExpression Port { get; }
PrimaryEndpointSection titled PrimaryEndpointabstractEndpointReference
Gets the endpoint for the Ollama server.
public abstract EndpointReference PrimaryEndpoint { get; }
UriExpressionSection titled UriExpressionabstractReferenceExpression
Gets the connection URI expression for the Ollama server.
public abstract ReferenceExpression UriExpression { get; }
Format: http://{host}:{port}.