UNPKG

purchase-mcp-server

Version:

Purchase and budget management server handling requisitions, purchase orders, expenses, budgets, and vendor management with ERP access for data extraction

31 lines (30 loc) 958 B
interface LLMResponse { content: string; topic: string; flag: string; importance: "low" | "medium" | "high"; } interface LLMRequest { query: string; systemPrompt: string; modelName: string; jsonMode?: boolean; temperature?: number; } export declare class LLMClient { private client; constructor(apiKey: string); ask(request: LLMRequest): Promise<LLMResponse>; } export declare function parseDocumentToMarkdown(params: { file_path: string; json_output_path: string; md_output_path: string; parsing_instruction?: string; api_key: string; vendor_model?: string; }): Promise<boolean>; export declare function extractMarkdownFromJson(jsonPath: string, mdOutputPath: string): Promise<string | null>; export declare function callLLM(prompt: string, apiKey: string, model?: string): Promise<LLMResponse>; export declare function getLLMResponse(prompt: string): Promise<LLMResponse>; export {};