interface GraphCypherQAChainInput {
    cypherGenerationChain: LLMChain<string, any>;
    graph: Neo4jGraph;
    qaChain: LLMChain<string, any>;
    inputKey?: string;
    outputKey?: string;
    returnDirect?: boolean;
    returnIntermediateSteps?: boolean;
    topK?: number;
}

Hierarchy

  • ChainInputs
    • GraphCypherQAChainInput

Properties

cypherGenerationChain: LLMChain<string, any>
graph: Neo4jGraph
qaChain: LLMChain<string, any>
inputKey?: string
outputKey?: string
returnDirect?: boolean
returnIntermediateSteps?: boolean
topK?: number