- Python
- TypeScript
You can configure Chroma to save and load the database from your local machine, using the PersistentClient.Data will be persisted automatically and loaded on start (if it exists).The path is where Chroma will store its database files on disk, and load them on start. If you don’t provide a path, the default is .chromaThe client object has a few useful convenience methods.
Python
- heartbeat() - returns a nanosecond heartbeat. Useful for making sure the client remains connected.
- reset() - empties and completely resets the database. This is destructive and not reversible.
Python