| Name | Type | Description |
|---|---|---|
directory* | string |
Method to save the vector store to a directory. It saves the HNSW index, the arguments, and the document store to the directory.
The directory to which to save the vector store. In CloseVector, we use IndexedDB to mock the file system. Therefore, this parameter is can be treated as a key to the contents stored.