Submitted by GoodluckH t3_10bzll1 in MachineLearning
Many models these days focus on code generation. But I was wondering if there's anything for understanding existing codebase?
I know that Codex or ChatGPT can understand what a function does, but what about a complex codebase with imports and nested calls? Are these models capable of understanding the relationship between functions?
I'm trying to build a side project where you give it a production level codebase, it does some magic, then I can ask AI anything about things in this codebase with high accuracy.
IntrepidTieKnot t1_j4dihgh wrote
I also like to do this. At the moment I think it is only possible if you re-train the model with that said code base. But I am happy to hear how it can be done from someone with more knowledge.