> ## Documentation Index
> Fetch the complete documentation index at: https://docs.buildassistants.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Search The Web With Your AI Assistant

<img src="https://mintcdn.com/buildassistants-9ea2341f/ND7fhV-2lgrsOB5z/images/search-web.png?fit=max&auto=format&n=ND7fhV-2lgrsOB5z&q=85&s=8c9d3642dda83c1969a13117370358d4" alt="Main dashboard interface" height="300" className="rounded-lg" data-path="images/search-web.png" />

## Overview

Your AI assistant can search the web to provide real-time information and current data to users. This functionality extends the assistant's knowledge beyond its training data, enabling it to access up-to-date information from across the internet.

## How Web Search Works

The response will be the return from **Bing search engine**. When your AI assistant needs current information or cannot answer a question from its existing knowledge base, it can perform web searches to find relevant, real-time data.

## Key Features

* ✅ **Real-time information access** through Bing search integration
* ✅ **Current data retrieval** for time-sensitive queries
* ✅ **Expanded knowledge base** beyond training data
* ✅ **Automatic search triggering** when needed
* ✅ **Contextual search results** relevant to user queries
* ✅ **Seamless integration** with assistant responses

## When Web Search Is Used

Your AI assistant will automatically use web search functionality when:

* **Current events** - Questions about recent news or developments
* **Real-time data** - Stock prices, weather, current statistics
* **Recent information** - New product releases, updated policies
* **Location-specific queries** - Local business hours, current events
* **Time-sensitive content** - Today's date, current schedules

## Search Integration Benefits

**Enhanced Accuracy:**

* Provides current, up-to-date information
* Reduces reliance on potentially outdated training data
* Ensures responses reflect recent changes and developments

**Improved User Experience:**

* Delivers comprehensive answers with current data
* Reduces "I don't know" responses for recent information
* Provides relevant, contextual search results

**Expanded Capabilities:**

* Extends assistant knowledge beyond training cutoff
* Enables assistance with current events and trends
* Supports dynamic, evolving information needs

## How to Enable Web Search

Web search functionality is typically enabled by default in your AI assistant. If you need to configure or troubleshoot web search:

1. **Check Assistant Settings** - Verify web search is enabled in your assistant configuration
2. **Test Functionality** - Ask questions requiring current information to test search capability
3. **Monitor Performance** - Review search result quality and relevance

## Best Practices

**Query Optimization:**

* AI automatically determines when web search is needed
* Search queries are optimized for relevant results
* Multiple searches may be performed for comprehensive answers

**Result Processing:**

* Search results are processed and summarized by the AI
* Information is presented in conversational format
* Sources may be referenced when appropriate

**Quality Control:**

* AI evaluates search result relevance and accuracy
* Multiple sources may be consulted for verification
* Results are synthesized into coherent responses

## Example Use Cases

**Current Events:**

* "What's the latest news about renewable energy policies?"
* "What happened in today's market?"

**Real-time Data:**

* "What's the current weather in New York?"
* "What are today's gas prices?"

**Recent Information:**

* "What are the new iPhone features announced this year?"
* "What are the current COVID-19 guidelines?"

**Local Information:**

* "What time does the local DMV close today?"
* "Are there any events happening downtown this weekend?"

## Troubleshooting

**Search not working:**

* Verify internet connectivity
* Check assistant configuration settings
* Test with different query types

**Irrelevant results:**

* Rephrase questions for better search targeting
* Provide more specific context in queries
* Review assistant prompt configuration

**Slow responses:**

* Web searches may add response time
* Consider network connectivity factors
* Monitor search query complexity

## Technical Details

* **Search Engine:** Powered by Bing search API
* **Response Format:** Processed and summarized by AI
* **Automatic Triggering:** AI determines when search is needed
* **Result Processing:** Information synthesized into conversational responses
