aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/llms/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/llms/process.py b/gn3/llms/process.py
index eba7e4b..d53a7fd 100644
--- a/gn3/llms/process.py
+++ b/gn3/llms/process.py
@@ -118,7 +118,7 @@ def get_gnqa(query, auth_token, data_dir=""):
"""
api_client = GeneNetworkQAClient(api_key=auth_token)
- res, task_id = api_client.ask('?ask=' + quote(query), auth_token)
+ res, task_id = api_client.ask('?ask=' + quote(query), query=query)
if task_id == 0:
raise RuntimeError(f"Error connecting to Fahamu Api: {str(res)}")
res, status = api_client.get_answer(task_id)