UNPKG

aiwrapper

Version:

A Universal AI Wrapper for JavaScript & TypeScript

11 lines (10 loc) 321 B
import { OpenAIChatCompletionsLang } from "../openai/openai-chat-completions-lang.ts"; export type XAILangOptions = { apiKey: string; model?: string; systemPrompt?: string; maxTokens?: number; }; export declare class XAILang extends OpenAIChatCompletionsLang { constructor(options: XAILangOptions); }