Interface for the arguments required to create an instance of LLMChainExtractor.

interface LLMChainExtractorArgs {
    getInput: ((query, doc) => Record<string, unknown>);
    llmChain: LLMChain<string, any>;
}

Properties

Properties

getInput: ((query, doc) => Record<string, unknown>)

Type declaration

    • (query, doc): Record<string, unknown>
    • Parameters

      • query: string
      • doc: DocumentInterface

      Returns Record<string, unknown>

llmChain: LLMChain<string, any>

Generated using TypeDoc