2 writes to HttpClient
Microsoft.Extensions.AI.Evaluation.Safety (2)
ContentSafetyServiceConfiguration.cs (2)
138HttpClient = httpClient; 178HttpClient = 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 153/// The <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 154/// service. While the parameter is optional, it is recommended to supply an <see cref="HttpClient"/> that is 193/// The <see cref="HttpClient"/> that should be used when communicating with the Azure AI Foundry Evaluation 194/// service. While the parameter is optional, it is recommended to supply an <see cref="HttpClient"/> that is