hugbot
Version:
Chatbot maker for HuggingFace Inference API and other AI API providers and backends.
28 lines • 1.91 kB
TypeScript
import { PromptConstructor } from "../components/PromptConstructor/PromptConstructor";
import { MistralPromptConstructor } from "../components/PromptConstructor/MistralPromptConstructor";
import { HuggingFaceTextGenClient } from "../components/AIClient/HuggingFaceTextGenClient";
import { AIClientMock } from "../components/AIClient/AIClientMock";
import { ShortTermMemory } from "../components/ShortTermMemory/ShortTermMemory";
import { IObuffer } from "../components/IObuffer/IObuffer";
import { BuildHugBot } from "../HugBotEntity/HugBotEntity";
import { HugBotProxy } from "../HugBotEntity/AbstractSingletonProxyFactoryBean";
import { BotStorage } from "./botStorage";
import { generateTextResponse } from "../components/RespondTo/TextGen";
import { mistralTokenizer } from "../components/Tokenizers/MistralTokenizer";
import { SecretsHider } from "../components/SecretsHider/SecretsHider";
import { FCFSqueue } from "../components/IObuffer/FCFS_queue";
import { RateLimiter } from "../components/RateLimiter/RateLimiter";
export { BuildHugBot, HugBotProxy, generateTextResponse, BotStorage, mistralTokenizer, SecretsHider, HuggingFaceTextGenClient, AIClientMock, ShortTermMemory, PromptConstructor, MistralPromptConstructor, IObuffer, FCFSqueue, RateLimiter, };
/**
* Bot storage container. Maps bot id's to their builder functions.
* The bot is instantiated during retieval with get() method.
* Bots in storage: "StarChat", "Zephyr", "Hermes", "Mixtral", "Mistral"
*/
export declare const botStorage: {
put: (id: string, fn: () => import("../HugBotEntity/HugBotEntity").HugBot) => {
put: any;
get: (id: "StarChat" | "Zephyr" | "Hermes" | "Mixtral" | "Mistral") => import("../HugBotEntity/HugBotEntity").HugBot;
};
get: (id: "StarChat" | "Zephyr" | "Hermes" | "Mixtral" | "Mistral") => import("../HugBotEntity/HugBotEntity").HugBot;
};
//# sourceMappingURL=botFactory.d.ts.map