Spaces:
Build error
Build error
Commit ·
69983c5
1
Parent(s): c2c40bf
Update weaviate_utils.py
Browse files13 unmodified lines1415161718171819202122202122232425262728293031323313 unmodified lines # Construct the search query search_query = { "path": ["*"], "where": { "path": ["*"], "operator": "fuzzy", "value": query "operator": "Like", "valueString": query } }
# Perform the hybrid search results = client.query.get(selected_class, ["*"], where=search_query) # Updated this line # Perform the search results = client.query.get(selected_class, ["*"]) return results
def convert_to_tapas_format(data): """ Convert the list of dictionaries (from Weaviate) into the format TAPAS expects.weaviate_utils.py+9-5