What problem does it solve?
Reference for Splitrail's core data types used to model conversations, stats, and aggregation results, helping developers implement, extend, or reason about analytics and usage data.
Core Features & Use Cases
- ConversationMessage - Normalized message format across analyzers with source, timestamp, hashes, model info, token/cost stats, and role.
- Stats - Usage metrics for a single message including token counts, costs, file operations, and composition stats by file type.
- DailyStats - Pre-aggregated stats per date with message counts, conversation counts, and embedded Stats.
- Types & Aggregation - Documentation and examples for how data types feed into Splitrail analytics pipelines.
- Usage Scenarios: Integrate these types into dashboards, data pipelines, and validation logic.
Quick Start
Review src/types.rs to understand the type definitions and how to integrate Splitrail’s data models in your analytics pipeline.