1 write to Endpoint
Aspire.Azure.AI.Inference (1)
ChatCompletionsClientSettings.cs (1)
113Endpoint = serviceUri;
6 references to Endpoint
Aspire.Azure.AI.Inference (6)
AspireAzureAIInferenceExtensions.cs (4)
110if (settings.Endpoint is null) 112throw 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."); 120return new ChatCompletionsClient(settings.Endpoint, credential, options); 124return new ChatCompletionsClient(settings.Endpoint, settings.TokenCredential ?? new DefaultAzureCredential(), options);
ChatCompletionsClientSettings.cs (2)
22/// If <see cref="ConnectionString"/> is set, it overrides <see cref="Endpoint"/>, <see cref="DeploymentId"/> and <see cref="Credential"/>. 111if (connectionBuilder.TryGetValue(nameof(Endpoint), out var endpoint) && Uri.TryCreate(endpoint.ToString(), UriKind.Absolute, out var serviceUri))