feat: Rule 3 moment chunks — 10s windows with 1-2 key frames
- Add ChunkType::Moment to types.rs - Add moment_interval to FileProfile (configurable, default 10s) - Create rule3_moment.rs: reads trace_profile.json, groups by time window, selects 1-2 diverse key frames using Jaccard similarity on VLM text - Embed moment chunks into Qdrant using trace VLM embeddings - Wire into worker: triggers after VLM completes, blocks job completion - Add moment_chunks progress stage (weight: 0.01)
This commit is contained in:
@@ -95,7 +95,15 @@ impl PipelineProgress {
|
||||
// VLM Summary (5%)
|
||||
PipelineStage {
|
||||
name: "vlm_summary".into(),
|
||||
weight: 0.05,
|
||||
weight: 0.04,
|
||||
progress: 0.0,
|
||||
status: "pending".into(),
|
||||
detail: None,
|
||||
},
|
||||
// Rule 3 Moment Chunks (1%)
|
||||
PipelineStage {
|
||||
name: "moment_chunks".into(),
|
||||
weight: 0.01,
|
||||
progress: 0.0,
|
||||
status: "pending".into(),
|
||||
detail: None,
|
||||
|
||||
Reference in New Issue
Block a user