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";
defaultRaiSettings?: GoogleCloudDialogflowCxV3SafetySettingsRaiSettings;
promptSecuritySettings?: GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings;
raiSettings?: GoogleCloudDialogflowCxV3SafetySettingsRaiSettings;
}§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.
§
defaultRaiSettings?: GoogleCloudDialogflowCxV3SafetySettingsRaiSettings
[src]Optional. Immutable. Default RAI settings to be annotated on the agent, so that users will be able to restore their RAI configurations to the default settings. Read-only field for the API proto only.
§
promptSecuritySettings?: GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings
[src]Optional. Settings for prompt security checks.
§
raiSettings?: GoogleCloudDialogflowCxV3SafetySettingsRaiSettings
[src]Optional. Settings for Responsible AI checks.