evalstate's picture
download
raw
1.27 kB
export interface QueryLoggerOptions {
clientSessionId?: string;
isAuthenticated?: boolean;
clientName?: string;
clientVersion?: string;
totalResults?: number;
resultsShared?: number;
responseCharCount?: number;
durationMs?: number;
success?: boolean;
error?: unknown;
}
export declare function logSearchQuery(methodName: string, query: string, data: Record<string, unknown>, options?: QueryLoggerOptions): void;
export declare function logPromptQuery(methodName: string, query: string, data: Record<string, unknown>, options?: QueryLoggerOptions): void;
export declare function logSystemEvent(methodName: string, sessionId: string, options?: {
clientSessionId?: string;
isAuthenticated?: boolean;
clientName?: string;
clientVersion?: string;
requestJson?: unknown;
capabilities?: unknown;
ipAddress?: string;
}): void;
export declare function logGradioEvent(endpointName: string, sessionId: string, options: {
durationMs: number;
isAuthenticated?: boolean;
clientName?: string;
clientVersion?: string;
success: boolean;
error?: unknown;
responseSizeBytes?: number;
notificationCount?: number;
isDynamic?: boolean;
}): void;
//# sourceMappingURL=query-logger.d.ts.map

Xet Storage Details

Size:
1.27 kB
·
Xet hash:
214833e4ffdbd81f118680ac75822489548e84d0ed6aa449df33d601a8f30d69

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.