Class FileSystemVectorStore
Provides a file system-based implementation of IVectorStore that persists vector collections as individual files on disk.
public class FileSystemVectorStore : IVectorStore, IDisposable
- Inheritance
-
FileSystemVectorStore
- Implements
- Inherited Members
Remarks
Each collection is stored as a separate file with a ".ds" extension in the specified directory. The store maintains an in-memory cache of opened data sources for improved performance.
Constructors
- FileSystemVectorStore(string)
Initializes a new instance of the FileSystemVectorStore class.
Properties
- DirectoryPath
Gets the directory path where vector collections are stored.
Methods
- Dispose()
Releases all resources used by the FileSystemVectorStore and disposes all cached data sources.
- ~FileSystemVectorStore()
Releases unmanaged resources.