updated embedder

This commit is contained in:
2025-08-11 01:51:34 +01:00
parent fb3fb70cc5
commit aa9f2dc618

View File

@@ -100,11 +100,11 @@ def process_csvs_in_directory(directory_path: str, model_name: str = 'all-MiniLM
if __name__ == '__main__':
# Define the directory where your CSV files are located.
# The script will look for a folder named 'csv_data' in the current directory.
CSV_DIRECTORY = 'csv_data'
CSV_DIRECTORY = '../discord_chat_logs'
# This function will create the 'csv_data' directory and some sample
# files if they don't exist. You can comment this out if you have your own files.
create_sample_files(CSV_DIRECTORY)
# create_sample_files(CSV_DIRECTORY)
# Run the main processing function on the directory
process_csvs_in_directory(CSV_DIRECTORY)