llms-txt-generator
Version:
A powerful CLI tool and MCP server for generating standardized llms.txt and llms-full.txt documentation files to help AI models better understand project structures
15 lines (14 loc) • 538 B
TypeScript
import { EventEmitter } from 'events';
import OpenAI from 'openai';
import { type ILLMConfig } from '../types';
export type LLMConfig = ILLMConfig;
export declare class LLM {
private mcpClient;
private openai;
private config;
private isAzure;
private toolsType;
constructor(config: LLMConfig);
chat(messages: OpenAI.Chat.Completions.ChatCompletionMessageParam[]): Promise<string>;
chatStream(messages: OpenAI.Chat.Completions.ChatCompletionMessageParam[], emitter?: EventEmitter): Promise<EventEmitter>;
}