ppsingh commited on
Commit
48e59f7
·
1 Parent(s): e56a788

gettign payload

Browse files
app.py CHANGED
@@ -30,6 +30,7 @@ results = hybrid_search(client, var, collection_name)
30
 
31
 
32
 
 
33
  button=st.button("search")
34
  #found_docs = vectorstore.similarity_search(var)
35
  #print(found_docs)
 
30
 
31
 
32
 
33
+
34
  button=st.button("search")
35
  #found_docs = vectorstore.similarity_search(var)
36
  #print(found_docs)
appStore/__pycache__/embed.cpython-310.pyc CHANGED
Binary files a/appStore/__pycache__/embed.cpython-310.pyc and b/appStore/__pycache__/embed.cpython-310.pyc differ
 
appStore/__pycache__/search.cpython-310.pyc CHANGED
Binary files a/appStore/__pycache__/search.cpython-310.pyc and b/appStore/__pycache__/search.cpython-310.pyc differ
 
appStore/search.py CHANGED
@@ -28,6 +28,7 @@ def hybrid_search(client, query, collection_name):
28
  vector=q_dense,
29
  ),
30
  limit=10,
 
31
  ),
32
  models.SearchRequest(
33
  vector=models.NamedSparseVector(
@@ -38,13 +39,10 @@ def hybrid_search(client, query, collection_name):
38
  ),
39
  ),
40
  limit=10,
 
41
  ),
42
  ],)
43
 
44
 
45
-
46
-
47
-
48
- print(results)
49
  return results
50
 
 
28
  vector=q_dense,
29
  ),
30
  limit=10,
31
+ with_payload = True,
32
  ),
33
  models.SearchRequest(
34
  vector=models.NamedSparseVector(
 
39
  ),
40
  ),
41
  limit=10,
42
+ with_payload = True,
43
  ),
44
  ],)
45
 
46
 
 
 
 
 
47
  return results
48