44[ ![ Test and Coverage] ( https://github.com/Davidyz/VectorCode/actions/workflows/test_and_cov.yml/badge.svg )] ( https://github.com/Davidyz/VectorCode/actions/workflows/test_and_cov.yml )
55[ ![ pypi] ( https://img.shields.io/pypi/v/vectorcode.svg )] ( https://pypi.org/project/vectorcode/ )
66
7- VectorCode is a code repository indexing tool. It helps you write better prompt
7+ VectorCode is a code repository indexing tool. It helps you build better prompt
88for your coding LLMs by indexing and providing information about the code
99repository you're working on. This repository also contains the corresponding
1010neovim plugin because that's what I used to write this tool.
@@ -32,19 +32,11 @@ neovim plugin because that's what I used to write this tool.
3232## Why VectorCode?
3333LLMs usually have very limited understanding about close-source projects, projects
3434that are not well-known, and cutting edge developments that have not made it into
35- releases. Their capabilities on these projects are quite limited. Take my little
36- toy sudoku-solving project as an example: When I wrote the first few lines and
37- want the LLM to fill in the list of solvers that I implemented in
38- ` solver_candidates ` , without project context, the completions are simply random
39- guesses that * might* be part of another sudoku project:
40- ![ ] ( ./images/sudoku_no_rag.png )
41- But with RAG context provided by VectorCode, my completion LLM was able to
42- provide completions that I actually implemented:
43- ![ ] ( ./images/sudoku_with_rag.png )
44- This makes the completion results far more usable.
45- [ A similar strategy] ( https://docs.continue.dev/customize/deep-dives/codebase )
46- is implemented in [ continue] ( https://www.continue.dev/ ) , a popular AI completion
47- and chat plugin available on VSCode and JetBrain products.
35+ releases. Their capabilities on these projects are quite limited. With
36+ VectorCode, you can easily (and programmatically) inject task-relevant context
37+ from the project into the prompt. This significantly improves the quality of the
38+ model output and reduce hallucination.
39+ ![ ] ( ./images/codecompanion_chat.png )
4840
4941## Documentation
5042
@@ -57,6 +49,11 @@ and chat plugin available on VSCode and JetBrain products.
5749- For the setup and usage of the command-line tool, see [ the CLI documentation] ( ./docs/cli.md ) ;
5850- For neovim users, after you've gone through the CLI documentation, please refer to
5951 [ the neovim plugin documentation] ( ./docs/neovim.md ) for further instructions.
52+ - Additional resources:
53+ - the [ wiki] ( https://github.com/Davidyz/VectorCode/wiki ) for extra tricks and
54+ tips that will help you get the most out of VectorCode;
55+ - the [ discussions] ( https://github.com/Davidyz/VectorCode/discussions ) where
56+ you can ask general questions and share your cool usages about VectorCode.
6057
6158If you're trying to contribute to this project, take a look at [ the contribution
6259guide] ( ./docs/CONTRIBUTING.md ) , which contains information about some basic
0 commit comments