Saltar al contenido principal

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:32

Properties

metadata

metadata: ToolMetadata<JSONSchemaType<QueryEngineParam>>

Implementation of

BaseTool.metadata

Defined in

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


queryEngine

Private queryEngine: BaseQueryEngine

Defined in

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

Methods

call

call(«destructured»): Promise<string>

Parameters

NameType
«destructured»QueryEngineParam

Returns

Promise<string>

Implementation of

BaseTool.call

Defined in

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