2 writes to HttpClient
Microsoft.Extensions.AI.Evaluation.Safety (2)
ContentSafetyServiceConfiguration.cs (2)
133HttpClient = httpClient; 173HttpClient = httpClient;
9 references to HttpClient
Microsoft.Extensions.AI.Evaluation.Safety (9)
ContentSafetyService.cs (1)
36private readonly HttpClient _httpClient = serviceConfiguration.HttpClient ?? SharedHttpClient;
ContentSafetyServiceConfiguration.cs (8)
62/// Gets the <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 66/// While supplying an <see cref="HttpClient"/> is optional, it is recommended to supply one that is configured 104/// The <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 105/// service. While the parameter is optional, it is recommended to supply an <see cref="HttpClient"/> that is 148/// The <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 149/// service. While the parameter is optional, it is recommended to supply an <see cref="HttpClient"/> that is 188/// The <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 189/// service. While the parameter is optional, it is recommended to supply an <see cref="HttpClient"/> that is