summaryrefslogtreecommitdiff
path: root/issues
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-01-04 14:32:13 +0300
committerMunyoki Kilyungi2024-01-04 14:32:13 +0300
commit162867cff40d1fa4b0855afd2aa1fde87ccb9d89 (patch)
tree928d96bbf0bc240f3d018616a786e6d94d4ee16c /issues
parentd3d3987985dd4575a60124994ec400e92cc81f74 (diff)
downloadgn-gemtext-162867cff40d1fa4b0855afd2aa1fde87ccb9d89.tar.gz
Create new issue on troubleshooting querying RDF questions.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'issues')
-rw-r--r--issues/trouble-shoot-500-on-llm-website.gmi46
1 files changed, 46 insertions, 0 deletions
diff --git a/issues/trouble-shoot-500-on-llm-website.gmi b/issues/trouble-shoot-500-on-llm-website.gmi
new file mode 100644
index 0000000..1971349
--- /dev/null
+++ b/issues/trouble-shoot-500-on-llm-website.gmi
@@ -0,0 +1,46 @@
+# Troubleshoot https://luna.genenetwork.org/ai/ asking questions
+
+## Tags
+
+* assigned: bonfacem, soloshelby
+* priority: high
+* type: llm
+* keywords: llm
+* status: in progress
+
+## Description
+
+We have the following stack-trace in https://luna.genenetwork.org/ai/ when trying to ask a question:
+
+```
+Traceback (most recent call last):
+
+File "/gnu/store/6sb4qzhkck3kwpl6wwjyrhjrvbysy81s-profile/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app response = self.full_dispatch_request()
+
+File "/gnu/store/6sb4qzhkck3kwpl6wwjyrhjrvbysy81s-profile/lib/python3.10/site-packages/flask/app.py", line 1525, in full_dispatch_request
+
+rv = self.handle_user_exception(e) File "/gnu/store/6sb4qzhkck3kwpl6wwjyrhjrvbysy81s-profile/lib/python3.10/site-packages/flask/app.py", line 1523, in full_dispatch_request rv
+= self.dispatch_request() File "/gnu/store/6sb4qzhkck3kwpl6wwjyrhjrvbysy81s-profile/lib/python3.10/site-packages/flask/app.py", line 1509, in dispatch_request return
+self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File "/export5/data/shelbys/code/GN-LLMs/material-flask/apps/authentication/routes.py", line 113, in gnqa answer, refs = getGNQA(query)
+File "/export5/data/shelbys/code/GN-LLMs/material-flask/apps/apihandler/process.py", line 78, in getGNQA
+
+res, task_id = apiClient.ask('?ask=' + query)
+
+File "/export5/data/shelbys/code/GN-LLMs/material-flask/apps/apihandler/client.py", line 81, in ask
+
+res = self.custom_request('POST', askUrl, *args, **kwargs)
+
+File "/export5/data/shelbys/code/GN-LLMs/material-flask/apps/apihandler/client.py", line 108, in custom_request
+
+return self.process_response(response)
+
+File "/export5/data/shelbys/code/GN-LLMs/material-flask/apps/apihandler/client.py", line 117, in process_response
+
+response.raise_for_status()
+
+File "/gnu/store/6sb4qzhkck3kwpl6wwjyrhjrvbysy81s-profile/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
+
+raise HTTPError(http_error_msg, response=self)
+
+requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://genenetwork.fahamuai.com/api/tasks? ask=Give%20me%20a%20dataset%20related%20to%20diabetes%20in%20GeneNetwork.org.
+```