Class OpenDIDocumentIndex
OpenDI representation of a VectorDB
Inherited Members
Namespace: Quantellia.WMServer.OpenDI
Assembly: WMServer.dll
Syntax
public class OpenDIDocumentIndex : OpenDIAsset
Constructors
OpenDIDocumentIndex()
Default constructor
Declaration
public OpenDIDocumentIndex()
OpenDIDocumentIndex(WMDocumentIndex)
Constructor that initializes a new instance with the data from a WMDataSourceBase object.
Declaration
public OpenDIDocumentIndex(WMDocumentIndex asset)
Parameters
Type | Name | Description |
---|---|---|
WMDocumentIndex | asset | The asset with which to initialize this OpenDIDataSource |
Properties
Documents
A list of documents associated to this OpenDIDocumentIndex.
Declaration
public IEnumerable<OpenDIDocument> Documents { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<OpenDIDocument> |
Remarks
Note that this is not automatically populated in WMDocumentIndexDTO.UpdateModel(WMPrincipal, DbContext, object[]?),
Methods
ToDTO()
Create a new WMDataSourceBaseDTO object that contains the properties of this OpenDIDataSource
Declaration
public WMDocumentIndexDTO ToDTO()
Returns
Type | Description |
---|---|
WMDocumentIndexDTO | A WMDataSourceBaseDTO object that contains the properties of this OpenDIDataSource |