codevault
Version:
AI-powered semantic code search via Model Context Protocol
30 lines • 941 B
TypeScript
import type { ScopeFilters } from '../types/search.js';
export interface SynthesisOptions {
provider?: string;
chatProvider?: string;
workingPath?: string;
scope?: ScopeFilters;
maxChunks?: number;
useReranking?: boolean;
useMultiQuery?: boolean;
temperature?: number;
stream?: boolean;
}
export interface SynthesisResult {
success: boolean;
answer?: string;
query: string;
queriesUsed?: string[];
chunksAnalyzed: number;
chatProvider: string;
embeddingProvider: string;
error?: string;
metadata?: {
searchType?: string;
totalResults?: number;
multiQuery?: boolean;
};
}
export declare function synthesizeAnswer(query: string, options?: SynthesisOptions): Promise<SynthesisResult>;
export declare function synthesizeAnswerStreaming(query: string, options?: SynthesisOptions): AsyncGenerator<string>;
//# sourceMappingURL=synthesizer.d.ts.map