Skip to content

Commit fef25bc

Browse files
authored
Fix(docs): Correct code snippet in vector-search tutorial (#46607)
1 parent ef37919 commit fef25bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ai/tutorials/tutorial-ai-vector-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ When you run the app for the first time, it connects to Azure Cosmos DB and repo
7474
var jsonString= System.IO.File.ReadAllText(f);
7575
Recipe recipe = JsonConvert.DeserializeObject<Recipe>(jsonString);
7676
recipe.id = recipe.name.ToLower().Replace(" ", "");
77-
ret.Add(recipe);
77+
recipes.Add(recipe);
7878
}
7979
);
8080

0 commit comments

Comments
 (0)