From 84c1ed87375d96bbf6988edebf92669028c2497d Mon Sep 17 00:00:00 2001 From: Cyberes Date: Thu, 5 Oct 2023 17:58:23 -0600 Subject: [PATCH] t --- llm_server/database/log_to_db.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llm_server/database/log_to_db.py b/llm_server/database/log_to_db.py index e971747..76712ff 100644 --- a/llm_server/database/log_to_db.py +++ b/llm_server/database/log_to_db.py @@ -24,5 +24,6 @@ def log_to_db(ip: str, token: str, prompt: str, response: Union[str, None], gen_ 'is_error': is_error } } - print(data) + for k, v in data['kwargs'].items(): + print(k, type(v)) r.publish('database-logger', pickle.dumps(data))