Spaces:
Build error
Build error
Commit
·
6a501ae
1
Parent(s):
fcb0172
Update weaviate_utils.py
Browse files- weaviate_utils.py +2 -0
weaviate_utils.py
CHANGED
|
@@ -12,6 +12,8 @@ def hybrid_search_weaviate(client, selected_class, query):
|
|
| 12 |
Return the results as a list of dictionaries.
|
| 13 |
"""
|
| 14 |
# Construct the hybrid search query
|
|
|
|
|
|
|
| 15 |
search_query = {
|
| 16 |
"class": selected_class,
|
| 17 |
"properties": [], # Retrieve all properties for now
|
|
|
|
| 12 |
Return the results as a list of dictionaries.
|
| 13 |
"""
|
| 14 |
# Construct the hybrid search query
|
| 15 |
+
st.write(f"Search query type: {type(search_query)}, Value: {search_query}")
|
| 16 |
+
|
| 17 |
search_query = {
|
| 18 |
"class": selected_class,
|
| 19 |
"properties": [], # Retrieve all properties for now
|