diff --git a/app/core_llm.py b/app/core_llm.py index 232806c..3f78aa0 100755 --- a/app/core_llm.py +++ b/app/core_llm.py @@ -120,7 +120,7 @@ def semantic_search( "collections": collections, "k": limit, } - response = requests.get(f"{url}/search", headers=headers, json=params) + response = requests.post(f"{url}/search", headers=headers, json=params) log_and_raise_for_status(response) data = response.json() chunks = [v["chunk"]["metadata"] for v in data["data"]]