From 563727899ff0f5e1eef3f662c5a7da2ca432843d Mon Sep 17 00:00:00 2001 From: Ismael Cruz Date: Thu, 5 Dec 2024 15:53:45 -0500 Subject: [PATCH] remove debugging comments --- utils/recipes.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/utils/recipes.py b/utils/recipes.py index 0c947e49..46de730b 100644 --- a/utils/recipes.py +++ b/utils/recipes.py @@ -88,13 +88,9 @@ def initialize_vector_db(): db = {} embedding_model, chat = get_models() - print(f'### embedding model: {embedding_model} ###') - print(f'### chat: {chat} ###') # This will create store tables if they don't exist - print('### create store tables ###') for mem_type in similarity_cutoff.keys(): - print(f'### {mem_type} ###') COLLECTION_NAME = f"{mem_type}_embedding" db[mem_type] = PGVector( collection_name=COLLECTION_NAME, @@ -102,7 +98,6 @@ def initialize_vector_db(): embedding_function=embedding_model, create_extension=False, ) - print(f'### {mem_type} SUCCESS ###') return db @@ -182,7 +177,6 @@ def check_recipe_memory(intent, debug=True): if debug: print(f"======= Checking {mem_type} for intent: {intent}") docs = db[mem_type].similarity_search_with_score(intent, k=3) - print('### docs SUCCESS ###') for d in docs: score = d[1] content = d[0].page_content