UNPKG

makima-ts

Version:

Typescript SDK for Makima.

25 lines (24 loc) 752 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Makima = void 0; const api_1 = require("./agent/api"); const api_2 = require("./knowledge/api"); const api_3 = require("./thread/api"); const api_4 = require("./tool/api"); /** * Makima SDK for interacting with the Makima API. */ class Makima { /** * Creates an instance of the Makima SDK. * @param baseUrl The base URL of the Makima API. */ constructor(baseUrl) { this.baseUrl = baseUrl; this.agent = new api_1.AgentAPI(baseUrl); this.thread = new api_3.ThreadAPI(baseUrl); this.tool = new api_4.ToolAPI(baseUrl); this.knowledgeBase = new api_2.KnowledgeAPI(baseUrl); } } exports.Makima = Makima;