The Rust SDK is in alpha. Interfaces may change between releases; check the crate version before upgrading.
Basic usage
Common patterns
Use theDeepSearchRequest builder for anything beyond a plain query, then call client.deep_search(&request):
Reference
Builder methods
Builder methods
query (impl Into<String>, required) - the search query. See the Prompting Guide.Response format
Response format
Error handling
Error handling
Source types
- Web - general websites, news, blogs, forums, documentation.
- Specialist indexes (
proprietaryin the API) - Includes open and licensed sources. For example,valyu/valyu-arxiv(arXiv papers),valyu/valyu-pubmed(medical literature),valyu/valyu-stocks(market data), and many more.