The application provides only a file tree (path, size) as a context for the first request, and the AI agent through OpenAI Function calling / Anthropic tools, itself request the necessary files (the whole or just a header, for example) for the full context.
Ilya
•
Jul 6, 2024
Addition:
I would also add to the files a preliminary generation of a short description about what is inside: what entities are in it and what they are intended for, so that it would be easier for AI to select the necessary files for the context.