Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def post_json():
|
|
110 |
content_type = request.headers.get('Content-Type')
|
111 |
if (content_type == 'application/json'):
|
112 |
requestQuery = request.get_json()
|
113 |
-
print()
|
114 |
|
115 |
relevantDoc=vectordb.similarity_search_with_score(requestQuery['query'],distance_metric="cos", k = 3)
|
116 |
searchResultArray=[]
|
|
|
110 |
content_type = request.headers.get('Content-Type')
|
111 |
if (content_type == 'application/json'):
|
112 |
requestQuery = request.get_json()
|
113 |
+
print("Search Query:"+requestQuery['query'])
|
114 |
|
115 |
relevantDoc=vectordb.similarity_search_with_score(requestQuery['query'],distance_metric="cos", k = 3)
|
116 |
searchResultArray=[]
|