Function loadQARefineChain

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

    Parameters

    • llm: BaseLanguageModel<any, BaseLanguageModelCallOptions>

      An instance of BaseLanguageModel.

    • params: RefineQAChainParams = {}

      Parameters for creating a RefineQAChain.

    Returns RefineDocumentsChain

    A RefineQAChain instance.

Generated using TypeDoc