Logo
Classes

QueryEngineTool

Defined in: llamaindex/src/tools/QueryEngineTool.ts:29

Implements

Constructors

new QueryEngineTool()

new QueryEngineTool(__namedParameters): QueryEngineTool

Defined in: llamaindex/src/tools/QueryEngineTool.ts:33

Parameters

__namedParameters

QueryEngineToolParams

Returns

QueryEngineTool

Properties

metadata

metadata: ToolMetadata<JSONSchemaType<QueryEngineParam>>

Defined in: llamaindex/src/tools/QueryEngineTool.ts:31

Implementation of

BaseTool.metadata

Methods

call()

call(__namedParameters): Promise<MessageContent>

Defined in: llamaindex/src/tools/QueryEngineTool.ts:42

This could be undefined if the implementation is not provided, which might be the case when communicating with a llm.

Parameters

__namedParameters

QueryEngineParam

Returns

Promise<MessageContent>

The output of the tool.

Implementation of

BaseTool.call

On this page