langchain.js
    Preparing search index...

    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 (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • OptionalllmChainOrOptions: LLMChain<string, any> | QueryCheckerToolArgs

      Returns QueryCheckerTool

    Properties

    description: string = ...
    llmChain: LLMChain
    name: string = "query-checker"
    template: string = ...

    Methods

    • Returns string