khodkar-cli
Version:
A TypeScript CLI application that extracts business rules and logic from codebases for customer support knowledge bases
26 lines • 837 B
TypeScript
import { ToolSet } from 'ai';
import { LLMConfig } from '../types';
export declare class LLMProcessor {
private provider;
private model;
private config;
private exporter;
private sdk;
constructor(llmConfig: LLMConfig);
analyze(toolSet: ToolSet): Promise<string>;
/**
* Cleanup method to properly shutdown the OpenTelemetry SDK and flush remaining traces
*/
cleanup(): Promise<void>;
/**
* Phase 1: Repository Discovery
* Identifies files in the repository that likely contain business logic rules
*/
getRepositoryDiscoveryPrompt(): string;
/**
* Phase 2: Combined Rule Extraction and Documentation
* Extracts business rules and creates documentation in one step
*/
getRuleExtractionPrompt(): string;
}
//# sourceMappingURL=llm-processor.d.ts.map