GoogleCloudDialogflowCxV3SafetySettings
import type { GoogleCloudDialogflowCxV3SafetySettings } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";
Settings for Generative Safety.
interface GoogleCloudDialogflowCxV3SafetySettings {
bannedPhrases?: GoogleCloudDialogflowCxV3SafetySettingsPhrase[];
defaultBannedPhraseMatchStrategy?: "PHRASE_MATCH_STRATEGY_UNSPECIFIED" | "PARTIAL_MATCH" | "WORD_MATCH";
promptSecuritySettings?: GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings;
}§Properties
§
bannedPhrases?: GoogleCloudDialogflowCxV3SafetySettingsPhrase[]
[src]Banned phrases for generated text.
§
defaultBannedPhraseMatchStrategy?: "PHRASE_MATCH_STRATEGY_UNSPECIFIED" | "PARTIAL_MATCH" | "WORD_MATCH"
[src]Optional. Default phrase match strategy for banned phrases.
§
promptSecuritySettings?: GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings
[src]Optional. Settings for prompt security checks.