reagentbuilder
Version:
An enterprise-grade AI agent framework based on LangChain and LangGraph, featuring dynamic tools, interceptors, breakpoints, and performance monitoring.
23 lines • 874 B
TypeScript
import { BaseChatModel } from "@langchain/core/language_models/chat_models";
import { LLMConfig, LLMProvider } from "../types/llm.js";
export declare class LLMFactory {
static create(config: LLMConfig): BaseChatModel;
private static validateConfig;
private static createOpenAI;
private static createAnthropic;
private static createAzure;
private static validateAndReturnCustom;
static configBuilder(): LLMConfigBuilder;
}
export declare class LLMConfigBuilder {
private config;
provider(provider: LLMProvider): this;
model(model: string): this;
apiKey(key: string): this;
baseURL(url: string): this;
temperature(temp: number): this;
maxTokens(tokens: number): this;
azureConfig(endpoint: string, apiVersion: string, deploymentName: string): this;
build(): LLMConfig;
}
//# sourceMappingURL=llm-factory.d.ts.map