We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 722b7fd commit f16b2e7Copy full SHA for f16b2e7
src/types/content.ts
@@ -441,6 +441,21 @@ export enum FinishReason {
441
RECITATION = 'RECITATION',
442
/** All other reasons that stopped the token generation. */
443
OTHER = 'OTHER',
444
+ /**
445
+ * The token generation was stopped as the response was flagged for the
446
+ * terms which are included from the terminology blocklist.
447
+ */
448
+ BLOCKLIST = 'BLOCKLIST',
449
450
+ * The token generation was stopped as the response was flagged for
451
+ * the prohibited contents.
452
453
+ PROHIBITED_CONTENT = 'PROHIBITED_CONTENT',
454
455
456
+ * Sensitive Personally Identifiable Information (SPII) contents.
457
458
+ SPII = 'SPII',
459
}
460
461
/**
0 commit comments