diff options
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/api/llm.py | 2 |
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", "") |