LangChain - Evaluation and Testing
What will be the output of this regression test code?
chain = SomeLangchainChain() chain.add_test_case(input="Test", expected_output="Pass") result = chain.run_regression_test() print(result['passed'])
What will be the output of this regression test code?
chain = SomeLangchainChain() chain.add_test_case(input="Test", expected_output="Pass") result = chain.run_regression_test() print(result['passed'])
result['passed'] outputs True if all tests passed, False otherwise.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions