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);