Compare commits
2 Commits
fb3fb70cc5
...
80c115b57d
| Author | SHA1 | Date | |
|---|---|---|---|
| 80c115b57d | |||
| aa9f2dc618 |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
|||||||
message_id,timestamp_utc,author_id,author_name,author_nickname,content,attachment_urls,embeds
|
message_id,timestamp_utc,author_id,author_name,author_nickname,content,attachment_urls,embeds
|
||||||
|
|||||||
|
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
|||||||
message_id,timestamp_utc,author_id,author_name,author_nickname,content,attachment_urls,embeds
|
message_id,timestamp_utc,author_id,author_name,author_nickname,content,attachment_urls,embeds
|
||||||
|
|||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -100,11 +100,11 @@ def process_csvs_in_directory(directory_path: str, model_name: str = 'all-MiniLM
|
|||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# Define the directory where your CSV files are located.
|
# Define the directory where your CSV files are located.
|
||||||
# The script will look for a folder named 'csv_data' in the current directory.
|
# 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
|
# 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.
|
# 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
|
# Run the main processing function on the directory
|
||||||
process_csvs_in_directory(CSV_DIRECTORY)
|
process_csvs_in_directory(CSV_DIRECTORY)
|
||||||
|
|||||||
Reference in New Issue
Block a user