I looked up a RAG AI solution because concatenating all the project files into one string and sending it in to Ollama failed. It doesn’t work with a query that big. I found this Youtube video on how to do it, all open source. Store code/docs in a vector Postgresql database. Then use the Postgresql ai extension to find entries related to your query. It would be nice if it were all one open source app allowing me to point to a folder of docs/code and able to run the sql update/insert commands. I have watched the video and started setting it up. I tried cursor IDE but asking it a general question about the code base results in the app saying it doesn’t have access to the whole code base.
Another option:
It looks like Cody from SourceGraph has a free self hosted version where your code you put in is private. However, the client app is not all open source.