Knowledge
Valyu makes your AI smarter. Intelligently search and retrieve content, whether you just need simple web search, or much deeper search, where we retrieve and rerank content across proprietary sources and deep web search. All handled for you ;)
Authorizations
Body
The question or topic the user wants information on.
Defines whether to search in "proprietary", "web", or "all" sources.
proprietary
, web
, all
The maximum allowed price per thousand queries (CPM).
(Optional) List of index names or URLs to search over. Can include proprietary dataset names (e.g. 'valyu/valyu-arxiv') and/or specific website URLs (e.g. 'https://www.valyu.network/'). If omitted, all relevant indices are used.
[
"valyu/valyu-arxiv",
"valyu/valyu-wikipedia",
"https://www.valyu.network/"
]
Number of results returned after reranking.
(Optional) The minimum similarity score for a result to be included.
(Optional) Whether to rewrite the query to improve query performance.
Response
Indicates if the request was successful
Error message if any
Transaction ID for this request. Can be used for providing feedback.
The processed query string
Array of result objects
Count of results by source type
Total cost extrapolated to 1000 queries (CPM) for retrieved content.
Total cost for the results in USD.
Total number of characters retrieved across all results.