Skip to content

Base classes of tools

CheckBaseTool

This tool template implements the functionality of checking and obtaining the required parameters from the input parameters.

Refer to Code docs Tools.base.tool_base

RetrieverBaseTool

This tool template implements the functionality of using the given Retriever for retrieval and recording tool logs such as reference documents.

Refer to Code docs Tools.base.tool_base

QueryEngineBaseTool

This tool template implements the functionality of question answering based on a vector database.

Refer to Code docs Tools.base.tool_base

FunctionBaseTool

This tool template implements the functionality of invoking specified functions or class methods and recording tool logs.