Spaces:
Build error
Build error
Commit ·
c2c40bf
1
Parent(s): 7caec77
Update weaviate_utils.py
Browse files18 unmodified lines19202122222324252627282918 unmodified lines }
# Perform the hybrid search results = client.query.get(selected_class, ["*"], filters=search_query) # Updated this line results = client.query.get(selected_class, ["*"], where=search_query) # Updated this line return results
def convert_to_tapas_format(data): """ Convert the list of dictionaries (from Weaviate) into the format TAPAS expects.weaviate_utils.py+2-1