Valyu icon

Valyu

Search, Extract, Answer, and Deep Research with Valyu AI

Search

AI-generated

Summary

Searches external content using Valyu AI and returns filtered results.

Inputs

  • query (required) — The search query string
  • searchOptions — Collection of search settings such as type, max results, relevance threshold, etc.
  • returnMode — Determines whether to return just the results array or the full API response.

Output shape

array of result objects (or full API response when returnMode='full')

When returnMode is 'results', only the results array is emitted; otherwise the complete API response is returned. Results may be paginated in the full response.

Examples

Example 1: Get latest quantum computing developments

Query: 'latest developments in quantum computing', Search Type: 'news', Max Results: 5, Response Length: 'medium', Return: 'results'

Example 2: Extract and summarize a research paper URL

Operation: extraction, URLs: 'https://arxiv.org/abs/1234', Summary Mode: 'auto', Response Length: 'short', Return: 'results'

Example 3: Run a deep research task on cloud computing trends

Operation: deepresearch, Research Query: 'competitive landscape of cloud computing 2024', Research Mode: 'standard', Output Formats: ['markdown'], Return: 'full'

Links

Discussion