From fbba1ee3f705ea6178063317259416489e362241 Mon Sep 17 00:00:00 2001 From: Augustas Date: Tue, 12 Nov 2024 14:46:02 +0200 Subject: [PATCH] fix docs for RecommenderItem id property --- docs/3_add_items_and_interactions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/3_add_items_and_interactions.md b/docs/3_add_items_and_interactions.md index dcf18af..1588225 100644 --- a/docs/3_add_items_and_interactions.md +++ b/docs/3_add_items_and_interactions.md @@ -38,8 +38,8 @@ To add multiple items efficiently: from weaviate_recommend.models.data import RecommenderItem items = [ - RecommenderItem(uuid="id1", properties={"property1": "value1", ...}), - RecommenderItem(uuid="id2", properties={"property1": "value2", ...}), + RecommenderItem(id="id1", properties={"property1": "value1", ...}), + RecommenderItem(id="id2", properties={"property1": "value2", ...}), # Add more items as needed ]