aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn3/api/llm.py3
1 files changed, 2 insertions, 1 deletions
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,