RAG for developer docs so local llm can code using latest library?

r/LocalLLaMA
Generative AI

I was wondering if it would make local llm better at coding if it has access to the latest documentation available through a RAG. I'm specifically interested in python. But then this might lead ingesting and embedding a very large number of documents. Or I could just focus on the specific docs that are of interest to me to narrow it down further. Third option to make it look everything up online but I assume that would be least efficient? What is the best way to ensure it uses the latest APIs of a given library? submitted by /u/BitGreen1270 [link] [comments.