Classes
QueryEngineTool
Defined in: llamaindex/src/tools/QueryEngineTool.ts:29
Implements
BaseTool
<QueryEngineParam
>
Constructors
new QueryEngineTool()
new QueryEngineTool(
__namedParameters
):QueryEngineTool
Defined in: llamaindex/src/tools/QueryEngineTool.ts:33
Parameters
__namedParameters
Returns
Properties
metadata
metadata:
ToolMetadata
<JSONSchemaType
<QueryEngineParam
>>
Defined in: llamaindex/src/tools/QueryEngineTool.ts:31
Implementation of
BaseTool.metadata
Methods
call()
call(
__namedParameters
):Promise
<MessageContent
>
Defined in: llamaindex/src/tools/QueryEngineTool.ts:42
This could be undefined if the implementation is not provided, which might be the case when communicating with a llm.
Parameters
__namedParameters
Returns
Promise
<MessageContent
>
The output of the tool.
Implementation of
BaseTool.call