Class: QueryEngineTool
Implements
BaseTool
Constructors
constructor
• new QueryEngineTool(«destructured»
): QueryEngineTool
Parameters
Name | Type |
---|---|
«destructured» | QueryEngineToolParams |
Returns
Defined in
packages/core/src/tools/QueryEngineTool.ts:30
Properties
metadata
• metadata: ToolMetadata
Implementation of
BaseTool.metadata
Defined in
packages/core/src/tools/QueryEngineTool.ts:28
queryEngine
• Private
queryEngine: BaseQueryEngine
Defined in
packages/core/src/tools/QueryEngineTool.ts:27
Methods
call
▸ call(...args
): Promise
<any
>
Parameters
Name | Type |
---|---|
...args | QueryEngineCallParams [] |
Returns
Promise
<any
>
Implementation of
BaseTool.call