Skip to main content

Class: QueryEngineTool

Simple Tool interface. Likely to change.

Implements

Constructors

constructor

new QueryEngineTool(«destructured»): QueryEngineTool

Parameters

NameType
«destructured»QueryEngineToolParams

Returns

QueryEngineTool

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

NameType
...argsQueryEngineCallParams[]

Returns

Promise<any>

Implementation of

BaseTool.call

Defined in

packages/core/src/tools/QueryEngineTool.ts:39