3 ms·
> You can't rely on IDE auto context since the entire codebase is too large to feed into LLM It's not feeding in the entire codebase but whatever you selected
by barbazoo 3y ago
> You can't rely on IDE auto context since the entire codebase is too large to feed into LLM
It's not feeding in the entire codebase but whatever you selected or whatever files you have open, at least that's what the UI suggests. So I ask it "what does this line do" and I get an answer that uses the whole file to explain what the line does.
- theturtletalks 3y agoThat works, but for more complex questions taking into account different files and the whole architecture of the app, CoPilot fails. I've been trying to RAG my repos to accomplish this, but the parent comment said that's not possible.
- paradite 3y agoI believe https://aider.chat/ https://aider.chat/ is working on RAG for codebase.
- paradite 3y agoYeah for context within the single file, GitHub Copilot is good, I use it all the time. But if you use it to do something across multiple files (DB schema, service, controller, HTML, JavaScript), then it becomes less accurate (precision vs recall problem) as like you said it uses your open windows or some heuristics to decide what's the context. With an IDE as an interface, it is just not intuitive, UX wise, to "open tabs" to signal to GitHub Copilot that the files should be included in the context.