Configure Generative AI chat control to search using Generative AI
Configure the following settings to perform search using Generative AI.
| Setting | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Header label | Enter the header label to be displayed at runtime. (Default: Generative AI Chat) | ||||||||||
| Search type | To execute the search based on Generative AI, select Generative AI. | ||||||||||
| Provider | Select the Generative AI provider to use, such as OpenAI or AI Agent. (Default: Tungsten)
The Provider list includes the AI providers configured in . See Integrate Generative AI with TotalAgility. If a Generative AI provider is not already configured, a warning message appears when you add the Generative AI chat control to a form. When you select an AI Agent provider, lists for additionally input and output variables appear. You can set a static value or select a dynamic variable (form control, form variable, global variable, and Copilot Insights) for the input and output variables. |
||||||||||
| Source | Select one of the following options.
|
||||||||||
| Persist conversation | If selected, the context persists during conversation. (Default: Clear)
Persisting the conversation increases the token usage that may result in exceeding the token limit. When
the prompt exceeds the token limit, the earlier conversation history is automatically removed to manage the token limit.
|
||||||||||
| Use response profile | If selected, enables adding a response profile, so that at runtime, your responses display in a specific word count or style. (Default: Clear) | ||||||||||
| Response profile | Provide an inline value, such as "Summarize the response in 20 words or less." or select a global variable, form variable, or form control. | ||||||||||
| Use seed | If selected, lets you dynamically set "Use seed" using a form variable (Boolean) or form
control. (Default: Clear)
The seed value increases the likelihood of obtaining more consistent results from the AI provider across repeated requests, though not guaranteed. |
||||||||||
| Seed | Select a form variable or form control, or select a numeric value. (Default: 0 and Maximum: 32,767) | ||||||||||
| Include case data | If selected, lets you include case data for analysis when using Generative AI. (Default:
Clear)
When you include case data, you are prompted to enhance your experience by providing descriptions for both the process and activities to achieve optimal results. The "Include case data" option is not available when using a Custom LLM provider.
At runtime, the case details are included in the information available to search and in the response. |
||||||||||
| Override default message |
If selected, enables the Welcome message and Input help text boxes where you can enter a customized welcome message and help text to be displayed in the Chat control at runtime. (Default: Clear)
|
||||||||||
| Response format |
Select either option for response format.
|
||||||||||
| Use MCP servers |
If selected, lets you add MCP servers. (Default: Clear)
|
||||||||||
| Audit conversation |
If selected, the auditing of AI interactions is enabled. Prompt-response pairs are captured in the audit log while maintaining user anonymity to comply with data protection standards. (Default: Clear) |
When you submit a prompt in a Generative AI chat control on a form using Generative AI as the search type, an entry is recorded in the audit log.
When you view the Generative AI chat control at runtime, the Copilot chat window appears with the following:
-
-
"This conversation is being audited" message.
This message appears if the "Audit conversation" setting is enabled.
-
Learn more about the use of AI link. Select the link to know more about Tungsten Automation's commitment to responsible AI and compliance.
-
A welcome message, "Hello <username>, how can I help you today?".
You can modify the welcome message and input help text, customize the appearance of the chat window, such as the header color of the Copilot chat window, set an icon for Copilot, and more. See Generative AI chat control style.
-
-
When you enter any input, the response is streamed before it is displayed. You can select the Cancel button to cancel the request. If you add an image or text as part of the input, such as uploading a car registration image and requesting the AI provider to get the registration number, the response is returned accordingly.
-
If MCP servers are used, you can perform MCP-related functions. For example, you can enter a prompt to upload the AI generated content or a document to SharePoint or Google Drive.
-
To clear the current conversation (including the context (if "Persist conversation" is selected in Search using Generative AI) and start a new one, select the New chat icon in the top right corner of the Chat box.