Spaces:
Build error
Build error
Commit ·
faa37d1
1
Parent(s): 475a4a4
Update weaviate_utils.py
Browse files20 unmodified lines212223242524252627272829303132333420 unmodified lines } } # Perform the search results = client.query.get(selected_class, ["*"]) # Execute the query and retrieve the results results = client.query.get(selected_class, search_query).do() return results # Extract the data objects from the results data_objects = results.get('data', {}).get('Get', {}).get('Things', []) return data_objects
def convert_to_tapas_format(data):weaviate_utils.py+7-3