From aaa01e84b9096cca9aa6adb5ce742ee06114ceae Mon Sep 17 00:00:00 2001 From: chloe Date: Wed, 18 Mar 2026 23:01:41 +0000 Subject: [PATCH] Update embedding model --- Seasoned.Backend/Services/RecipeService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Seasoned.Backend/Services/RecipeService.cs b/Seasoned.Backend/Services/RecipeService.cs index 4ebe622..536c73d 100644 --- a/Seasoned.Backend/Services/RecipeService.cs +++ b/Seasoned.Backend/Services/RecipeService.cs @@ -22,8 +22,7 @@ public class RecipeService : IRecipeService public async Task GetEmbeddingAsync(string text) { - var model = _googleAI.GenerativeModel("embedding-001"); - + var model = _googleAI.GenerativeModel("gemini-embedding-001"); var response = await model.EmbedContent(text); if (response.Embedding?.Values != null)