import ModelOrch from '../../index'; /** * LangChain call options */ interface LangChainLLMCallOptions { stop?: string[]; callbacks?: Record; } /** * LangChain LLM Adapter * * Provides backward compatibility with LangChain's BaseLLM interface. * Drop-in replacement for LangChain LLM models. * * @example * ```typescript * import { ModelOrchLLM} from '@modelorch/sdk/adapters/langchain'; * * const client = new ModelOrch({ api_key: 'your-key' }); * const llm = new ModelOrchLLM({ * client: client, * modelName: 'gpt-4', * }); * * const response = await llm.call('What is AI?'); * ``` */ export declare class ModelOrchLLM { private client; private modelName?; private temperature?; private maxTokens?; private policyId?; constructor(options: { client: ModelOrch; modelName?: string; temperature?: number; maxTokens?: number; policyId?: string; }); /** * LangChain-compatible call method */ call(prompt: string, options?: LangChainLLMCallOptions): Promise; /** * LangChain-compatible generate method */ generate(prompts: string[], options?: LangChainLLMCallOptions): Promise<{ generations: { text: string; }[][]; }>; /** * LangChain-compatible predict method */ predict(text: string, options?: LangChainLLMCallOptions): Promise; /** * Get model name */ get _llmType(): string; /** * Get identifying parameters */ get _identifyingParams(): Record; } export {}; //# sourceMappingURL=llm.d.ts.map