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

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

Properties

Properties

getInput: ((query: string, doc: DocumentInterface) => Record<string, unknown>)
llmChain: LLMChain<string, any>