Hosted ChromaDB instance, infer the project-root
automatically.
#175
Replies: 1 comment 2 replies
-
This is something that I kept in mind when writing the db-related code, but never had the chance to really test to make sure it worked. All I tested was to host a chroma server in LAN on my workstation and connect my laptop to it. Without authentication (because it was in LAN), this is trivial to do. All you need is to open the port in your firewall and make sure the server is listening to an appropriate IP (not 127.0.0.1).
Up until now, VectorCode works with chromadb 0.6.3. The chromadb 1.0.x is being tested, but I haven't been able to get it to work on a database created by chroma 0.6.x, so I won't make the version bump just yet.
If you don't specify As for the performance issue, I'd suggest that you use some resource monitoring tool (if you're on linux, stuff like {
"reranker_params": {
"device": "cuda", // or "mps", "npu", depending on your hardware
}
} See more about reranker model parameters here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, hopefully you're doing well, and thank you for the wonderful project.
I recently got into the MCP and AI world (or extending myself from just using tab completions) and ended up on VectorCode from the documentation of
codecompanion.nvim
.So far the experience has been amazing and the only issue I have right now is the retrieval part from the DB as it runs on CPU, and I am using this on an old 8th gen laptop and the repos I work on have near enough 200+ files.
How much would you estimate the performance can improve with the free tier provided by chroma themselves.
Currently, I tested with 30+ files and the response time is close to 12 secs which is a lot for only 30+ files.
I want to test and extend this as much as possible by indexing every single repo I work on and also include notes to see how far it can be pushed without the LLMs hallucinating lol.
How cumbersome would it be to use Chroma Cloud to setup a dedicated instance and connect to it?
What version of ChromaDB specifically is compatible with VectorCode right now I'm using the
uv
install and the version is0.6.11
.One last thing is that do we have to always mention the specific
project-root
for it to only query that?I suspect that currently when I query it, it tries to use all the
project-root
that have been indexed, so this might be a mistake on my mind so a little clarification on how this can be configured without having to use local scope configuration because adding the folder to.gitignore
of each repo is something I'm trying to avoid.Beta Was this translation helpful? Give feedback.
All reactions