Interface InputExtension

ChatInputOptions represents options for post and preprocessing the input.

interface InputExtension {
    blockPromptInjection: boolean;
    pii: PIIs;
    piiReplaceMethod: ReplaceMethods;
}

Properties

blockPromptInjection: boolean

blockPromptInjection represents the choice to run the blockPromptInjection algorithm.

pii: PIIs

pii represents the choice to run the repalce personal information algorithm and which one.

piiReplaceMethod: ReplaceMethods

piiReplaceMethod represents the method to use for PII.