@coveo/relay-event-types 9.4.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/relay-event-types.d.ts +23 -31
package/package.json
CHANGED
package/relay-event-types.d.ts
CHANGED
|
@@ -383,36 +383,30 @@ export namespace Qna {
|
|
|
383
383
|
*/
|
|
384
384
|
responseId: string;
|
|
385
385
|
};
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* Qualitative score for `Is the answer clear and easy to read?`.
|
|
393
|
-
*/
|
|
394
|
-
readable: "yes" | "unknown" | "no";
|
|
395
|
-
/**
|
|
396
|
-
* Qualitative score for `Is the question covered in the documentation?`.
|
|
397
|
-
*/
|
|
398
|
-
documented: "yes" | "unknown" | "no";
|
|
386
|
+
/**
|
|
387
|
+
* Whether or not the answer is helpful.
|
|
388
|
+
*/
|
|
389
|
+
helpful: boolean;
|
|
390
|
+
details: {
|
|
399
391
|
/**
|
|
400
|
-
*
|
|
392
|
+
* Whether or not the answer is clear and easy to read.
|
|
401
393
|
*/
|
|
402
|
-
|
|
394
|
+
readable?: boolean;
|
|
403
395
|
/**
|
|
404
|
-
*
|
|
396
|
+
* Whether or not the question is covered in the documentation.
|
|
405
397
|
*/
|
|
406
|
-
|
|
398
|
+
documented?: boolean;
|
|
407
399
|
/**
|
|
408
|
-
*
|
|
400
|
+
* Whether or not the answer is about the correct product or topic.
|
|
409
401
|
*/
|
|
410
|
-
|
|
402
|
+
correctTopic?: boolean;
|
|
411
403
|
/**
|
|
412
|
-
*
|
|
404
|
+
* Whether or not the answer is free of hallucinated content.
|
|
413
405
|
*/
|
|
414
|
-
|
|
406
|
+
hallucinationFree?: boolean;
|
|
415
407
|
};
|
|
408
|
+
additionalNotes?: string;
|
|
409
|
+
correctAnswerUrl?: string;
|
|
416
410
|
}
|
|
417
411
|
|
|
418
412
|
/**
|
|
@@ -425,15 +419,13 @@ export namespace Qna {
|
|
|
425
419
|
*/
|
|
426
420
|
responseId: string;
|
|
427
421
|
};
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
details?: string;
|
|
437
|
-
};
|
|
422
|
+
/**
|
|
423
|
+
* The reason for the negative feedback.
|
|
424
|
+
*/
|
|
425
|
+
reason: "irrelevant" | "notAccurate" | "outOfDate" | "harmful" | "other";
|
|
426
|
+
/**
|
|
427
|
+
* Additional details written in free text.
|
|
428
|
+
*/
|
|
429
|
+
additionalNotes?: string;
|
|
438
430
|
}
|
|
439
431
|
}
|