aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-08-29 09:51:38 +0300
committerAlexander_Kabui2024-08-29 09:51:38 +0300
commit231cbd69ed5292451b976091e117d819e5466b30 (patch)
tree62f6c190bce93936d16ad6fdb9e00f5f6987ea95
parent7d79812db623d12474422a9613c81f35e25aef55 (diff)
downloadgenenetwork3-231cbd69ed5292451b976091e117d819e5466b30.tar.gz
Update gnqa search endpoint from POST to PUT.
-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 228d3fa..d56a3d2 100644
--- a/gn3/api/llm.py
+++ b/gn3/api/llm.py
@@ -15,7 +15,7 @@ from gn3.auth import db
gnqa = Blueprint("gnqa", __name__)
-@gnqa.route("/search", methods=["POST"])
+@gnqa.route("/search", methods=["PUT"])
def search():
"""Api endpoint for searching queries in fahamu Api"""
query = request.json.get("querygnqa", "")