From 8e5d2dae9401df0cdc620b7c3a3e16b84b8925be Mon Sep 17 00:00:00 2001 From: Boris Date: Sat, 17 Feb 2024 17:44:45 +0100 Subject: [PATCH] fix: replace logging function in classify_documents.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- cognitive_architecture/classifiers/classify_documents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognitive_architecture/classifiers/classify_documents.py b/cognitive_architecture/classifiers/classify_documents.py index 07aff6d76..d97d8ee1f 100644 --- a/cognitive_architecture/classifiers/classify_documents.py +++ b/cognitive_architecture/classifiers/classify_documents.py @@ -59,6 +59,6 @@ async def classify_documents(query: str, document_id: str, content: str): {"query": query, "d_id": document_id, "context": str(document_context)} ) arguments_str = classifier_output.additional_kwargs["function_call"]["arguments"] - print("This is the arguments string", arguments_str) + logging.info("This is the arguments string %s", arguments_str) arguments_dict = json.loads(arguments_str) return arguments_dict \ No newline at end of file