import { YandexGPTInputs } from "./llms.js"; import { BaseMessage } from "@langchain/core/messages"; import { BaseChatModel } from "@langchain/core/language_models/chat_models"; import { CallbackManagerForLLMRun } from "@langchain/core/callbacks/manager"; import { ChatResult } from "@langchain/core/outputs"; //#region src/chat_models.d.ts /** * @example * ```typescript * const chat = new ChatYandexGPT({}); * // The assistant is set to translate English to French. * const res = await chat.invoke([ * new SystemMessage( * "You are a helpful assistant that translates English to French." * ), * new HumanMessage("I love programming."), * ]); * ``` */ declare class ChatYandexGPT extends BaseChatModel { apiKey?: string; iamToken?: string; temperature: number; maxTokens: number; model: string; modelVersion: string; modelURI?: string; folderID?: string; constructor(model: string, fields?: Omit); constructor(fields?: YandexGPTInputs); _llmType(): string; _combineLLMOutput?(): {}; get lc_secrets(): { [key: string]: string; } | undefined; /** @ignore */ _generate(messages: BaseMessage[], options: this["ParsedCallOptions"], _runManager?: CallbackManagerForLLMRun | undefined): Promise; } //#endregion export { ChatYandexGPT }; //# sourceMappingURL=chat_models.d.ts.map