jskinner215 commited on
Commit
093848b
·
1 Parent(s): e26e61e

Update weaviate_utils.py

Browse files
Files changed (1) hide show
  1. weaviate_utils.py +2 -0
weaviate_utils.py CHANGED
@@ -102,6 +102,8 @@ def ingest_data_to_weaviate(client, csv_file, selected_class):
102
  st.write(f"Your CSV was successfully integrated into the vector database under the class '{selected_class}'")
103
  st.write(dataframe.head()) # Display the first few rows of the dataframe as a preview
104
 
 
 
105
 
106
  def get_class_schema(client, class_name):
107
  try:
 
102
  st.write(f"Your CSV was successfully integrated into the vector database under the class '{selected_class}'")
103
  st.write(dataframe.head()) # Display the first few rows of the dataframe as a preview
104
 
105
+ # Return the dataframe for preview
106
+ return dataframe # Added this line
107
 
108
  def get_class_schema(client, class_name):
109
  try: