UNPKG

@botonic/plugin-hubtype-analytics

Version:

Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord

27 lines (26 loc) 838 B
import { EventAiAgent, RequestData } from '../types'; import { HtEvent } from './ht-event'; interface ToolExecutionEventArgs { tool_name: string; tool_arguments: Record<string, any>; knowledgebase_sources_ids?: string[]; knowledgebase_chunks_ids?: string[]; } export declare class HtEventAiAgent extends HtEvent { flow_thread_id: string; flow_id: string; flow_name: string; flow_node_id: string; flow_node_content_id: string; flow_node_is_meaningful: boolean; tools_executed: ToolExecutionEventArgs[]; memory_length: number; input_message_id: string; input_guardrails_triggered: string[]; output_guardrails_triggered: string[]; exit: boolean; error: boolean; constructor(event: EventAiAgent, requestData: RequestData); private getToolExecutionInfo; } export {};