/** * DeepSeek LLM Provider */ import type { LLMProvider } from '../rag/queryEngine.js'; export interface DeepSeekConfig { /** DeepSeek API key (starts with sk-) */ apiKey: string; /** Model to use for chat completions @default 'deepseek-chat' */ model?: string; /** Base URL for the DeepSeek API @default 'https://api.deepseek.com' */ baseUrl?: string; /** Temperature for generation @default 0.2 */ temperature?: number; } /** * DeepSeek LLM provider for affordable AI-powered features. * Implements the LLMProvider interface used by RAGQueryEngine and DescriptionGenerator. */ export declare class DeepSeekProvider implements LLMProvider { private apiKey; private model; private baseUrl; private temperature; constructor(config: DeepSeekConfig); /** * Generate text using DeepSeek's chat completions API. * Compatible with the LLMProvider interface used across PRSense. */ generate(prompt: string): Promise; /** * Chat completion with system + user messages. * Useful for structured prompts (triage, decision extraction). */ chatCompletion(systemPrompt: string, userQuery: string): Promise; /** * JSON-mode chat completion for structured extraction (e.g., triage, decisions). */ jsonCompletion(systemPrompt: string, userQuery: string): Promise; } /** * Create DeepSeek provider from environment variable */ export declare function createDeepSeekProvider(): DeepSeekProvider; //# sourceMappingURL=deepseek.d.ts.map