LangChain - Evaluation and Testing
Given the following code snippet, what will be the output of the regression test?
class EchoChain:
def invoke(self, inputs):
return {"echo": inputs["message"]}
my_chain = EchoChain()
input_data = {"message": "Test"}
expected_output = {"echo": "Test"}
result = my_chain.invoke(input_data) == expected_output
print(result)