From aa9f2dc6184dd92cd46578cb5d7388f02ebab899 Mon Sep 17 00:00:00 2001 From: Azeem Fidahusein Date: Mon, 11 Aug 2025 01:51:34 +0100 Subject: [PATCH] updated embedder --- scripts/embedder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/embedder.py b/scripts/embedder.py index 8a085cd..cad07d2 100644 --- a/scripts/embedder.py +++ b/scripts/embedder.py @@ -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)