Complete the code to import the LangChain RegressionTester class.
from langchain.testing import [1]
Complete the code to create a RegressionTester instance for a chain named 'my_chain'.
tester = RegressionTester(chain=[1])Fix the error in the code to run regression tests and store results.
results = tester.[1]()Fill both blanks to assert the test results contain no failures and print summary.
assert results.[1] == 0 print(results.[2]())
Fill all three blanks to create a regression test with input, expected output, and run the test.
test_input = [1] expected_output = [2] tester.add_test(input=test_input, expected=[3])
