UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

17 lines (16 loc) 724 B
import type { Promisable } from 'type-fest'; import type { string_markdown, string_markdown_text } from '../../types/string_markdown'; import type { string_title } from '../../types/string_title'; import type { SearchEngine } from '../SearchEngine'; import type { SearchResult } from '../SearchResult'; /** * A search engine implementation that uses the Bing Web Search API. * * @private <- TODO: !!!! Export via some package */ export declare class BingSearchEngine implements SearchEngine { get title(): string_title & string_markdown_text; get description(): string_markdown; checkConfiguration(): Promisable<void>; search(query: string, options?: Record<string, unknown>): Promise<SearchResult[]>; }