Class VectorStoreQATool

A tool for the VectorDBQA chain to interact with a Vector Store. It is used to answer questions about a specific topic. The input to this tool should be a fully formed question.

Hierarchy

  • Tool
    • VectorStoreQATool

Implements

  • VectorStoreTool

Constructors

Properties

Methods

Constructors

  • Parameters

    • name: string
    • description: string
    • fields: VectorStoreTool

    Returns VectorStoreQATool

Properties

description: string
llm: BaseLanguageModel<any, BaseLanguageModelCallOptions>
name: string
vectorStore: VectorStore

Methods

  • Returns a string that describes what the tool does.

    Parameters

    • name: string

      The name of the tool.

    • description: string

      A description of what the tool does.

    Returns string

    A string that describes what the tool does.

Generated using TypeDoc