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
>
Returns
Record
<string
, BaseTool
>
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
>
Parameters
Name | Type |
---|---|
kwargs | any |
Returns
Promise
<ObjectRetriever
>
Defined in
packages/core/src/objects/base.ts:183
insertObject
▸ insertObject(obj
): Promise
<void
>
Parameters
Name | Type |
---|---|
obj | any |