Persist the collection.
This can be used to explicitly persist the data to disk. It will also be called automatically when the object is destroyed.
Since Chroma 0.4.x the manual persistence method is no longer supported as docs are automatically persisted.
persist(
self,
) -> None