OpenAIModelResource
Classnet10.0
Represents an OpenAI Model resource.
namespace Aspire.Hosting.OpenAI;
public class OpenAIModelResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.OpenAI.OpenAIResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<OpenAIResource>IValueProviderIValueWithReferences
5 members
Constructors1
Section titled Constructors Initializes a new instance of the
OpenAIModelResource class. Properties4
Section titled PropertiesReferenceExpression Gets the connection string expression for the OpenAI Model resource.
Parentget Parent OpenAI account resource from which settings (like API key) can be shared.