"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLangChainFromDefaultProvider = void 0;
const openai_1 = require("@langchain/openai");
const getLangChainFromDefaultProvider = () => {
    return new openai_1.AzureChatOpenAI({
        azureOpenAIApiKey: process.env.AZURE_API_KEY,
        azureOpenAIEndpoint: process.env.AZURE_API_BASE,
        azureOpenAIApiDeploymentName: process.env.AZURE_DEPLOYMENT_NAME,
        azureOpenAIApiVersion: process.env.AZURE_API_VERSION,
    });
};
exports.getLangChainFromDefaultProvider = getLangChainFromDefaultProvider;
//# sourceMappingURL=langChainFromDefaultProvider.js.map