diff --git a/src/core/pipeline/mod.rs b/src/core/pipeline/mod.rs index ef71cd0..36d5384 100644 --- a/src/core/pipeline/mod.rs +++ b/src/core/pipeline/mod.rs @@ -29,8 +29,11 @@ pub async fn store_asrx_chunks(db: &PostgresDb, uuid: &str) -> Result<()> { "text": segment.text, "speaker_id": segment.speaker_id, "timestamp": segment.start_time, + "end_time": segment.end_time, + "start_frame": segment.start_frame, + "end_frame": segment.end_frame, }); - pre_chunks.push((i as i64, Some(segment.start_time), data, None, None)); + pre_chunks.push((segment.start_frame as i64, Some(segment.start_time), data, None, None)); speaker_detections.push(( segment.speaker_id.clone().unwrap_or_default(), segment.start_time,