taskforce-aiagent
Version:
TaskForce is a modular, open-source, production-ready TypeScript agent framework for orchestrating AI agents, LLM-powered autonomous agents, task pipelines, dynamic toolchains, RAG workflows and memory/retrieval systems.
75 lines (74 loc) • 3.49 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FineTunableModel = exports.SupportedModelProvider = exports.SupportedModel = exports.RetrieverType = exports.OutputFormat = exports.VectorMemoryProviderType = exports.ExecutionMode = exports.MemoryMode = exports.MemoryScope = void 0;
var MemoryScope;
(function (MemoryScope) {
MemoryScope["None"] = "none";
MemoryScope["Short"] = "short";
MemoryScope["Long"] = "long";
})(MemoryScope || (exports.MemoryScope = MemoryScope = {}));
var MemoryMode;
(function (MemoryMode) {
MemoryMode["Same"] = "same";
MemoryMode["Seperated"] = "seperated";
})(MemoryMode || (exports.MemoryMode = MemoryMode = {}));
var ExecutionMode;
(function (ExecutionMode) {
ExecutionMode["Sequential"] = "sequential";
ExecutionMode["Hierarchical"] = "hierarchical";
ExecutionMode["AiDriven"] = "ai-driven";
})(ExecutionMode || (exports.ExecutionMode = ExecutionMode = {}));
var VectorMemoryProviderType;
(function (VectorMemoryProviderType) {
//OpenAI = "openai",
//Pinecone = "pinecone",
VectorMemoryProviderType["Chroma"] = "chroma";
//Weaviate = "weaviate",
//Supabase = "supabase",
VectorMemoryProviderType["Local"] = "local";
VectorMemoryProviderType["LangChain"] = "langchain";
})(VectorMemoryProviderType || (exports.VectorMemoryProviderType = VectorMemoryProviderType = {}));
var OutputFormat;
(function (OutputFormat) {
OutputFormat["json"] = "json";
OutputFormat["text"] = "text";
OutputFormat["markdown"] = "markdown";
OutputFormat["csv"] = "csv";
OutputFormat["xml"] = "xml";
})(OutputFormat || (exports.OutputFormat = OutputFormat = {}));
var RetrieverType;
(function (RetrieverType) {
RetrieverType["local"] = "local";
RetrieverType["langchain"] = "langchain";
RetrieverType["custom"] = "custom";
})(RetrieverType || (exports.RetrieverType = RetrieverType = {}));
var SupportedModel;
(function (SupportedModel) {
SupportedModel["GPT_4O_MINI"] = "gpt-4o-mini";
SupportedModel["GPT_4O"] = "gpt-4o";
SupportedModel["GPT_3_5_TURBO"] = "gpt-3.5-turbo";
SupportedModel["DEEPSEEK_CHAT"] = "deepseek-chat";
SupportedModel["LOCAL_META_LLAMA"] = "local-meta-llama";
SupportedModel["LOCAL_HERMES_WRITER"] = "local-hermes-writer";
SupportedModel["CLAUDE_3_HAIKU"] = "claude-3-haiku";
SupportedModel["CLAUDE_3_SONNET"] = "claude-3-sonnet";
SupportedModel["CLAUDE_3_OPUS"] = "claude-3-opus";
SupportedModel["GEMINI_1_5_PRO"] = "gemini-1.5-pro";
SupportedModel["GEMINI_1_5_FLASH"] = "gemini-1.5-flash";
SupportedModel["MIXTRAL_8X7B"] = "mixtral-8x7b";
})(SupportedModel || (exports.SupportedModel = SupportedModel = {}));
var SupportedModelProvider;
(function (SupportedModelProvider) {
SupportedModelProvider["OPENAI"] = "openai";
SupportedModelProvider["DEEPSEEK"] = "deepseek";
SupportedModelProvider["LOCAL"] = "local";
SupportedModelProvider["ANTHROPIC"] = "anthropic";
SupportedModelProvider["GEMINI"] = "gemini";
SupportedModelProvider["MISTRAL"] = "mistral";
})(SupportedModelProvider || (exports.SupportedModelProvider = SupportedModelProvider = {}));
var FineTunableModel;
(function (FineTunableModel) {
FineTunableModel["GPT_3_5_TURBO"] = "gpt-3.5-turbo";
// Eğer başka fine-tune destekli model eklenirse buraya ekle
// Örn: GPT_3_5_TURBO_1106 = "gpt-3.5-turbo-1106",
})(FineTunableModel || (exports.FineTunableModel = FineTunableModel = {}));