jskinner215 commited on
Commit
5a6d9a0
·
1 Parent(s): 3ceb12a

Update weaviate_utils.py

Browse files
Files changed (1) hide show
  1. weaviate_utils.py +1 -1
weaviate_utils.py CHANGED
@@ -12,7 +12,7 @@ def hybrid_search_weaviate(client, selected_class, query):
12
  Return the results as a list of dictionaries.
13
  """
14
  # Perform the hybrid search
15
- results = client.data_object.get_by_search(
16
  className=selected_class,
17
  query=query,
18
  filters=None, # No additional filters for now
 
12
  Return the results as a list of dictionaries.
13
  """
14
  # Perform the hybrid search
15
+ results = client.data_object.search(
16
  className=selected_class,
17
  query=query,
18
  filters=None, # No additional filters for now