@smartytalent/openai-tools 0.1.33-dev.45 → 0.1.33-dev.47
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 +34 -15
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -16539,15 +16539,16 @@
|
|
|
16539
16539
|
"description": "File / video uploads for `file-upload` and `video-recording`\nquestion types. Empty for all other types. Files are uploaded\nvia presigned PUT to S3 first; this carries the resulting\nreferences.",
|
|
16540
16540
|
"items": {
|
|
16541
16541
|
"title": "AnswerFileSchema",
|
|
16542
|
-
"description": "File reference for upload-type answers.
|
|
16542
|
+
"description": "File reference for upload-type answers (file-upload /\nvideo-recording question types). The candidate UI obtains\n`fileKey` from POST /v1/guest/attempts/uploads, PUTs the file\nto S3 via the presigned URL returned alongside it, then\nincludes a reference like `{fileKey, fileName, contentType,\nsize}` here on the guest PATCH submission. Wire field names\nmatch what file:process and the eval Lambda's\n_enrich_answers_with_file_content expect (fileKey, not\nfileUrl - the S3 path is server-side only).",
|
|
16543
16543
|
"type": "object",
|
|
16544
16544
|
"properties": {
|
|
16545
|
-
"
|
|
16545
|
+
"fileKey": {
|
|
16546
16546
|
"type": "string",
|
|
16547
|
-
"description": "S3
|
|
16547
|
+
"description": "S3 key in the attempt bucket. Returned by POST /v1/guest/attempts/uploads as data.attributes.fileKey; FE echoes it here."
|
|
16548
16548
|
},
|
|
16549
|
-
"
|
|
16550
|
-
"type": "string"
|
|
16549
|
+
"fileName": {
|
|
16550
|
+
"type": "string",
|
|
16551
|
+
"description": "Candidate-supplied original file name (display + audit trail)."
|
|
16551
16552
|
},
|
|
16552
16553
|
"contentType": {
|
|
16553
16554
|
"type": "string"
|
|
@@ -16659,6 +16660,14 @@
|
|
|
16659
16660
|
}
|
|
16660
16661
|
}
|
|
16661
16662
|
},
|
|
16663
|
+
"fileResults": {
|
|
16664
|
+
"type": "array",
|
|
16665
|
+
"description": "File-extraction results, one entry per file that\nfile:process processed during the assessment workflow's\nprocess_attachments step. Stamped onto the attempt by\nthe workflow's `attempt:trigger_evaluation` action right\nbefore /reevaluate fires. The eval Lambda joins these\nonto answers[i].files[i] by fileKey so the AI evaluator\nsees extracted content (transcripts / slide text / OCR)\nalongside the candidate's text answer for the same\nquestion. Locale value type left as Any because each\nfile:process emits a different shape per content type\n(PDF text, video transcript, etc).",
|
|
16666
|
+
"items": {
|
|
16667
|
+
"type": "object",
|
|
16668
|
+
"additionalProperties": true
|
|
16669
|
+
}
|
|
16670
|
+
},
|
|
16662
16671
|
"startedAt": {
|
|
16663
16672
|
"type": "string",
|
|
16664
16673
|
"format": "date-time",
|
|
@@ -17017,15 +17026,16 @@
|
|
|
17017
17026
|
"description": "File / video uploads for `file-upload` and `video-recording`\nquestion types. Empty for all other types. Files are uploaded\nvia presigned PUT to S3 first; this carries the resulting\nreferences.",
|
|
17018
17027
|
"items": {
|
|
17019
17028
|
"title": "AnswerFileSchema",
|
|
17020
|
-
"description": "File reference for upload-type answers.
|
|
17029
|
+
"description": "File reference for upload-type answers (file-upload /\nvideo-recording question types). The candidate UI obtains\n`fileKey` from POST /v1/guest/attempts/uploads, PUTs the file\nto S3 via the presigned URL returned alongside it, then\nincludes a reference like `{fileKey, fileName, contentType,\nsize}` here on the guest PATCH submission. Wire field names\nmatch what file:process and the eval Lambda's\n_enrich_answers_with_file_content expect (fileKey, not\nfileUrl - the S3 path is server-side only).",
|
|
17021
17030
|
"type": "object",
|
|
17022
17031
|
"properties": {
|
|
17023
|
-
"
|
|
17032
|
+
"fileKey": {
|
|
17024
17033
|
"type": "string",
|
|
17025
|
-
"description": "S3
|
|
17034
|
+
"description": "S3 key in the attempt bucket. Returned by POST /v1/guest/attempts/uploads as data.attributes.fileKey; FE echoes it here."
|
|
17026
17035
|
},
|
|
17027
|
-
"
|
|
17028
|
-
"type": "string"
|
|
17036
|
+
"fileName": {
|
|
17037
|
+
"type": "string",
|
|
17038
|
+
"description": "Candidate-supplied original file name (display + audit trail)."
|
|
17029
17039
|
},
|
|
17030
17040
|
"contentType": {
|
|
17031
17041
|
"type": "string"
|
|
@@ -17137,6 +17147,14 @@
|
|
|
17137
17147
|
}
|
|
17138
17148
|
}
|
|
17139
17149
|
},
|
|
17150
|
+
"fileResults": {
|
|
17151
|
+
"type": "array",
|
|
17152
|
+
"description": "File-extraction results, one entry per file that\nfile:process processed during the assessment workflow's\nprocess_attachments step. Stamped onto the attempt by\nthe workflow's `attempt:trigger_evaluation` action right\nbefore /reevaluate fires. The eval Lambda joins these\nonto answers[i].files[i] by fileKey so the AI evaluator\nsees extracted content (transcripts / slide text / OCR)\nalongside the candidate's text answer for the same\nquestion. Locale value type left as Any because each\nfile:process emits a different shape per content type\n(PDF text, video transcript, etc).",
|
|
17153
|
+
"items": {
|
|
17154
|
+
"type": "object",
|
|
17155
|
+
"additionalProperties": true
|
|
17156
|
+
}
|
|
17157
|
+
},
|
|
17140
17158
|
"startedAt": {
|
|
17141
17159
|
"type": "string",
|
|
17142
17160
|
"format": "date-time",
|
|
@@ -17498,15 +17516,16 @@
|
|
|
17498
17516
|
"description": "File / video uploads for `file-upload` and `video-recording`\nquestion types. Empty for all other types. Files are uploaded\nvia presigned PUT to S3 first; this carries the resulting\nreferences.",
|
|
17499
17517
|
"items": {
|
|
17500
17518
|
"title": "AnswerFileSchema",
|
|
17501
|
-
"description": "File reference for upload-type answers.
|
|
17519
|
+
"description": "File reference for upload-type answers (file-upload /\nvideo-recording question types). The candidate UI obtains\n`fileKey` from POST /v1/guest/attempts/uploads, PUTs the file\nto S3 via the presigned URL returned alongside it, then\nincludes a reference like `{fileKey, fileName, contentType,\nsize}` here on the guest PATCH submission. Wire field names\nmatch what file:process and the eval Lambda's\n_enrich_answers_with_file_content expect (fileKey, not\nfileUrl - the S3 path is server-side only).",
|
|
17502
17520
|
"type": "object",
|
|
17503
17521
|
"properties": {
|
|
17504
|
-
"
|
|
17522
|
+
"fileKey": {
|
|
17505
17523
|
"type": "string",
|
|
17506
|
-
"description": "S3
|
|
17524
|
+
"description": "S3 key in the attempt bucket. Returned by POST /v1/guest/attempts/uploads as data.attributes.fileKey; FE echoes it here."
|
|
17507
17525
|
},
|
|
17508
|
-
"
|
|
17509
|
-
"type": "string"
|
|
17526
|
+
"fileName": {
|
|
17527
|
+
"type": "string",
|
|
17528
|
+
"description": "Candidate-supplied original file name (display + audit trail)."
|
|
17510
17529
|
},
|
|
17511
17530
|
"contentType": {
|
|
17512
17531
|
"type": "string"
|