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

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

Properties

Properties

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

Type declaration

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

      • query: string
      • doc: DocumentInterface<Record<string, any>>

      Returns Record<string, unknown>

llmChain: LLMChain<string, LLMType>

Generated using TypeDoc