Harnesses¶
While Vijil has a variety of pre-configured harnesses that you can select from, you can also create your own harnesses in order to obtain a trust score from your preferred collection of probes.
The following examples assume that you have already initialized a Vijil client named client
.
View harnesses¶
You can view all available harnesses (include pre-configured ones) with harnesses.list
:
client.harnesses.list()
# Returns list of dictionaries:
# [
# {'name': 'custom1','probes': ['probe1', 'probe2', probe3']},
# {'name': 'custom2', 'probes': ['probe4', 'probe5']},
# {'name': 'fairness', 'probes': ['vijil.probes.adultdata.CounterfactualGender', 'vijil.probes.winobias.ProfessionalBias']},
# ...
# ]