# Web Search Query Review (Elicitation)

1 min read

# **Overview**  
This feature is currently in `BETA`. It may change significantly before general availability. Documentation may lag behind feature updates. Use in production environments at your own discretion. Please refer to our [Upgrade and Release Process](https://docs.unique.ai/it-operators/installing-and-upgrading-unique/upgrade-and-release-process) for more information.

The **Web Search Query Review (Elicitation)** feature introduces an approval mechanism before web search queries are executed.

When enabled, any request that triggers a web search must be **explicitly approved by the end user** before it is executed.

This feature is designed to:

- Prevent unintended data leakage  
- Avoid external exposure of sensitive or identifying information  
- Increase transparency of outgoing web queries  
- Give users full control over external tool usage

* * *

# **Purpose**  
When AI systems use web search tools, there is a risk that:

- Custom instructions  
- Identifying data  
- Sensitive context  
- Proprietary information

may unintentionally be included in the search query sent to external providers.

The **Query Review mechanism ensures that no web search is executed without user consent.**

* * *

# **How It Works**  
When Query Review is enabled:

1. A user submits a question in UniqueAI.
2. The system determines that a **Web Search Tool Call** is required.
3. Instead of immediately executing the search:
   - The system displays the generated search queries.
   - The user must explicitly approve them.
4. Only after approval is the web search executed.

If the user does not approve the request:

- The web search is not performed.  
- No external data call is made.

* * *

# **Activation (Configuration)**  
This feature must be enabled in the web search tool configuration.

## **Steps to Enable Query Review**  
1. Navigate to **Web Search Tool** **Configuration**
2. Locate **Query Elicitation**
3. **Enable Query Review**

Once activated, all web search tool calls require user approval.

* * *

# **User Experience in UniqueAI**  
When a web search is triggered:

- A **Query Approval Dialog** appears
- The generated search queries are displayed
- The user has the option to:
  - **Confirm**
  - **Cancel**

* * *

# **Approval Timeout Configuration**  
An additional configuration allows defining how long an approval request remains open.

### **Timeout Behavior**  
If the user does not approve the query within this timeframe:

- The request is automatically denied  
- No web search is executed  
- The tool call expires
