about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn3/api/llm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py
index aff01cb..d22a42c 100644
--- a/gn3/api/llm.py
+++ b/gn3/api/llm.py
@@ -73,7 +73,7 @@ def rating(task_id):
                                               results.get("query"),
                                               results.get("answer"),
                                               results.get("weight", 0))
-            with db.connection(current_app.config["GNQA_DB"]) as conn:
+            with db.connection(current_app.config["DATA_DIR"]) as conn:
                 cursor = conn.cursor()
                 create_table = """CREATE TABLE IF NOT EXISTS Rating(
                       user_id INTEGER NOT NULL,