UNPKG

llmforge

Version:

One API, every AI model, instant switching. Change from GPT-4 to Gemini to local models with a single config update. LLMForge is the lightweight, TypeScript-first solution for multi-provider AI applications with zero vendor lock-in.

9 lines (8 loc) 282 B
import { Config } from "../types"; import { OpenAIClient } from "./openai.adapter"; import { GeminiClient } from "./google.adapter"; export declare class Factory { private readonly config; constructor(config: Config); create(llm: string): GeminiClient | OpenAIClient; }