Class: BaseIndex<T>
Indexes are the data structure that we store our nodes and embeddings in so they can be retrieved for our queries.
Type parameters
Name |
---|
T |
Hierarchy
-
BaseIndex
Constructors
constructor
• new BaseIndex<T
>(init
): BaseIndex
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
init | BaseIndexInit <T > |
Returns
BaseIndex
<T
>
Defined in
packages/core/src/indices/BaseIndex.ts:162
Properties
docStore
• docStore: BaseDocumentStore
Defined in
packages/core/src/indices/BaseIndex.ts:157
indexStore
• Optional
indexStore: BaseIndexStore
Defined in
packages/core/src/indices/BaseIndex.ts:159
indexStruct
• indexStruct: T
Defined in
packages/core/src/indices/BaseIndex.ts:160
serviceContext
• serviceContext: ServiceContext
Defined in
packages/core/src/indices/BaseIndex.ts:155
storageContext
• storageContext: StorageContext
Defined in
packages/core/src/indices/BaseIndex.ts:156
vectorStore
• Optional
vectorStore: VectorStore
Defined in
packages/core/src/indices/BaseIndex.ts:158