Function loadQAStuffChain

  • Loads a StuffQAChain based on the provided parameters. It takes an LLM instance and StuffQAChainParams as parameters.

    Parameters

    • llm: BaseLanguageModel<any, BaseLanguageModelCallOptions>

      An instance of BaseLanguageModel.

    • params: StuffQAChainParams = {}

      Parameters for creating a StuffQAChain.

    Returns StuffDocumentsChain

    A StuffQAChain instance.

Generated using TypeDoc