Skip to content

Commit e2a9b98

Browse files
[DOCS] Creating Drawio Diagram for File Processing Flow in VSS Sample App (open-edge-platform#1149)
1 parent 97dd83c commit e2a9b98

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
lines changed

sample-applications/video-search-and-summarization/docs/user-guide/directory-watcher-guide.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -131,33 +131,13 @@ The service will automatically:
131131
The Directory Watcher provides upload status information that can be monitored through the application logs:
132132

133133
- **Total files**: Total number of files detected for processing
134-
- **Completed files**: Number of successfully processed files
134+
- **Completed files**: Number of successfully processed files
135135
- **Pending files**: Number of files waiting to be processed
136136
- **Last updated timestamp**: When the last file processing operation completed
137137

138138
## File Processing Flow
139139

140-
```mermaid
141-
graph TD
142-
A[New MP4 file detected] --> B{File size > 512KB?}
143-
B -->|No| C[Ignore file]
144-
B -->|Yes| D[Add to processing queue]
145-
D --> E[Wait for debounce period]
146-
E --> F[Start batch processing]
147-
F --> G[Upload video to dataprep service]
148-
G --> H{Upload successful?}
149-
H -->|No| I[Retry with exponential backoff]
150-
I --> H
151-
H -->|Yes| J[Generate search embeddings]
152-
J --> K{Embeddings successful?}
153-
K -->|No| I
154-
K -->|Yes| L[Mark as completed]
155-
L --> M{DELETE_PROCESSED_FILES enabled?}
156-
M -->|Yes| N[Delete original file]
157-
M -->|No| O[Keep original file]
158-
N --> P[File ready for search]
159-
O --> P
160-
```
140+
![File Processing Flow](./images/file-processing-flow.drawio.svg)
161141

162142
## Best Practices
163143

sample-applications/video-search-and-summarization/docs/user-guide/images/file-processing-flow.drawio.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)