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:32
Properties
metadata
• metadata: ToolMetadata
<JSONSchemaType
<QueryEngineParam
>>
Implementation of
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
Name | Type |
---|---|
«destructured» | QueryEngineParam |
Returns
Promise
<string
>