OpenAIResource Properties

ClassProperties5 members
Represents a logical OpenAI account/configuration that can host one or more OpenAIModelResource children.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the base connection string for the OpenAI account.
public ReferenceExpression ConnectionStringExpression { get; }
Gets or sets the service endpoint base URI for OpenAI-compatible services. Defaults to https://api.openai.com/v1.
public string Endpoint { get; }
KeySection titled KeyParameterResource
Gets or sets the API key for accessing OpenAI.
public ParameterResource Key { get; }
ResourceTypeDisplayNameSection titled ResourceTypeDisplayNameoverridestring
Gets the default human-readable name of this resource's type.
public override string ResourceTypeDisplayName { get; }
Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use ResourceBuilderExtensions.WithResourceTypeDisplayName to override the label for an instance.
UriExpressionSection titled UriExpressionReferenceExpression
Gets the endpoint URI expression for the OpenAI account.
public ReferenceExpression UriExpression { get; }
Format matches the configured endpoint, for example https://api.openai.com/v1.