From 0e53403d5d619bc4809dcf85ea0715516902bb2a Mon Sep 17 00:00:00 2001 From: Alex Komoroske Date: Sun, 12 Nov 2023 10:43:20 -0700 Subject: [PATCH] Make log statements include the qdrant ID as well as card_id. Part of #646. Part of #670. --- functions/src/embeddings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/src/embeddings.ts b/functions/src/embeddings.ts index db4b6060..08d0a064 100644 --- a/functions/src/embeddings.ts +++ b/functions/src/embeddings.ts @@ -343,7 +343,7 @@ class EmbeddingStore { } }); - console.log(`Updated the metadata for ${card.id} because its embedding had not changed`); + console.log(`Updated the metadata for ${card.id} (${existingPoint.id}) because its embedding had not changed`); return; } @@ -372,7 +372,7 @@ class EmbeddingStore { ] }); - console.log(`Stored embedding for ${card.id}`); + console.log(`Stored embedding for ${card.id} (${id})`); } async deleteCard(card : Card) : Promise {