2 writes to Endpoint
Aspire.Azure.AI.Inference (2)
ChatCompletionsClientSettings.cs (2)
148Endpoint = serviceUri; 152Endpoint = serviceUri;
9 references to Endpoint
Aspire.Azure.AI.Inference (9)
AspireAzureAIInferenceExtensions.cs (8)
147if (settings.Endpoint is null) 149throw new InvalidOperationException($"A ChatCompletionsClient could not be configured. Ensure valid connection information was provided in 'ConnectionStrings:{connectionName}' or specify a '{nameof(ChatCompletionsClientSettings.Endpoint)}' and optionally a '{nameof(ChatCompletionsClientSettings.Key)}' in the '{configurationSectionName}' configuration section."); 153var endpoint = settings.Endpoint; 193=> !settings.DisableHealthChecks && SupportsModelInfoHealthCheck(settings.Endpoint); 400if (settings.Endpoint is null) 402throw new InvalidOperationException($"A EmbeddingsClient could not be configured. Ensure valid connection information was provided in 'ConnectionStrings:{connectionName}' or specify a '{nameof(ChatCompletionsClientSettings.Endpoint)}' and optionally a '{nameof(ChatCompletionsClientSettings.Key)}' in the '{configurationSectionName}' configuration section."); 406var endpoint = settings.Endpoint; 446=> !settings.DisableHealthChecks && SupportsModelInfoHealthCheck(settings.Endpoint);
ChatCompletionsClientSettings.cs (1)
19/// If <see cref="ConnectionString"/> is set, it overrides <see cref="Endpoint"/>, <see cref="DeploymentName"/> and <see cref="TokenCredential"/>.