Semi-fixes #129 (there is more work to be done for full test coverage)
Tests the summary API with basic inputs (short, medium, long), using the default summary length option.
Simply tests the API call is successful, and returns a JSON object with summary key, which is text that has a length of at most 80% the length of original input.
Additional tests in future can test accuracy, performance (timing), testing length when the summary_len_option varies, etc.
Semi-fixes #129 (there is more work to be done for full test coverage)
Tests the summary API with basic inputs (short, medium, long), using the
default
summary length option.Simply tests the API call is successful, and returns a JSON object with summary key, which is text that has a length of at most 80% the length of original input.
Additional tests in future can test accuracy, performance (timing), testing length when the
summary_len_option
varies, etc.