@devvai/devv-code-backend
Version:
Backend SDK for Devv Code - Provides authentication, data management, email and AI capabilities
19 lines (18 loc) • 513 B
TypeScript
import type { WebSearchOptions, WebSearchResponse } from './types';
/**
* DevvWebSearch - Web search functionality using Jina SERP API
*
* Searches the web and returns top results in LLM-friendly format
*
* Usage:
* ```typescript
* const webSearch = new DevvWebSearch();
* const result = await webSearch.search({
* query: "artificial intelligence news"
* });
* ```
*/
export declare class DevvWebSearch {
search(options: WebSearchOptions): Promise<WebSearchResponse>;
private formatQuery;
}