2 ms·
Well.. yes, it is a stretch to use it for a large code base, but especially if they are all relatively small/medium sized files, a directory listing can get you
by ilaksh 4y ago
Well.. yes, it is a stretch to use it for a large code base, but especially if they are all relatively small/medium sized files, a directory listing can get you pretty far to select the relevant files. You can also do a vector (embedding) search to find relevant functions/files and feed that into the prompt.
Also the OpenAI coding model code-davinci-002 has an 8000 token max not 4000 like text-davinci-003.