Forked from lmstudio/rag-v1
README.md
Stop copy-pasting files. Let your LLM explore your codebase.
LM-Studio-Context-Architect is a smart prompt preprocessor plugin for LM Studio. It transforms local directories into a semantic, searchable knowledge base, allowing you to chat with entire codebases without hitting context window limits or losing architectural context.
When working with large codebases, you face two choices:
This plugin implements a Hierarchical Retrieval-Augmented Generation (RAG) strategy. Instead of just searching for keywords in code chunks, it performs a two-tier analysis:
@dir:/path/to/folder trigger in chat to instantly bring a whole project into context..cs files) to maximize the amount of actual logic you can fit into the context window.injectionThreshold.retrievalLimit, targetExtensions, and injectionThreshold via the LM Studio plugin settings..cs, .ts, .py) in the settings.User:
@dir:/Users/dev/MyProject Explain how the authentication flow works in this app.
The Plugin will:
MyProject.AuthService.cs and LoginController.cs are the most relevant.This project is currently under active development. My current focus is:
@dir: command nearly instantaneous.This project is licensed under the MIT License.
Built with โค๏ธ for developers who want to talk to their code.