The Rust SDK is in alpha. The API is stable, but some interfaces may change based on feedback.
Wire up Valyu Contents extraction with the Rust SDK (alpha).
Basic usage
Common patterns
with_extract_effort("high") for JS-heavy pages, and with_response_length ("short" 25k, "medium" 50k, "large" 100k, "max") or with_custom_response_length(i32) to control content per URL.
For arXiv, PubMed Central, bioRxiv, medRxiv, and ChemRxiv papers, Valyu serves clean processed markdown (with figures and equations) from its academic index when your plan covers the source - otherwise it uses the live crawler. Pass the paper URL (a
/pdf/ arXiv link or a DOI works best) or bare id. See Academic Papers.Reference
Builder methods
Builder methods
urls (Vec<String>, required) - URLs to process (max 10).Response format
Response format
Error handling
Error handling

