Skip to content

Multi-Format Export Support

Latest
Compare
Choose a tag to compare
@mathrailsAI mathrailsAI released this 12 Jul 19:01
ade81d8

What's New

Comprehensive Export Functionality

  • Multiple Formats: Export analysis results to CSV, Excel, and JSON formats
  • Dynamic Segments: Automatic detection and flattening of complex nested segment structures
  • Advanced Filtering: Filter exports by sentiment, segments, date ranges, and custom criteria
  • Rich Content: Include summary statistics, segment analysis, and entity/phrase details
  • Fluent Interface: Chainable methods for easy export workflows

Export Features

  • CSV Export: Clean tabular format with configurable sections and headers
  • Excel Export: Formatted worksheets with multiple sheets and styling
  • JSON Export: Structured API-friendly format with metadata
  • Smart Headers: Dynamic column generation based on segment structure
  • Data Filtering: Export only the data you need with powerful filter options

Developer Experience

  • Fluent API: result.filter_sentiment(:positive).responses_only.to_csv()
  • Quick Methods: result.export_positive(:excel), result.export_negative(:json)
  • Pure Ruby: No Rails dependencies, works in any Ruby environment
  • Comprehensive Tests: Test coverage for all export formats and edge cases