Class: SimpleToolNodeMapping
Extends
Constructors
new SimpleToolNodeMapping()
private
new SimpleToolNodeMapping(objs
):SimpleToolNodeMapping
Parameters
• objs: BaseTool
<any
>[]= []
Returns
Overrides
BaseObjectNodeMapping
. constructor
Source
packages/llamaindex/src/objects/base.ts:99
Properties
_tools
private
_tools:Record
<string
,BaseTool
<any
>>
Source
packages/llamaindex/src/objects/base.ts:97
Methods
_addObj()
_addObj(
tool
):void
Parameters
• tool: BaseTool
<any
>
Returns
void
Overrides
BaseObjectNodeMapping
. _addObj
Source
packages/llamaindex/src/objects/base.ts:115
_fromNode()
_fromNode(
node
):BaseTool
<any
>
Parameters
Returns
BaseTool
<any
>
Overrides
BaseObjectNodeMapping
. _fromNode
Source
packages/llamaindex/src/objects/base.ts:119
addObj()
addObj(
obj
):void
Parameters
• obj: BaseTool
<any
>
Returns
void
Overrides
BaseObjectNodeMapping
. addObj
Source
packages/llamaindex/src/objects/base.ts:134