GitHubModelResource
Class net10.0
Represents a GitHub Model resource.
namespace Aspire.Hosting.GitHub.Models;
public class GitHubModelResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
6 members
Constructors1
Section titled ConstructorsGitHubModelResource(string, string, ParameterResource?, ParameterResource) Initializes a new instance of the
GitHubModelResource class. Properties5
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the GitHub Models resource.
KeygetParameterResource Gets or sets the API key (PAT or GitHub App minted token) for accessing GitHub Models.
Modelget; setstring Gets or sets the model name, e.g., "openai/gpt-4o-mini".
Organizationget; setParameterResource? Gets or sets the organization login associated with the organization to which the request is to be attributed.
UriExpressiongetReferenceExpression Gets the endpoint URI expression for the GitHub Models resource.