IOllamaResource
Interface net10.0
Represents an Ollama resource.
namespace Aspire.Hosting.ApplicationModel;
public interface IOllamaResource : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithEndpoints, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} IManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithEndpointsIValueProviderIValueWithReferences
6 members
Properties5
Section titled PropertiesHostabstractgetEndpointReferenceExpression Gets the host endpoint reference for this resource.
ModelsabstractgetIReadOnlyList<string> Gets the list of models to download on initial startup.
PortabstractgetEndpointReferenceExpression Gets the port endpoint reference for this resource.
PrimaryEndpointabstractgetEndpointReference Gets the endpoint for the Ollama server.
UriExpressionabstractgetReferenceExpression Gets the connection URI expression for the Ollama server.