メインコンテンツまでスキップ

Class: QueryEngineTool

Simple Tool interface. Likely to change.

Implements

Constructors

new QueryEngineTool()

new QueryEngineTool(__namedParameters): QueryEngineTool

Parameters

__namedParameters: QueryEngineToolParams

Returns

QueryEngineTool

Source

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

Properties

metadata

metadata: ToolMetadata<JSONSchemaType <QueryEngineParam>>

Implementation of

BaseTool . metadata

Source

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


queryEngine

private queryEngine: QueryEngine

Source

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

Methods

call()

call(__namedParameters): Promise<string>

Parameters

__namedParameters: QueryEngineParam

Returns

Promise<string>

Implementation of

BaseTool . call

Source

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