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.

12 lines (11 loc) 396 B
import { ChatCompletionMessageParam } from "../configs/enum.js"; /** * Unified call for OpenAI chat model with optional structured message input. */ export declare function callOpenAIFunction({ model, messages, system, user, temperature, }: { model: string; messages?: ChatCompletionMessageParam[]; system?: string; user?: string; temperature?: number; }): Promise<string>;