feat: round output JSON floats to 2dp + unify ensure_ascii for asr/asrx

This commit is contained in:
Accusys
2026-08-16 06:38:39 +08:00
parent 39e9ce4c3b
commit 5e6a7b7d51
18 changed files with 249 additions and 45 deletions
+9 -1
View File
@@ -1,5 +1,13 @@
#!/opt/homebrew/bin/python3.11
"""Update face_detections embeddings from face_traced.json"""
"""Update face_detections embeddings from face_traced.json
⚠️ DEPRECATED / NOT FUNCTIONAL ⚠️
face_traced.json no longer contains the `embedding` field (embeddings live in the
Qdrant `_faces` collection only). This script reads embeddings from face_traced.json,
so it will find none. If you need to (re)populate embeddings, read them from Qdrant
`_faces` via `qdrant_faces.get_file_faces(file_uuid, with_vector=True)` instead.
Kept for reference only.
"""
import json
import psycopg2