@butlerbot/sdk
Version:
The official ButlerBot SDK
33 lines (32 loc) • 865 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CONFIG = void 0;
exports.CONFIG = {
server: "https://core.butlerbot.net",
healthcheckPath: "/api/healthcheck",
paths: {
conversation: {
v3: { base: "/api/alfred/v3/chat" },
v4: { base: "/api/alfred/v4/chat" },
},
history: {
chat: {
v1: { base: "/api/convo/chat" },
},
chats: {
v1: { base: "/api/convo/get/history" }
}
},
progress: {
v4: {
base: "/api/alfred/v4/chat/progress",
stream: "/api/alfred/v4/chat/progress/stream",
}
},
usage: {
policy: {
v3: { base: "/api/user/usage/v3/policy" },
}
}
}
};