Putting source code to files for assistance

Hello, can you please help me to understand how to use assistance correctly?
i have some source code, it is about 2000 files in python, and I would like to use them for helping me in code generation.
Is it correct to try to all of them into storage? i think, with API I can assigned all of them to selected assistant… is it correct way of use?
Sincerely yours, Andrei