Not a code base but been doing it with PDFs - it wouldn’t be difficult to adapt a solution meant for text to work with code. Look into using a vector database (like Pinecone) to store embeddings and you’ll be on the right rabbit hole path
Discussion
My inspiration came from this:
https://github.com/bublint/ue5-llama-lora
I want to replicate this but using a concatenation of an entire codebase + docs.
Yo, check this out https://github.com/mpoon/gpt-repository-loader