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, AI Agent,
Custom LLM, or Azure OpenAI. (Default: Tungsten) Alternatively, select to provide an inline value, or select a form control, a form variable, or a global variable. 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. |
||||||||||
| Model |
The AI model used by the component depends on the type of provider you select. Providers are listed under the names given when they were configured, so a name such as "ChatGPT" may belong to any type. To check the type of a provider, open it in and look at Type. The name of the property and the options it offers vary by provider type:
|
||||||||||
| 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, enables you to add MCP servers to be executed at runtime. (Default: Clear)
|
||||||||||
| Show tool progress |
If selected, displays MCP tool execution progress to indicate that a request is actively being processed. (Default: Clear) This property is available only when Use MCP servers is enabled. When an MCP tool is executed, the tool name is displayed during response generation and removed automatically after the response is generated. |
||||||||||
| Audit conversation |
If selected, enables auditing of AI interactions (default: Clear). The audit log records:
|
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 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 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.
- When you configure the "Generative AI chat" control in a Same page action,
Prompt and Conversation
buttons appear at runtime. When the user submits a prompt in the Chat
window, the corresponding properties are updated at runtime.
-
Prompt contains the text the user entered in the chat.
-
Conversation contains the conversation history based on the "Persist conversation" setting. If "Persist conversation" is enabled, the full conversation history, including all prompts and responses from the current session, is displayed; otherwise, only the most recent response from the AI provider is displayed. The conversation content is formatted based on the "Response format" setting (HTML or plain text).
-
-
To clear the current conversation, including the context (if "Persist conversation" is selected in Search using Generative AI) and start a new one, select in the top right corner of the Chat box.
-
If MCP servers are used:
-
You can perform MCP-related functions. For example, you can enter a prompt to upload AI-generated content or a document to SharePoint or Google Drive.
-
An MCP server exposes one or more tools that an AI assistant can use. When an AI assistant needs to use an MCP tool that requires permission, a Tool Permission Required prompt is displayed. The prompt identifies the tool the AI assistant wants to use and allows you to decide whether to grant or deny access. See MCP tool approvals for more information.
-