mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-13 18:24:45 +08:00
feat: add Serper search engine support (#762)
* feat: add Serper search engine support * docs: update configuration guide and env example for Serper * test: add test case for Serper with missing API key
This commit is contained in:
@@ -204,6 +204,24 @@ The context management doesn't work if the token_limit is not set.
|
||||
|
||||
## About Search Engine
|
||||
|
||||
### Supported Search Engines
|
||||
DeerFlow supports the following search engines:
|
||||
- Tavily
|
||||
- InfoQuest
|
||||
- DuckDuckGo
|
||||
- Brave Search
|
||||
- Arxiv
|
||||
- Searx
|
||||
- Serper
|
||||
- Wikipedia
|
||||
|
||||
### How to use Serper Search?
|
||||
|
||||
To use Serper as your search engine, you need to:
|
||||
1. Get your API key from [Serper](https://serper.dev/)
|
||||
2. Set `SEARCH_API=serper` in your `.env` file
|
||||
3. Set `SERPER_API_KEY=your_api_key` in your `.env` file
|
||||
|
||||
### How to control search domains for Tavily?
|
||||
|
||||
DeerFlow allows you to control which domains are included or excluded in Tavily search results through the configuration file. This helps improve search result quality and reduce hallucinations by focusing on trusted sources.
|
||||
|
||||
Reference in New Issue
Block a user