Agents have many settings that influence behavior, and each console provides different settings.
Conversational Agents console agent settings
To access agent settings:
Console
- Open the Conversational Agents console.
- Choose your project.
- Select your agent.
- On the toolbar, click the Settings icon.
- Update the settings as needed.
- Click Save.
API
See the get and patch/update methods for the Agent type.
Select a protocol and version for the Agent reference:
| Protocol | V3 | V3beta1 |
|---|---|---|
| REST | Agent resource | Agent resource |
| RPC | Agent interface | Agent interface |
| C++ | AgentsClient | Not available |
| C# | AgentsClient | Not available |
| Go | AgentsClient | Not available |
| Java | AgentsClient | AgentsClient |
| Node.js | AgentsClient | AgentsClient |
| PHP | Not available | Not available |
| Python | AgentsClient | AgentsClient |
| Ruby | Not available | Not available |
The following subsections describe the different categories of agent settings.
General settings
The following general settings are available for agents:
-
A human-readable name for your agent.
-
The default time zone for your agent.
-
This setting determines whether your agent starts the conversation with a generative playbook or a deterministic flow.
-
The agent region you selected when creating the agent.
-
- Lock the agent: Indicates if the agent is locked. A locked agent cannot be edited.
-
Enable Cloud Logging: Indicates whether Cloud Logging is enabled for the agent.
Enable conversation history: Indicates if you want Google to collect and store redacted end-user queries for quality improvement.
Specify a Cloud Storage URI to store and playback voice conversations: When conversation history is enabled, you can provide a Cloud Storage URI, and Dialogflow CX saves conversation audio in this location. This field is synchronized with the Audio export bucket advanced speech setting. For more information, see Audio export. To open a bucket selection panel, you can click Browse Google cloud storage.
Enable consent-based end-user input redaction: If this setting is enabled, it lets you use a special session parameter to control whether end-user input and parameters are redacted from conversation history and Cloud Logging. By default, the session parameter is
true. If this setting is disabled, no redaction occurs.
You collect end-user consent by using the
$session.params.conversation-redactionboolean session parameter. If this setting is enabled and the session parameter is set tofalse, no redaction occurs (other redaction strategies still apply). If this setting is enabled and the session parameter is set totrue, redaction occurs.For example, a consent-requesting flow can ask the end user whether to keep their input and match the response with a "yes intent" or a "no intent." In fulfillment, set the session parameter to
false(no redaction) in the parameter presets of the "yes intent" route. Set the parameter totrue(redaction occurs) in the parameter presets of the "no intent" route. -
This setting requires Enable conversation history to be enabled.
- Enable BigQuery export: Indicates whether BigQuery export is enabled.
- Project name: The BigQuery project name.
- BigQuery dataset: The BigQuery dataset name.
- BigQuery table: The BigQuery table name.
-
To receive suggestions for improving existing intents and creating additional intents, select Enable intent suggestions. This setting requires Enable conversation history to be enabled. For more information, see Intent suggestions.
-
- Enable user feedback: You can enable this setting to collect end-user feedback about the quality of the agent's answers, including thumbs up and thumbs down buttons. This setting requires Enable conversation history to be enabled. For more information, see Answer feedback.
-
Use this setting to add a Git integration.
Generative AI settings
The following generative AI settings are available:
General:
A list of phrases that are banned for generative AI. If a banned phrase appears in the prompt or the generated response, the generation fails. The list of banned phrases affects every query and large language model (LLM) call, which increases latency.
For Match requirements, to match text that contains the phrase as a substring, select Allow partial match (default). To match only complete words of the phrase, select Require full match.
Configure sensitivity levels of safety filters for different Responsible AI (RAI) categories. Safety filters assess content against the following four categories:
Category Description Hate speech Negative or harmful comments targeting identity, protected attributes, or both. Dangerous content Content that promotes or enables access to harmful goods, services, or activities. Sexually explicit content Content that contains references to sexual acts or other lewd content. Harassment Malicious, intimidating, bullying, or abusive comments targeting another individual. Safety filters block content based on the probability that it's harmful. You can customize the sensitivity level for each category by choosing Block none, Block few, Block some, or Block most.
For more information, see Safety and content filters.
To enable prompt security checks for playbooks and data stores, select Enable prompt security checks. When this setting is enabled, the agent rejects end-user queries that trigger the security filter, which helps protect against prompt injection attacks and other malicious queries. These attacks might attempt to reveal parts of the agent prompt or produce responses that the agent isn't supposed to supply. The agent sends an additional LLM prompt to classify whether the end-user query is potentially malicious. When prompt security checks are enabled, you can configure the following options:
- Prompt security settings: To use default security settings, select Default. To customize the model, prompt, and input threshold, select Customize.
- Security prompt model: Controls the LLM used for classification. When Prompt security settings is set to Default, Dialogflow CX selects a default model that might automatically change as improved models become available. When Prompt security settings is set to Customize, you can choose a model.
- Security prompt: Available when Prompt security settings is set to Customize. To use the default security prompt, select Default. The prompt might automatically update with improvements. To provide instructions that help classify malicious queries, select Customize and enter them in the Custom security prompt field.
Input threshold: The minimum character length for a query before security checks apply. Queries shorter than this threshold bypass security checks, because shorter queries are more ambiguous and might be classified incorrectly. When Prompt security settings is set to Customize, set the character length in the Minimum query length (1-60) field.
Configure the text prompt sent to the generative model to generate an agent response:
- Template: Lets you select an existing prompt template, create a template, or edit and delete custom templates.
- Text prompt: Displays the prompt text for the selected template.
For more information, see Generative fallback: define your own prompt.
Playbook:
Select the model used by playbooks. For more information, see Model versions and lifecycle.
Token limits:
-
Select the input token limit for the generative model. This limit is the maximum token size for input sent to the model. Depending on the model, a token can be somewhere between one character and one word. Smaller token limits have lower latency, but the model input size is limited. Larger token limits have higher latency, but the model input size can be larger.
-
Select the output token limit for the generative model. This limit is the maximum token size for output received from the model. Depending on the model, a token can be somewhere between one character and one word. Smaller token limits have lower latency, but the model output size is limited. Larger token limits have higher latency, but the model output size can be larger.
-
The temperature for an LLM lets you control how creative the responses are. A low value provides more predictable responses. A high value provides more creative or random responses.
To prevent the LLM prompt size from growing with every sequential turn handled by the agent, use the Memory from previous turns setting to cull past turns.
Without truncation, the agent appends each subsequent turn to the conversation history in the LLM prompt regardless of whether it's relevant to the current turn. This behavior can increase the prompt size with every turn. As conversation history takes up more of the prompt, less space remains for few-shot examples, so the agent might drop them. Over multiple turns, the prompt might also exceed your configured token limits. You can increase token limits to accommodate larger prompts, but larger prompt sizes also increase LLM response latency.
Context truncation lets you set a maximum percentage of the token budget reserved for conversation history. This setting helps prevent prompts from exceeding token limits. Regardless of which setting you choose, the agent preserves at least two conversation turns, from most recent to least recent.
Before you can modify this setting, you must set an input token limit.
Truncating context might cause some parameters to be inadvertently lost if they're part of culled turns. Evaluate your playbook interactions carefully after enabling this option.
The following components also use the input token budget:
- System instructions and examples: The agent automatically adds system instructions and examples to the prompt. You can't modify this behavior.
- Playbook instructions and goals: The agent adds all instructions and goals that you write to the prompt in their entirety.
- Playbook few-shot examples: The agent adds examples either in order (by default) or by an algorithm that you choose (such as regular expression best match ordering). The agent culls examples to fit within the input token budget after including all other items.
- Conversation history: The conversation history includes end-user and agent utterances, flow and playbook transition context, and tool calls and outputs. This history spans all previous turns in the same session sequentially handled by the current playbook.
Data store:
Deterministic Flows
These settings apply to all flows in this agent, except for the machine learning (ML) settings, which are applied per flow. To edit other flow-specific settings, navigate to the flow in the console and edit the settings there.
Intent training: Flows use ML algorithms to understand end-user inputs, match them to intents, and extract structured data. Flows learn from training phrases that you provide and the language models built into flows. Based on this data, the agent builds a model to decide which intent matches an end-user input. You can apply unique ML settings for each flow of an agent.
The following intent training settings are available:
If this setting is enabled and end-user input has a spelling or grammar mistake, the agent matches an intent as though the input were written correctly. The detect intent response contains the corrected end-user input. For example, if an end user enters
I want an applle, the agent processes it as though the end user enteredI want an apple. Spell correction also applies to matches involving both system and custom entities.Spell corrections are available in English, French, German, Spanish, and Italian. They're available in all Dialogflow CX regions.
Warnings and best practices:
- Spell correction can't correct automatic speech recognition (ASR) errors. Don't enable it for agents that use ASR inputs.
- Corrected input might match the wrong intent. To fix this issue, add commonly mismatched phrases to negative examples.
- Spell correction increases the agent's response time slightly.
If an agent is defined using domain-specific jargon, the corrections might be unintended.
Flow-specific ML settings:
-
Choose one of the following options:
- Advanced NLU (default): Advanced NLU technology. This NLU type works better than standard, especially for large agents and flows.
- Standard NLU: Standard NLU technology. This NLU type no longer receives quality improvements or new features.
-
If you enable this setting, the agent trains the flow whenever you update it in the console. For large flows, automatic training might cause console UI delays. To avoid delays with large flows, disable this setting and manually train the flow as needed.
Classification threshold (per language)
To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. This setting controls the minimum intent detection confidence required for an intent match.
If the confidence score for an intent match is less than the threshold value, the agent invokes a no-match event.
You can set a separate classification threshold value for every flow in each language enabled for the agent. This per-language setting accommodates languages that perform best at different classification thresholds. For more information about creating a multilingual agent, see Multilingual agents.
-
Indicates whether the flow has been trained since the most recent update to the flow data.
-
Use this button to manually train the flow.
-
The languages supported by your agent. After you create an agent, you can't change its default language directly. However, you can change the default language by completing the following steps:
- Export your agent to the JSON format.
- Extract the downloaded file.
- Find the
agent.jsonfile. - Update the
defaultLanguageCodeandsupportedLanguageCodesfields to the chosen values. - Restore the agent to the same or a different agent from step 1.
- Update language-specific training phrases and entity values as needed.
To automatically detect the language of each end-user text input, select Enable language auto detection and switching. To use this feature in a flow, you must also enable it in the flow settings.
Connectivity
-
In this section, you can create descriptions and payloads for custom payload templates.
-
Configure custom client certificates for your agent:
- SSL certificate: Upload an SSL certificate encoded in PEM format.
- Private key: In the Private key secret field, enter the Secret Manager secret version resource name for the private key.
- Passphrase: Optional. If the private key is encrypted, in the Passphrase secret field, enter the Secret Manager secret version resource name for the passphrase.
Speech and IVR
Speech options:
-
You can select the language and voice for speech synthesis. Supported options include Standard, WaveNet, Neural2,
Chirp3-HD, Custom Voice, and voice cloning.The following considerations apply to voice selection:
- SSML support: Unary
Chirp3-HDsynthesis supports a subset of Speech Synthesis Markup Language (SSML) tags. For the list, see Supported SSML elements. Inside SSML input, commas are normalized to spaces, so use<break>tags for pauses. When you select Enable streaming text-to-speech, Dialogflow CX strips SSML tags. Cloned voices don't support SSML and require plain text. - Spanish locale matching:
AnalyzeContent,StreamingAnalyzeContent, andBidiStreamingAnalyzeContentresolvees-419toeswhen selecting a voice. Direct V3SessionsAPI calls, such asDetectIntentandStreamingDetectIntent, don't supportes-419for text-to-speech. Usees-USores-ESfor those calls.
To enable a Custom Voice model, select custom voice in the Voice name list, and then enter the custom voice name in the corresponding field. The custom voice name must follow this pattern:
projects/PROJECT_ID/locations/LOCATION/models/MODEL_NAME.Replace the following:
PROJECT_ID: the ID of your custom voice projectLOCATION: the location of your custom voice modelMODEL_NAME: the name of your custom voice model
To use a custom voice, grant the required role in your custom voice project:
- If you use a telephony gateway, grant the
AutoML Predictor role
(
roles/automl.predictor) to the Dialogflow Service Agent (service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com), wherePROJECT_NUMBERis the project number of your agent project. - For regular API calls, grant the AutoML Predictor role to the service account that calls Dialogflow CX.
You can configure the following per-language voice settings:
Controls the relative highness or lowness of the tone of speech.
Controls the speaking speed of the voice.
Specifies custom pronunciations for specific phrases using IPA or X-SAMPA phonetic encoding. Support for SSML input and symbol matching depends on the voice family:
Chirp3-HDvoices don't support combining custom pronunciations with SSML input. Custom pronunciations reject standalone symbol-only phrases (such as#), but match symbols when combined with letters or digits (such as#1). For details, see Chirp 3: HD voices.- Standard, WaveNet, Neural2, and Studio voices support combining custom
pronunciations with SSML input, but don't match custom pronunciation
phrases that start or end with symbols such as
#.
- SSML support: Unary
Override request-level synthesized speech configuration
If enabled, the agent's Text-to-Speech settings override the voice configuration in the API request or conversation profile. If a telephony gateway sends its own voice configuration in every request, enable this setting.
Enable streaming text-to-speech
This setting requires access approval. When you enable this setting for
Chirp3-HDvoices, Dialogflow CX streams synthesized audio to reduce latency.Improve speech recognition quality
To automatically improve speech recognition quality by using agent information, such as intents and entities, select Enable auto speech adaptation. For more information, see Auto speech adaptation.
-
To configure agent-level advanced settings for speech features, select Enable advanced speech settings. For details, see Advanced speech settings.
-
For more information, see DTMF for telephony integrations.
Call companion: See Call companion.
UI Settings
You can use these settings to customize the Messenger and call companion user interfaces across the following sections:
- General settings: Configure the background color, font, and chat bubble border radius.
- Title bar: Configure the logo URL, title, and text color.
- User input: Configure the background color and text color for end-user input.
- Agent response: Configure the background color and text color for agent responses.
Security
The following security settings are available:
- Encryption: View the customer-managed encryption keys (CMEK) status, location, and associated key for the agent's region, or see when CMEK isn't available in the region.
- Data security: Configure location-specific security settings, such as data redaction and data retention. For more information, see Security settings.
- Permissions for agent: View and manage agent permissions. For more information, see Access control.
Dialogflow CX console agent settings
To access agent settings:
Console
- Open the console.
- Choose your project.
- Select your agent.
- Click Agent Settings.
- Update the settings as needed.
- Click Save.
API
For more information, see the get and patch/update methods for the Agent
type.
Select a protocol and version for the Agent reference:
| Protocol | V3 | V3beta1 |
|---|---|---|
| REST | Agent resource | Agent resource |
| RPC | Agent interface | Agent interface |
| C++ | AgentsClient | Not available |
| C# | AgentsClient | Not available |
| Go | AgentsClient | Not available |
| Java | AgentsClient | AgentsClient |
| Node.js | AgentsClient | AgentsClient |
| PHP | Not available | Not available |
| Python | AgentsClient | AgentsClient |
| Ruby | Not available | Not available |
General settings
The following general settings are available for agents:
- Display name: A human-readable name for your agent.
- Time zone: The default time zone for your agent.
Default language: The default language supported by your agent. Once an agent is created, the default language cannot be changed. However, you can perform the following:
- Export your agent to the JSON format.
- Extract the downloaded file.
- Find the
agent.jsonfile. - Update the
defaultLanguageCodeandsupportedLanguageCodesfields to the needed values. - Restore the agent to the same or different agent from step 1.
- Update language-specific training phrases and entity values as needed.
Agent lock:
- Lock the agent: Indicates if the agent is locked. A locked agent cannot be edited.
Logging settings:
- Enable Cloud Logging: Indicates if Cloud logging is enabled for the agent.
- Enable conversation history: Indicates if you want Google to collect and store redacted end-user queries for quality improvement.
- Enable consent-based end-user input redaction:
If this setting is enabled, it lets you use a special session parameter to control whether end-user input and parameters are redacted from conversation history and Cloud logging. By default, the session parameter is
true. If this setting is disabled, no redaction occurs.User consent is collected using a boolean session parameter:
$session.params.conversation-redaction. If this setting is enabled, and the session parameter is set tofalse, no redaction occurs (other redaction strategies still apply). If this setting is enabled, and the session parameter is set totrue, redaction occurs.An example consent requesting flow could be: first ask the user if they want to keep end-user input, and match the response with two intents, one is "yes intent" and the other is "no intent." Then, set the session parameter to
false(no redaction) in the parameter presets of the "yes intent" route in fulfillment, and totrue(redaction occurs) in the parameter preset of the "no intent" route.BigQuery export:
- Enable BigQuery export: Indicates if BigQuery export is enabled.
- BigQuery dataset: The BigQuery dataset name.
- BigQuery table: The BigQuery table name.
Intent suggestions: You can enable intent suggestions.
User feedback: You can enable Enable user feedback to collect end-user feedback about answer quality. This setting requires Enable conversation history to be enabled. For more information, see Answer feedback.
Custom payload template: In this section, you can create descriptions and payloads for custom payload templates.
ML settings
Dialogflow CX uses machine learning (ML) algorithms to understand end-user inputs, match them to intents, and extract structured data. Dialogflow CX learns from training phrases that you provide and the language models built into Dialogflow CX. Based on this data, it builds a model for making decisions about which intent should be matched to an end-user input. You can apply unique ML settings for each flow of an agent, and the model created by Dialogflow CX is unique for each flow.
The following agent-wide ML settings are available:
Allow ML to correct spelling:
If this is enabled and end-user input has a spelling or grammar mistake, an intent will be matched as though it was written correctly. The detect intent response will contain the corrected end-user input. For example, if an end-user enters "I want an applle", it will be processed as though the end-user entered "I want an apple". This also applies to matches involving both system and custom entities.
Spell correction is available in English, French, German, Spanish, and Italian. It is available in all Dialogflow CX regions.
Warnings and best practices:
- Spell correction can't correct ASR (automatic speech recognition) errors, so we don't recommend enabling it for agents using ASR inputs.
- It's possible for corrected input to match the wrong intent. You can fix this by adding commonly mismatched phrases to negative examples.
- Spell correction increases the agent's response time slightly.
- If an agent is defined using domain-specific jargon, the corrections may be undesired.
The following flow-specific ML settings are available:
NLU type:
This can be one of:
- Advanced NLU (default): Advanced NLU technology. This NLU type works better than standard, especially for large agents and flows.
- Standard NLU:: Standard NLU technology. Will no longer receive quality improvements or new features.
Auto train: If enabled, the flow is trained whenever it is updated with the console. For large flows, this may cause console UI delays, so you should disable this setting and manually train as needed for large flows.
Classification threshold:
To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. This setting controls the minimum intent detection confidence required for an intent match.
If the confidence score for an intent match is less than the threshold value, then a no-match event will be invoked.
You can set a separate classification threshold value for every flow in each language enabled for the agent. This is to accommodate different languages performing best at different classification thresholds. For more information about creating a multilingual agent, see the Multilingual agents documentation.
Training status: Indicates if the flow has been trained since the latest update to the flow data.
Train NLU: Use this button to manually train the flow.
Generative AI settings
The following generative AI settings are available:
General:
- Banned phrases: A list of phrases that are banned for generative AI. If a banned phrase appears in the prompt or the generated response, the generation will fail.
Safety filters: Configure sensitivity levels of safety filters with respect to different Responsible AI (RAI) categories. Content will be assessed against the following four categories:
Category Description Hate speech Negative or harmful comments targeting identity and/or protected attributes. Dangerous content Promotes or enables access to harmful goods, services, and activities Sexually explicit content Contains references to sexual acts or other lewd content Harassment Malicious, intimidating, bullying, or abusive comments targeting another individual Content is blocked based on the probability that it's harmful. The sensitivity level can be customized by choosing one of Block none, Block few, Block some, and Block most for each category.
For more information, see Configuring safety attributes.
Prompt security: You can check the enable prompt security check setting to enable prompt security checks. If enabled, the agent will attempt to prevent prompt injection attacks. These attacks may be used to reveal parts of the agent prompt or to provide responses the agent is not supposed to supply. This is accomplished by sending an additional LLM prompt that checks if the user query is possibly malicious.
Generative agent:
- Generative model selection: Select the model used by generative features. For more information, see model versions.
- Playbook context truncation: culls some past turns from the playbook prompt to keep the prompt size from growing with every sequential turn handled by the playbook. This feature offers a way to mitigate unwanted prompt size growth.
Normally, without truncation, each subsequent turn will be appended into the "conversation history" of the LLM prompt regardless of whether it's relevant to the current turn. This can ultimately lead to the prompt increasing in size with every turn. As more of the prompt is taken up by conversation history, less of the prompt can be used for few-shot examples (so these might get dropped). Eventually, the prompt might also breach current token limits. You can increase token sizes to accommodate this, but keep in mind that increased prompt sizes also add to the LLM response latency.
Playbook context truncation lets you set a percentage of the token budget to be reserved for conversation history, as a maximum. Conversation turns are preserved in most recent to least recent order. This setting can help you prevent token limits from being exceeded. Regardless of which setting you choose, a minimum of two conversation turns are preserved, in most recent to least recent order.
You must first set a token limit before you can modify this setting.
Important: Truncating context might cause some parameters to be inadvertently be lost if they are part of culled turns. Evaluate your playbook interactions carefully after enabling this option.
Token input budget is also used by the following:
- System instructions and examples automatically added to the prompt. This behavior cannot be modified.
- Playbook instructions and goals: Any instructions and goals that you write will be added to the prompt in their entirety.
- Playbook few-shot examples added either in order (by default) or by an algorithm that you choose (such as regular expression best match ordering). Examples are culled to fit within input token budget after all other items are included.
- Conversation history made up of user and agent utterances, flow and playbook transition context, tool calls and outputs in the same session from all previous turns sequentially handled by the current playbook.
Generative fallback:
- Text prompt configuration: See Generative fallback: define your own prompt.
Data store: See Data store agent settings.
Speech and IVR settings
The following speech and IVR settings are available:
Text-to-Speech:
- Voice selection:
You can select the language and voice for speech synthesis, including
Chirp3-HD, voice cloning, and Custom voice models. For details about SSML support, Spanish locale matching, voice overrides, and custom pronunciations, see Languages and voices.To enable a Custom voice model, select the custom voice option and enter the custom voice name in the corresponding field. The custom voice name must follow the following pattern:
projects/PROJECT_ID/locations/LOCATION/models/MODEL_NAME.- If you are using telephony gateway, make sure the
Dialogflow Service Agent service account
service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.comis granted with "AutoML Predictor" in your custom voice project. - For regular API calls, make sure the service account used to call Dialogflow CX is granted with "AutoML Predictor" role in your custom voice project.
Speech-to-Text:
- Enable auto speech adaptation: See Auto speech adaptation.
- Advanced speech settings: For details about advanced speech options, see the Advanced speech settings guide.
DTMF
See DTMF for telephony integrations.
Multimodal
See Call companion.
Share settings
See Access control.
Languages settings
Add additional language support to your agent. For the full list of languages, see the language reference.
Language auto detection
When you configure language auto detection, your chat agent will automatically detect the end-user's language and switch to that language. See the language auto detection documentation for details.
Security settings
See Security settings.
Advanced settings
The only advanced setting is for sentiment analysis.
Generative AI App Builder settings
This section describes the settings available for agent apps.
General
The following general settings are available for agent apps:
- Display name: A human-readable name for your agent app.
- Location: The agent app region.
- App lock: If enabled, changes to the agent app are not permitted.
Logging
The following logging settings are available for agent apps:
- Enable Cloud Logging: If enabled, logs will be sent to Cloud logging.
- Enable Conversation History: If enabled, conversation history will be available. Indicates if you want Google to collect and store redacted end-user queries for quality improvement. This setting doesn't affect whether conversation history is used to generate agent responses.
- Enable BigQuery Export: If enabled, conversation history is exported to BigQuery. The Enable Conversation History setting must also be enabled.
GenAI
The following generative AI settings are available for agent apps:
- Generative model selection: Select the generative model that agents should use by default.
- Input token limit: Select the input token limit for the generative model. This is the maximum token size for input to be sent to the model. Depending on the model, a token can be somewhere between one character and one word. Smaller token limits have lower latency, but the model input size is limited. Larger token limits have higher latency, but the model input size can be larger.
- Output token limit: Select the output token limit for the generative model. This is the maximum token size for output to be received from the model. Depending on the model, a token can be somewhere between one character and one word. Smaller token limits have lower latency, but the model output size is limited. Larger token limits have higher latency, but the model output size can be larger.
- Temperature: The temperature for a LLM lets you control how creative the responses are. A low value provides more predictable responses. A high value provides more creative or random responses.
- Banned phrases: A list of phrases that are banned for generative AI. If a banned phrase appears in the prompt or the generated response, the agent will return a fallback response instead.
Safety filters: Configure sensitivity levels of safety filters with respect to different Responsible AI (RAI) categories. Content will be assessed against the following four categories:
Category Description Hate speech Negative or harmful comments targeting identity and/or protected attributes. Dangerous content Promotes or enables access to harmful goods, services, and activities Sexually explicit content Contains references to sexual acts or other lewd content Harassment Malicious, intimidating, bullying, or abusive comments targeting another individual Content is blocked based on the probability that it's harmful. The sensitivity level can be customized by choosing one of Block none (disabling RAI checks), Block few (blocking only high-probability instances of harmful content), Block some (medium and high probability instances), and Block most (low, medium, and high probability) for each category.
For more information, see configure safety attributes.
Prompt security: You can check the enable prompt security check setting to enable prompt security checks. If enabled, the agent will attempt to prevent prompt injection attacks. These attacks can be used to reveal parts of the agent prompt or to provide responses the agent is not supposed to supply. This is accomplished by sending an additional LLM prompt that checks if the end-user query is possibly malicious.
Git
These settings provide a Git integration. Follow the instructions to configure the integration.