Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Query Engine Tool

Turns Query Engine into a Tool which can then be used by Sub-Question Query Engine or Agent.

Inputs

  • Vector Store Index

Parameters

NameDescription
Tool NameName of the tool
Tool DescriptionA description to tell when LLM should use this tool

Outputs

NameDescription
QueryEngineToolConnecting point to Agent or Sub-Question Query Engine