Relative Content

Tag Archive for py-langchainretrieval-augmented-generation

LangChain: create_retrieval_chain with SimpleSequentialChain

It looks like create_retrieval_chain function returns Runnable but not Chain or LLMChain. When I try to use retrieval_chain in SimpleSequentialChain method, it complains: “…ValidationError: 1 validation error for SimpleSequentialChain chains -> 1 Can’t instantiate abstract class Chain with abstract methods _call, input_keys, output_keys (type=type_error)”