@smartytalent/openai-tools 0.1.33-dev.51 → 0.1.33-dev.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools.json +14 -0
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -5867,6 +5867,10 @@
|
|
|
5867
5867
|
],
|
|
5868
5868
|
"description": "Renderer hint derived from contentType + conversion outputs.\nSet by the file service after conversion. `unknown` for\ncontent types with no preview pipeline."
|
|
5869
5869
|
},
|
|
5870
|
+
"detectedLanguage": {
|
|
5871
|
+
"type": "string",
|
|
5872
|
+
"description": "BCP-47 code for the source content's primary language,\ndetected during AI extraction. Transcript language for\nvideo/audio, document body language for PDF/image.\nStable per-file. Drives the translation pipeline:\nAI extraction outputs canonical en-US, then the file AI\nLambda translates `summary` (and any future fields in\nFile.TRANSLATION_FIELDS) into the tenant's target locale.\nSource content (transcript / rawText) stays verbatim in\nthis language - we only translate AI-derived synthesis text."
|
|
5873
|
+
},
|
|
5870
5874
|
"sizeBytes": {
|
|
5871
5875
|
"type": "integer",
|
|
5872
5876
|
"description": "File size in bytes. Stable post-upload."
|
|
@@ -6044,6 +6048,10 @@
|
|
|
6044
6048
|
],
|
|
6045
6049
|
"description": "Renderer hint derived from contentType + conversion outputs.\nSet by the file service after conversion. `unknown` for\ncontent types with no preview pipeline."
|
|
6046
6050
|
},
|
|
6051
|
+
"detectedLanguage": {
|
|
6052
|
+
"type": "string",
|
|
6053
|
+
"description": "BCP-47 code for the source content's primary language,\ndetected during AI extraction. Transcript language for\nvideo/audio, document body language for PDF/image.\nStable per-file. Drives the translation pipeline:\nAI extraction outputs canonical en-US, then the file AI\nLambda translates `summary` (and any future fields in\nFile.TRANSLATION_FIELDS) into the tenant's target locale.\nSource content (transcript / rawText) stays verbatim in\nthis language - we only translate AI-derived synthesis text."
|
|
6054
|
+
},
|
|
6047
6055
|
"sizeBytes": {
|
|
6048
6056
|
"type": "integer",
|
|
6049
6057
|
"description": "File size in bytes. Stable post-upload."
|
|
@@ -17578,6 +17586,12 @@
|
|
|
17578
17586
|
"questionId": {
|
|
17579
17587
|
"type": "string",
|
|
17580
17588
|
"description": "Optional question id this upload is for. Used for S3 key partitioning + downstream join hint; not auth-relevant."
|
|
17589
|
+
},
|
|
17590
|
+
"durationMs": {
|
|
17591
|
+
"type": "integer",
|
|
17592
|
+
"format": "int64",
|
|
17593
|
+
"minimum": 0,
|
|
17594
|
+
"description": "Optional client-measured recording duration in milliseconds.\nSet by the candidate FE for video-recording / audio-recording\nquestions where MediaRecorder doesn't finalize the container's\nDuration element. Used as a fallback when ffprobe / re-mux\ncan't derive duration from the file alone. Backend persists\nit to attempt.meta.pendingUploads[fileKey] and surfaces it\nvia attempt:show -> fileRefs so the workflow's process_attachments\nstep forwards it to file:process; the file row then carries\nattributes.durationSeconds + meta.durationSource='client'\nuntil ffmpeg re-mux overwrites with a more reliable value."
|
|
17581
17595
|
}
|
|
17582
17596
|
}
|
|
17583
17597
|
}
|