2 writes to Endpoint
Aspire.Azure.AI.Inference (2)
ChatCompletionsClientSettings.cs (2)
140
Endpoint
= serviceUri;
144
Endpoint
= serviceUri;
7 references to Endpoint
Aspire.Azure.AI.Inference (7)
AspireAzureAIInferenceExtensions.cs (6)
146
if (settings.
Endpoint
is null)
148
throw 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.");
152
var endpoint = settings.
Endpoint
;
399
if (settings.
Endpoint
is null)
401
throw 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.");
405
var endpoint = settings.
Endpoint
;
ChatCompletionsClientSettings.cs (1)
19
/// If <see cref="ConnectionString"/> is set, it overrides <see cref="
Endpoint
"/>, <see cref="DeploymentName"/> and <see cref="TokenCredential"/>.