-
I went through the docs and set up a local chroma server with docker + system services. However, I couldn't find the configuration details around updating config to use the server to use this server. Based on my current config, it keeps spawning a new server with a random port since the other one is busy (I do understand why from docs). How do I update so it uses the local instance without spawning a server itself each time a query is made. {
"database": {
"provider": "chromadb",
"host": "localhost",
"port": 8000
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
That doesn't look like a proper VectorCode config structure. There's a sample config here in the wiki. You should use the |
Beta Was this translation helpful? Give feedback.
-
I updated to use this config. However, instead of using my chroma_db server that I've set up using services, it spins up a new one for each query. Is it possible to use the existing server rather than vectorcode spinning up a new one for each use? |
Beta Was this translation helpful? Give feedback.
That doesn't look like a proper VectorCode config structure.
There's a sample config here in the wiki. You should use the
db_url
key to specify the database. In your case, it would be"db_url": "http://localhost:8000"
.