Saves the current state of the vector store to the specified directory.
This method must be implemented by subclasses to define their own serialization process for persisting vector data. The implementation determines the structure and format of the saved data.
save(directory: string): Promise<void>| Name | Type | Description |
|---|---|---|
directory* | string | The directory path where the vector store data will be saved. |