UNPKG

@maximai/maxim-js

Version:

Maxim AI JS SDK. Visit https://getmaxim.ai for more info.

21 lines (20 loc) 563 B
export declare enum Entity { SESSION = "session", TRACE = "trace", SPAN = "span", GENERATION = "generation", FEEDBACK = "feedback", RETRIEVAL = "retrieval", TOOL_CALL = "tool_call", ERROR = "error" } export declare class CommitLog { protected entity: Entity; protected entityId: string; readonly action: string; readonly data: Record<string, any>; constructor(entity: Entity, entityId: string, action: string, data: Record<string, any>); get id(): string; get type(): Entity; serialize(): string; }