updated dimensions

This commit is contained in:
2026-03-18 23:32:00 +00:00
parent 1da7ea10c1
commit 177983613d

View File

@@ -30,7 +30,8 @@ public class RecipeService : IRecipeService
var requestBody = new
{
model = "models/gemini-embedding-001",
content = new { parts = new[] { new { text = text } } }
content = new { parts = new[] { new { text = text } } },
outputDimensionality = 768
};
var response = await client.PostAsJsonAsync(url, requestBody);