I have a large list of about 50k file names in a text file.
Most of the files have descriptive names.
I would like to have those file names sorted into categories based on their file names.
I would expect the output to be a category name followed by all the files that were sorted into that category.
I can break the list into groups of 10k file names if necessary.
What’s the best way to approach this using Gemini 1.5 Pro and what could the costs be considering the amount of data involved?