Web Search
The web search feature aims to provide large language models with the ability to invoke search engines like Google, Bing, and Sogou to obtain recent world information, which can improve the accuracy of model responses and reduce hallucinations to some extent.
AstrBot's built-in web search functionality relies on the large language model's function calling capability. If you're not familiar with function calling, please refer to: Function Calling.
When using a large language model that supports function calling with the web search feature enabled, you can try saying:
Help me search for xxxHelp me summarize this link: https://soulter.topLook up xxxRecent xxxx
And other prompts with search intent to trigger the model to invoke the search tool.
Starting from version v4.0.0, AstrBot supports 2 types of web search source integration: default and Tavily. The former uses AstrBot's built-in web search requester to query Google, Bing, and Sogou search engines, performing best in network environments with Google access. Tavily is recommended.

Go to Configuration, scroll down to find Web Search, where you can select default or Tavily.
default
If your device is in China and you have a proxy, you can enable the proxy and enter the HTTP proxy address in Admin Panel - Other Configuration - HTTP Proxy to apply the proxy.
Tavily
Go to Tavily to get an API Key, then fill it in the corresponding configuration item.

