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