Class: ObjectIndex
Constructors
constructor
• new ObjectIndex(index
, objectNodeMapping
): ObjectIndex
Parameters
Name | Type |
---|---|
index | any |
objectNodeMapping | BaseObjectNodeMapping |
Returns
Defined in
packages/core/src/objects/base.ts:150
Properties
_index
• Private
_index: VectorStoreIndex
Defined in
packages/core/src/objects/base.ts:147
_objectNodeMapping
• Private
_objectNodeMapping: BaseObjectNodeMapping
Defined in
packages/core/src/objects/base.ts:148
Accessors
tools
• get
tools(): Record
<string
, BaseTool
<any
>>
Returns
Record
<string
, BaseTool
<any
>>
Defined in
packages/core/src/objects/base.ts:179
Methods
asNodeRetriever
▸ asNodeRetriever(kwargs
): any
Parameters
Name | Type |
---|---|
kwargs | any |
Returns
any
Defined in
packages/core/src/objects/base.ts:190
asRetriever
▸ asRetriever(kwargs
): Promise
<ObjectRetriever
<any
>>
Parameters
Name | Type |
---|---|
kwargs | any |
Returns
Promise
<ObjectRetriever
<any
>>
Defined in
packages/core/src/objects/base.ts:183