Skip to main content
Chroma can also be configured to run in client/server mode. In this mode, the Chroma client connects to a Chroma server running in a separate process. To start the Chroma server, run the following command:
Then use the Chroma HttpClient to connect to the server:
That’s it! Chroma’s API will run in client-server mode with just this change.Chroma also provides the async HTTP client. The behaviors and method signatures are identical to the synchronous client, but all methods that would block are now async. To use it, call AsyncHttpClient instead:
If you deploy your Chroma server, you can also use our http-only package.