2 writes to HttpClient
Microsoft.Extensions.AI.Evaluation.Safety (2)
ContentSafetyServiceConfiguration.cs (2)
139HttpClient = httpClient; 180HttpClient = httpClient;
9 references to HttpClient
Microsoft.Extensions.AI.Evaluation.Safety (9)
ContentSafetyService.cs (1)
41private readonly HttpClient _httpClient = serviceConfiguration.HttpClient ?? SharedHttpClient;
ContentSafetyServiceConfiguration.cs (8)
67/// Gets the <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 71/// While supplying an <see cref="HttpClient"/> is optional, it is recommended to supply one that is configured 109/// The <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 110/// service. While the parameter is optional, it is recommended to supply an <see cref="HttpClient"/> that is 154/// The <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 155/// service. While the parameter is optional, it is recommended to supply an <see cref="HttpClient"/> that is 195/// The <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 196/// service. While the parameter is optional, it is recommended to supply an <see cref="HttpClient"/> that is