Property StorageMode
StorageMode
Gets the storage mode that indicates how the data source is persisted.
public StorageMode StorageMode { get; }
Property Value
Remarks
The returned value is one of the StorageMode enum members, each specifying a different underlying storage mechanism used by the data source:
- Memory: The data source is stored entirely in memory and can be saved to a file using the Serialize() method.
- FileReadOnly: The data source is backed by a file opened in read-only mode.
- FileReadWrite: The data source is backed by a file opened in read-write mode, allowing modifications to be automatically synchronized with the file.
- VectorStore: The data source utilizes an external vector store for storage, allowing modifications to be automatically synchronized with the database.