@smartytalent/openai-tools 0.1.33-dev.43 → 0.1.33-dev.45
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 +55 -4
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -16052,8 +16052,7 @@
|
|
|
16052
16052
|
}
|
|
16053
16053
|
},
|
|
16054
16054
|
"answerKey": {
|
|
16055
|
-
"
|
|
16056
|
-
"description": "Recruiter-only. The correct option id for `single-choice`. NEVER\nreturned by /v1/guest/attempts/* endpoints."
|
|
16055
|
+
"description": "Recruiter-only. Shape depends on questionType:\n single-choice -> string (option id)\n multiple-choice -> string[] (option ids)\n ranking -> string[] (option ids in order)\n situational-judgment -> { best: string, worst: string }\n scale / open-text -> not used (use scoringRubric)\nType intentionally left unconstrained (Any) - the variant\nshapes resist a oneOf wrapper because pydantic's outer\nDict[str, Wrapper] validation rejects raw scalars before\nthe wrapper's discriminator runs (same issue as the\nlocale-keyed candidate fields). NEVER returned by\n/v1/guest/attempts/* endpoints."
|
|
16057
16056
|
},
|
|
16058
16057
|
"scoringRubric": {
|
|
16059
16058
|
"type": "string",
|
|
@@ -16361,8 +16360,7 @@
|
|
|
16361
16360
|
}
|
|
16362
16361
|
},
|
|
16363
16362
|
"answerKey": {
|
|
16364
|
-
"
|
|
16365
|
-
"description": "Recruiter-only. The correct option id for `single-choice`. NEVER\nreturned by /v1/guest/attempts/* endpoints."
|
|
16363
|
+
"description": "Recruiter-only. Shape depends on questionType:\n single-choice -> string (option id)\n multiple-choice -> string[] (option ids)\n ranking -> string[] (option ids in order)\n situational-judgment -> { best: string, worst: string }\n scale / open-text -> not used (use scoringRubric)\nType intentionally left unconstrained (Any) - the variant\nshapes resist a oneOf wrapper because pydantic's outer\nDict[str, Wrapper] validation rejects raw scalars before\nthe wrapper's discriminator runs (same issue as the\nlocale-keyed candidate fields). NEVER returned by\n/v1/guest/attempts/* endpoints."
|
|
16366
16364
|
},
|
|
16367
16365
|
"scoringRubric": {
|
|
16368
16366
|
"type": "string",
|
|
@@ -17255,6 +17253,59 @@
|
|
|
17255
17253
|
}
|
|
17256
17254
|
}
|
|
17257
17255
|
},
|
|
17256
|
+
{
|
|
17257
|
+
"type": "function",
|
|
17258
|
+
"function": {
|
|
17259
|
+
"name": "upload_guest_attempt_file",
|
|
17260
|
+
"description": "Upload Attempt File (Guest)",
|
|
17261
|
+
"parameters": {
|
|
17262
|
+
"title": "UploadGuestAttemptFileRequestBody",
|
|
17263
|
+
"type": "object",
|
|
17264
|
+
"required": [
|
|
17265
|
+
"tenantId",
|
|
17266
|
+
"accessToken",
|
|
17267
|
+
"attemptId",
|
|
17268
|
+
"fileName",
|
|
17269
|
+
"contentType"
|
|
17270
|
+
],
|
|
17271
|
+
"properties": {
|
|
17272
|
+
"tenantId": {
|
|
17273
|
+
"type": "string"
|
|
17274
|
+
},
|
|
17275
|
+
"accessToken": {
|
|
17276
|
+
"type": "string",
|
|
17277
|
+
"description": "Per-attempt token (same value as meta.accessToken on other guest endpoints)."
|
|
17278
|
+
},
|
|
17279
|
+
"attemptId": {
|
|
17280
|
+
"type": "string"
|
|
17281
|
+
},
|
|
17282
|
+
"fileName": {
|
|
17283
|
+
"type": "string",
|
|
17284
|
+
"description": "Candidate-supplied file name (no path traversal). Used for the audit trail and extension fallback."
|
|
17285
|
+
},
|
|
17286
|
+
"contentType": {
|
|
17287
|
+
"type": "string",
|
|
17288
|
+
"description": "MIME type. Server prefers a known value (mapped to canonical extension) but accepts unknown types - file:process derives extension from fileName."
|
|
17289
|
+
},
|
|
17290
|
+
"questionId": {
|
|
17291
|
+
"type": "string",
|
|
17292
|
+
"description": "Optional question id this upload is for. Used for S3 key partitioning + downstream join hint; not auth-relevant."
|
|
17293
|
+
}
|
|
17294
|
+
}
|
|
17295
|
+
}
|
|
17296
|
+
}
|
|
17297
|
+
},
|
|
17298
|
+
{
|
|
17299
|
+
"type": "function",
|
|
17300
|
+
"function": {
|
|
17301
|
+
"name": "guest_attempt_upload_options",
|
|
17302
|
+
"description": "Guest Attempt Upload Options",
|
|
17303
|
+
"parameters": {
|
|
17304
|
+
"type": "object",
|
|
17305
|
+
"properties": {}
|
|
17306
|
+
}
|
|
17307
|
+
}
|
|
17308
|
+
},
|
|
17258
17309
|
{
|
|
17259
17310
|
"type": "function",
|
|
17260
17311
|
"function": {
|