OllamaModelResource
Class net10.0
A resource that represents an ollama model.
namespace Aspire.Hosting.ApplicationModel;
public class OllamaModelResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.ApplicationModel.IOllamaResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<IOllamaResource>IValueProviderIValueWithReferences
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Ollama model.
ModelNamegetstring Gets the model name.
Parentget Gets the parent Ollama resource.