in reference-implementations/semantic-search-for-images/src/ingestion/Services/ImageService.cs [70:77]
public async Task<float[]> GenerateImageEmbeddings(string imageUrl) {
CheckForNullImageUrl(imageUrl);
var jsonPayload = JsonSerializer.Serialize(new { url = imageUrl });
var requestContent = new StringContent(jsonPayload, new MediaTypeHeaderValue("application/json"));
return await GenerateImageEmbeddings(requestContent);
}