UNPKG

jcrewai

Version:

Multi-agent automation framework written in TypeScript. Patterned after CrewAI.

10 lines (9 loc) 463 B
import { AgentAction } from '../agents/AgentAction'; import { AgentFinish } from '../agents/AgentFinish'; import { BaseLlm } from '../llms/BaseLlm'; export declare function formatMessageForLlm(prompt: string, role?: string): { role: string; content: string; }; export declare function getLlmResponse(llm: BaseLlm, messages: Record<string, string>[]): Promise<string>; export declare function processLlmResponse(answer: string): AgentAction | AgentFinish;