2 writes to Endpoint
Aspire.Azure.AI.Inference (2)
ChatCompletionsClientSettings.cs (2)
140Endpoint = serviceUri; 144Endpoint = serviceUri;
7 references to Endpoint
Aspire.Azure.AI.Inference (7)
AspireAzureAIInferenceExtensions.cs (6)
146if (settings.Endpoint is null) 148throw 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."); 152var endpoint = settings.Endpoint; 399if (settings.Endpoint is null) 401throw 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."); 405var 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"/>.