File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,17 +76,17 @@ export class Qualifire {
7676 promptInjections = false ,
7777 sexualContentCheck = false ,
7878 } : {
79- input : Input ;
80- output : Output ;
81- assertions : string [ ] ;
82- consistencyCheck : boolean ;
83- dangerousContentCheck : boolean ;
84- hallucinationsCheck : boolean ;
85- harassmentCheck : boolean ;
86- hateSpeechCheck : boolean ;
87- piiCheck : boolean ;
88- promptInjections : boolean ;
89- sexualContentCheck : boolean ;
79+ input : string ;
80+ output : string ;
81+ assertions ? : string [ ] ;
82+ consistencyCheck ? : boolean ;
83+ dangerousContentCheck ? : boolean ;
84+ hallucinationsCheck ? : boolean ;
85+ harassmentCheck ? : boolean ;
86+ hateSpeechCheck ? : boolean ;
87+ piiCheck ? : boolean ;
88+ promptInjections ? : boolean ;
89+ sexualContentCheck ? : boolean ;
9090 } ) : Promise < EvaluationResponse | undefined > => {
9191 const url = `${ this . baseUrl } /api/evaluation/evaluate` ;
9292 const body = JSON . stringify ( {
You can’t perform that action at this time.
0 commit comments