VectorCode is a code repository indexing tool. It helps you build better prompt for your coding LLMs by indexing and providing information about the code repository you're working on. This repository also contains the corresponding neovim plugin that provides a set of APIs for you to build or enhance AI plugins, and integrations for some of the popular plugins.
[!NOTE] This project is in beta quality and is undergoing rapid iterations. I know there are plenty of rooms for improvements, and any help is welcomed.
LLMs usually have very limited understanding about close-source projects, projects that are not well-known, and cutting edge developments that have not made it into releases. Their capabilities on these projects are quite limited. With VectorCode, you can easily (and programmatically) inject task-relevant context from the project into the prompt. This significantly improves the quality of the model output and reduce hallucination.
[!NOTE] The documentation on the
main
branch reflects the code on the latest commit. To check for the documentation for the version you're using, you can check out the corresponding tags.
If you're trying to contribute to this project, take a look at the contribution guide, which contains information about some basic guidelines that you should follow and tips that you may find helpful.
This project follows an adapted semantic versioning:
"vectorcode<0.7.0"
;.gitignore
;.git
or a custom
.vectorcode.json
) that enhances automatic project-root detection.
Implemented project-level .vectorcode/
and .git
as root anchordrop
and vectorise
again);