prompttools.prompttest.error package#

Submodules#

prompttools.prompttest.error.failure module#

exception prompttools.prompttest.error.failure.PromptTestSetupException#

Bases: Exception

An exception to throw when something goes wrong with the prompt test setup

prompttools.prompttest.error.failure.log_failure(metric_name, threshold, actual, threshold_type)#

Prints the test results to the console.

Module contents#