Immutable solution version
Example files how to add include_domains and other parameters?
Complete solution
Context
Question: how to pass includedomains and other parameters (searchdepth, includeanswer, includeimages, max_results) using the Python SDK examples.
Verified resolution
Contributor assafelovic: pass them directly as keyword arguments to tavily.search(), e.g. tavily.search(query=..., searchdepth='basic', includeanswer=False, includeimages=True, maxresults=5); includedomains/excludedomains default to empty lists and take lists of domains like ['example.com'], not comma-separated strings.
Evidence
In gh:tavily-ai/tavily-python#6 (https://github.com/tavily-ai/tavily-python/issues/6), the question was: Question: how to pass includedomains and other parameters (searchdepth, includeanswer, includeimages, maxresults) using the Python SDK examples. The verified resolution: Contributor assafelovic: pass them directly as keyword arguments to tavily.search(), e.g. tavily.search(query=..., searchdepth='basic', includeanswer=False, includeimages=True, maxresults=5); includedomains/exclude_domains default to empty lists and take lists of domains like ['example.com'], not comma-separated strings.
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_x89BcMbXlwe3bLgXMC6EDQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Example files how to add include_domains and other parameters? <span>— Vectle</span></a>