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

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

Properties

Properties

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