UNPKG

gpt-research

Version:

Autonomous AI research agent that conducts comprehensive research on any topic and generates detailed reports with citations

40 lines 1.29 kB
import { ResearchConfig } from '../types'; export interface ConfigOptions extends ResearchConfig { openaiApiKey?: string; anthropicApiKey?: string; googleApiKey?: string; groqApiKey?: string; perplexityApiKey?: string; togetherApiKey?: string; cohereApiKey?: string; tavilyApiKey?: string; serperApiKey?: string; serpapiApiKey?: string; googleCx?: string; bingApiKey?: string; vercelKvUrl?: string; vercelKvRestApiUrl?: string; vercelKvRestApiToken?: string; vercelKvRestApiReadOnlyToken?: string; fastLLMModel?: string; smartLLMModel?: string; strategicLLMModel?: string; defaultRetriever?: string; defaultScraper?: string; } export declare class Config { private static instance; private config; constructor(overrides?: Partial<ConfigOptions>); private loadDefaultConfig; private loadEnvironment; private applyOverrides; get(key: keyof ConfigOptions): any; getAll(): ConfigOptions; set(key: keyof ConfigOptions, value: any): void; update(updates: Partial<ConfigOptions>): void; getApiKey(provider: string): string | undefined; static getInstance(overrides?: Partial<ConfigOptions>): Config; validateRequired(): void; } //# sourceMappingURL=Config.d.ts.map