From 52ab2c8e055313aea84f9a1297c97de0d57e84cd Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 30 Oct 2023 21:20:56 -0400 Subject: [PATCH] remove cruft --- sciphi/interface/llm/sciphi_interface.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sciphi/interface/llm/sciphi_interface.py b/sciphi/interface/llm/sciphi_interface.py index 119de8d..cbe8266 100644 --- a/sciphi/interface/llm/sciphi_interface.py +++ b/sciphi/interface/llm/sciphi_interface.py @@ -122,7 +122,6 @@ def get_completion( prompt_with_context, generation_config ).strip() completion += latest_completion - print("latest_completion = ", latest_completion) if not completion.endswith(SciPhiFormatter.RETRIEVAL_TOKEN): break @@ -132,7 +131,6 @@ def get_completion( else f"{SciPhiFormatter.remove_cruft(completion)}" ) context = self.rag_interface.get_contexts([context_query])[0] - print("context = ", context) completion += f"{SciPhiFormatter.INIT_PARAGRAPH_TOKEN}{context}{SciPhiFormatter.END_PARAGRAPH_TOKEN}" return SciPhiFormatter.remove_cruft(completion)