UNPKG

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.

9 lines (8 loc) 647 B
import { Retriever } from "./retrieval.interface.js"; import { VectorMemoryProvider } from "../vectorMemoryProviders/vectorMemoryProvider.js"; import { SupportedModel } from "../../configs/enum.js"; export declare function retrieveAndEnrichPrompt(query: string, retriever?: Retriever, memoryProvider?: VectorMemoryProvider, modelName?: SupportedModel | string, verbose?: boolean, contextFilter?: { agent?: string; taskId?: string; }): Promise<string>; export declare function conversationalRetrievalChain(query: string, retriever: Retriever, modelName: SupportedModel | string, chatHistory?: string[], verbose?: boolean): Promise<string>;