A few questions for AI Code Assistant

I want to develop an AI assistant for the language of a program I use and it will have the following features;

  • Code Autocomplete
  • Code Summarization
  • Code Refinement
  • Code Defect Detection

Some questions I want to ask:

  1. It will only work for one language, so which model will work for me? Here are some models I’ve looked at: Starcode, CodeLLama

  2. How do I specify that I want to do Autocomplete, Summarization, do I need to train a separate model for each?

  3. Do I need to give all the scritps in the project to the input for the model I will train to auto complete about the codes I wrote? If so, how do I fit so many files, how do tools like copilot and amazon q do this?

  4. The program I use is constantly updated and every time an update comes, do I need to write a python script that will automatically fine tune it for the new version?

That’s all my questions, I would be very grateful if you can provide me with the resources you think will help me! thanks! :hugs: