Wire up Valyu Search with the Python SDK.
Basic usage
Common patterns
{"nih.gov": 2, "nih.gov/research": -3}).
Reference
Parameters
Parameters
query (str, required) - the search query. See the Prompting Guide.Response format
Response format
Async (AsyncValyu)
Async (AsyncValyu)
AsyncValyu.search takes the same arguments and returns the same SearchResponse - the only difference is you await it. The common reason to use it is running several queries in parallel:asyncio.Semaphore - see the Python SDK overview for constructor options and lifecycle patterns.Source types
- Web - general websites, news, blogs, forums, documentation.
- Proprietary -
valyu/valyu-arxiv(arXiv papers),valyu/valyu-pubmed(medical literature),valyu/valyu-stocks(market data), and many more.

