feat: add Domain Control Features for Tavily Search Engine (#401)

* feat: add Domain Control Features for Tavily Search Engine

* fixed

* chore: update config.md
This commit is contained in:
HagonChan
2025-07-12 08:53:51 +08:00
committed by GitHub
parent 859c6e3c5d
commit dfd4712d9f
3 changed files with 57 additions and 0 deletions

View File

@@ -115,3 +115,25 @@ BASIC_MODEL:
api_version: $AZURE_API_VERSION
api_key: $AZURE_API_KEY
```
## About Search Engine
### 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.
`Tips`: it only supports Tavily currently.
You can configure domain filtering in your `conf.yaml` file as follows:
```yaml
SEARCH_ENGINE:
engine: tavily
# Only include results from these domains (whitelist)
include_domains:
- trusted-news.com
- gov.org
- reliable-source.edu
# Exclude results from these domains (blacklist)
exclude_domains:
- unreliable-site.com
- spam-domain.net