@smartytalent/openai-tools 0.1.33-dev.50 → 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 +129 -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."
|
|
@@ -17362,6 +17370,121 @@
|
|
|
17362
17370
|
}
|
|
17363
17371
|
}
|
|
17364
17372
|
},
|
|
17373
|
+
"relationships": {
|
|
17374
|
+
"title": "AttemptRelationshipsSchema",
|
|
17375
|
+
"type": "object",
|
|
17376
|
+
"properties": {
|
|
17377
|
+
"assessment": {
|
|
17378
|
+
"title": "AttemptRelationshipsAssessmentSchema",
|
|
17379
|
+
"type": "object",
|
|
17380
|
+
"properties": {
|
|
17381
|
+
"data": {
|
|
17382
|
+
"title": "AttemptRelationshipsAssessmentDataSchema",
|
|
17383
|
+
"type": "object",
|
|
17384
|
+
"properties": {
|
|
17385
|
+
"type": {
|
|
17386
|
+
"type": "string",
|
|
17387
|
+
"enum": [
|
|
17388
|
+
"assessments"
|
|
17389
|
+
]
|
|
17390
|
+
},
|
|
17391
|
+
"id": {
|
|
17392
|
+
"type": "string"
|
|
17393
|
+
}
|
|
17394
|
+
}
|
|
17395
|
+
}
|
|
17396
|
+
},
|
|
17397
|
+
"description": "FK to the template this attempt is a run of."
|
|
17398
|
+
},
|
|
17399
|
+
"candidate": {
|
|
17400
|
+
"title": "AttemptRelationshipsCandidateSchema",
|
|
17401
|
+
"type": "object",
|
|
17402
|
+
"properties": {
|
|
17403
|
+
"data": {
|
|
17404
|
+
"title": "AttemptRelationshipsCandidateDataSchema",
|
|
17405
|
+
"type": "object",
|
|
17406
|
+
"properties": {
|
|
17407
|
+
"type": {
|
|
17408
|
+
"type": "string",
|
|
17409
|
+
"enum": [
|
|
17410
|
+
"candidates"
|
|
17411
|
+
]
|
|
17412
|
+
},
|
|
17413
|
+
"id": {
|
|
17414
|
+
"type": "string"
|
|
17415
|
+
}
|
|
17416
|
+
}
|
|
17417
|
+
}
|
|
17418
|
+
}
|
|
17419
|
+
},
|
|
17420
|
+
"job": {
|
|
17421
|
+
"title": "AttemptRelationshipsJobSchema",
|
|
17422
|
+
"type": "object",
|
|
17423
|
+
"properties": {
|
|
17424
|
+
"data": {
|
|
17425
|
+
"title": "AttemptRelationshipsJobDataSchema",
|
|
17426
|
+
"type": "object",
|
|
17427
|
+
"properties": {
|
|
17428
|
+
"type": {
|
|
17429
|
+
"type": "string",
|
|
17430
|
+
"enum": [
|
|
17431
|
+
"jobs"
|
|
17432
|
+
]
|
|
17433
|
+
},
|
|
17434
|
+
"id": {
|
|
17435
|
+
"type": "string"
|
|
17436
|
+
}
|
|
17437
|
+
}
|
|
17438
|
+
}
|
|
17439
|
+
},
|
|
17440
|
+
"description": "Denormalised from the assessment template - the role this attempt is screening for."
|
|
17441
|
+
},
|
|
17442
|
+
"report": {
|
|
17443
|
+
"title": "AttemptRelationshipsReportSchema",
|
|
17444
|
+
"type": "object",
|
|
17445
|
+
"properties": {
|
|
17446
|
+
"data": {
|
|
17447
|
+
"title": "AttemptRelationshipsReportDataSchema",
|
|
17448
|
+
"type": "object",
|
|
17449
|
+
"properties": {
|
|
17450
|
+
"type": {
|
|
17451
|
+
"type": "string",
|
|
17452
|
+
"enum": [
|
|
17453
|
+
"files"
|
|
17454
|
+
]
|
|
17455
|
+
},
|
|
17456
|
+
"id": {
|
|
17457
|
+
"type": "string"
|
|
17458
|
+
}
|
|
17459
|
+
}
|
|
17460
|
+
}
|
|
17461
|
+
},
|
|
17462
|
+
"description": "Generated PDF report for this attempt's evaluation. Populated post-evaluation."
|
|
17463
|
+
},
|
|
17464
|
+
"files": {
|
|
17465
|
+
"title": "AttemptRelationshipsFilesSchema",
|
|
17466
|
+
"type": "object",
|
|
17467
|
+
"description": "FileResources attached to this attempt - one per file the\ncandidate uploaded as a `file-upload` or `video-recording`\nanswer. Populated by the workflow's `trigger_evaluation`\nstep after `process_attachments` registers each file with\nthe file service. Use `?include=files` on `showAttempt` /\n`showGuestAttempt` to sideload the FileResources in\n`included[]` (single round-trip preview).\nThe answer-to-file mapping lives on `FileResource.meta.questionId`\n(set at `file:process` time), not on AnswerFileSchema -\nrelated-resource IDs in attributes would violate JSON:API.",
|
|
17468
|
+
"properties": {
|
|
17469
|
+
"data": {
|
|
17470
|
+
"type": "array",
|
|
17471
|
+
"items": {
|
|
17472
|
+
"title": "AttemptRelationshipsFilesDataSchema",
|
|
17473
|
+
"type": "object",
|
|
17474
|
+
"properties": {
|
|
17475
|
+
"type": {
|
|
17476
|
+
"type": "string"
|
|
17477
|
+
},
|
|
17478
|
+
"id": {
|
|
17479
|
+
"type": "string"
|
|
17480
|
+
}
|
|
17481
|
+
}
|
|
17482
|
+
}
|
|
17483
|
+
}
|
|
17484
|
+
}
|
|
17485
|
+
}
|
|
17486
|
+
}
|
|
17487
|
+
},
|
|
17365
17488
|
"meta": {
|
|
17366
17489
|
"type": "object",
|
|
17367
17490
|
"description": "Free-form metadata. The assessment workflow uses\nmeta.runContext to stash the runId/shardId of the\nparking long-running step so the eventbus resumer\ncan wake the workflow on ATTEMPT_SUBMITTED.",
|
|
@@ -17463,6 +17586,12 @@
|
|
|
17463
17586
|
"questionId": {
|
|
17464
17587
|
"type": "string",
|
|
17465
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."
|
|
17466
17595
|
}
|
|
17467
17596
|
}
|
|
17468
17597
|
}
|