OllamaExecutableResource
Class net10.0
A resource that represents an Ollama executable resource.
namespace Aspire.Hosting.ApplicationModel;
public class OllamaExecutableResource : Aspire.Hosting.ApplicationModel.ExecutableResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IOllamaResource, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithEndpoints, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ExecutableResourceIManifestExpressionProviderIOllamaResourceIResourceIResourceWithConnectionStringIResourceWithEndpointsIValueProviderIValueWithReferences
8 members
Remarks
Section titled Remarks Constructs an
OllamaExecutableResource. Constructors1
Section titled ConstructorsProperties6
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Ollama server.
HostgetEndpointReferenceExpression Gets the host endpoint reference for this resource.
ModelsgetIReadOnlyList<string> Gets the list of models to download on initial startup.
PortgetEndpointReferenceExpression Gets the port endpoint reference for this resource.
PrimaryEndpointgetEndpointReference Gets the endpoint for the Ollama server.
UriExpressiongetReferenceExpression Gets the connection URI expression for the Ollama server.