@gopluto_ai/llm-tools-orchestration
Version:
A scalable tools or functions orchestration SDK for LLM agents using OpenAI's /v1/responses API with memory, hooks, and tool planning support. Alternative of MCP for LLM tools orchestration.
28 lines (27 loc) • 750 B
TypeScript
export interface OpenAIInput {
agentContext: string;
conversationHistory: string[];
agentMemory: Record<string, any> | null;
userPrompt: string;
imageUrl?: string;
fileUrl?: string;
functions?: any[];
function_output?: any;
function_called?: any;
}
export interface OpenAIOutput {
aiResponse: string;
newMemory?: Record<string, any>;
modal?: string;
usage?: {
input_tokens: number;
output_tokens: number;
total_tokens: number;
input_tokens_details?: {
cached_tokens: number;
};
};
function_call?: any;
convTopic?: string | null;
}
export declare function getOpenAIResData(payload: OpenAIInput, model?: string): Promise<OpenAIOutput>;