From 468509695058ba369fb13abbd4563585c6d41053 Mon Sep 17 00:00:00 2001 From: star-nox Date: Tue, 24 Oct 2023 16:25:29 -0500 Subject: [PATCH] undo the last commit --- ai_ta_backend/vector_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai_ta_backend/vector_database.py b/ai_ta_backend/vector_database.py index 22f3ca0a..9378af8a 100644 --- a/ai_ta_backend/vector_database.py +++ b/ai_ta_backend/vector_database.py @@ -765,7 +765,7 @@ def split_and_upload(self, texts: List[str], metadatas: List[Dict[str, Any]]): "text": context.page_content, "pagenumber": context.metadata.get('pagenumber'), "timestamp": context.metadata.get('timestamp'), - #"embedding": embeddings_dict[context.page_content] + "embedding": embeddings_dict[context.page_content] } for context in contexts] document = {