aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-12 12:44:41 +0300
committerAlexander_Kabui2024-09-12 12:44:41 +0300
commit090e5e0c41db2068d7e55684e320b287adc34bab (patch)
treea16499fc905ec302d28fa3bfb695e38a34921695 /gn3
parente8826ef0cc76acabbb83f34fa68a8f640905c6ea (diff)
downloadgenenetwork3-090e5e0c41db2068d7e55684e320b287adc34bab.tar.gz
Make the gnqa search endpoint a get request.
Diffstat (limited to 'gn3')
-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 358ef77..e23429e 100644
--- a/gn3/api/llm.py
+++ b/gn3/api/llm.py
@@ -16,7 +16,7 @@ from gn3.auth import db
gnqa = Blueprint("gnqa", __name__)
-@gnqa.route("/search", methods=["PUT"])
+@gnqa.route("/search", methods=["GET"])
def search():
"""Api endpoint for searching queries in fahamu Api"""
query = request.args.get("query", "")