From fef54f8cf3f2bfbb88f70f4a5b922c5fb9bb2e06 Mon Sep 17 00:00:00 2001 From: chloe Date: Wed, 18 Mar 2026 22:38:12 +0000 Subject: [PATCH] Changed embedding model --- Seasoned.Backend/Services/RecipeService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Seasoned.Backend/Services/RecipeService.cs b/Seasoned.Backend/Services/RecipeService.cs index 4597379..4ebe622 100644 --- a/Seasoned.Backend/Services/RecipeService.cs +++ b/Seasoned.Backend/Services/RecipeService.cs @@ -22,7 +22,7 @@ public class RecipeService : IRecipeService public async Task GetEmbeddingAsync(string text) { - var model = _googleAI.GenerativeModel("text-embedding-004"); + var model = _googleAI.GenerativeModel("embedding-001"); var response = await model.EmbedContent(text);