Class: QueryEngineTool
Simple Tool interface. Likely to change.
Implements
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
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
>