From d5c93b634ed0eedc626928254dcbd57ad859a423 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 1 May 2024 02:33:39 +0300 Subject: Debug Process for LLM_DB_PATH * this commit is a debugging process for llm_path on cd * issue: writes to db but not correct path --- gn3/api/llm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gn3/api/llm.py b/gn3/api/llm.py index b1eead9..5a694a3 100644 --- a/gn3/api/llm.py +++ b/gn3/api/llm.py @@ -86,7 +86,8 @@ def rating(task_id): """, (str(user_id), query, answer, weight, task_id)) return { "message": "success", - "status": 0 + "status": 0, + "llm_db_path": LLM_DB_PATH }, 200 except sqlite3.Error as error: return jsonify({"error": str(error), "user": token.user.user_id, -- cgit v1.2.3