Class: ObjectIndex
Accessors
tools
get
tools():Record
<string
,BaseTool
<any
>>
Returns
Record
<string
, BaseTool
<any
>>
Defined in
packages/llamaindex/src/objects/base.ts:111
Methods
asNodeRetriever()
asNodeRetriever(
kwargs
):any
Parameters
• kwargs: any
Returns
any
Defined in
packages/llamaindex/src/objects/base.ts:122
asRetriever()
asRetriever(
kwargs
):Promise
<ObjectRetriever
<any
>>
Parameters
• kwargs: any
Returns
Promise
<ObjectRetriever
<any
>>
Defined in
packages/llamaindex/src/objects/base.ts:115
insertObject()
insertObject(
obj
):Promise
<void
>
Parameters
• obj: any
Returns
Promise
<void
>
Defined in
packages/llamaindex/src/objects/base.ts:105
fromObjects()
static
fromObjects(objects
,objectMapping
,indexCls
,indexKwargs
?):Promise
<ObjectIndex
>
Parameters
• objects: any
• objectMapping: BaseObjectNodeMapping
• indexCls: any
• indexKwargs?: Record
<string
, any
>
Returns
Promise
<ObjectIndex
>