From 177983613dc599d1a0327aac7026599be146edf1 Mon Sep 17 00:00:00 2001 From: chloe Date: Wed, 18 Mar 2026 23:32:00 +0000 Subject: [PATCH] updated dimensions --- Seasoned.Backend/Services/RecipeService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Seasoned.Backend/Services/RecipeService.cs b/Seasoned.Backend/Services/RecipeService.cs index 01767e2..bba3e64 100644 --- a/Seasoned.Backend/Services/RecipeService.cs +++ b/Seasoned.Backend/Services/RecipeService.cs @@ -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);