- Add DashScope ASR and video upload config fields to Settings
- Create Pydantic models (video.py, asr.py)
- Create VideoService with validation, save, serve, delete
- Create ASR client stub with float32_to_s16le utility
- Implement POST /api/v1/video/upload with streaming validation
- Implement GET /api/v1/video/{video_id} with FileResponse
- Create WebSocket ASR endpoint stub
- Register new routers in main.py
- Update .env.example and requirements.txt
- Add reference examples for DashScope integration
- 8 tests passing (3 config + 5 video upload)
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| chunks.py | ||
| documents.py | ||
| history.py | ||
| ingest.py | ||
| prompts.py | ||
| query.py | ||
| video.py | ||
| ws_asr.py | ||