跳转到内容

QueryEngineTool

定义于:.build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:31

new QueryEngineTool(__namedParameters): QueryEngineTool

定义于:.build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:36

QueryEngineToolParams

QueryEngineTool

元数据: ToolMetadata<JSONSchemaType<QueryEngineParam>>

定义于:.build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:33

BaseTool.metadata


includeSourceNodes: boolean

定义于:.build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:34

call(__namedParameters): Promise<JSONValue>

定义于:.build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:50

如果未提供实现,这可能未定义, 这可能是在与大型语言模型通信时的情况。

QueryEngineParam

Promise<JSONValue>

该工具的输出。

BaseTool.call