HACKER Q&A
📣 yamrzou

Local LLM to explore code repositories?


Is there an LLM that you can feed a repository and then ask it questions it? It would be useful for large repositories that lack documentation.


  👤 codemartial Accepted Answer ✓
You cannot use LLM models directly. You need to build a system that takes your repository as input and create an Agent that can answer your queries.

👤 nunobispo
You can try Code Llama with Ollama.

https://ollama.com/library/codellama

You would need to prepare some script to read the repository and RAG the content.

Can also use Ollama for embedding: https://ollama.com/library/nomic-embed-text