Class QueryCheckerTool

A tool for checking SQL queries for common mistakes. It takes a LLMChain or QueryCheckerToolArgs as a parameter. The _call method is used to check the input query for common mistakes and returns a prediction.

Hierarchy

  • Tool
    • QueryCheckerTool

Constructors

Properties

Constructors

  • Parameters

    • Optional llmChainOrOptions: LLMChain<string, LLMType> | QueryCheckerToolArgs

    Returns QueryCheckerTool

Properties

description: string = ...
llmChain: LLMChain<string, LLMType>
name: string = "query-checker"
template: string = ...

Generated using TypeDoc