ludmi
Version:
LU (Layer Understanding) is a lightweight framework for controlled chatbot interactions with LLMs, action orchestration, and retrieval-augmented generation (RAG).
13 lines (12 loc) • 484 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.openai = void 0;
const openai_1 = __importDefault(require("openai"));
const config_1 = require("../config");
exports.openai = new openai_1.default({
apiKey: config_1.CONFIG.OPENAI_API_KEY,
organization: config_1.CONFIG.OPENAI_ORGANIZATION || null,
});