Changed embedding model

This commit is contained in:
2026-03-18 22:38:12 +00:00
parent bec0f37623
commit fef54f8cf3

View File

@@ -22,7 +22,7 @@ public class RecipeService : IRecipeService
public async Task<Vector> GetEmbeddingAsync(string text)
{
var model = _googleAI.GenerativeModel("text-embedding-004");
var model = _googleAI.GenerativeModel("embedding-001");
var response = await model.EmbedContent(text);