@smartytalent/openai-tools 0.1.33-dev.43 → 0.1.33-dev.44

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.
Files changed (2) hide show
  1. package/dist/tools.json +2 -4
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -16052,8 +16052,7 @@
16052
16052
  }
16053
16053
  },
16054
16054
  "answerKey": {
16055
- "type": "string",
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
- "type": "string",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.43",
3
+ "version": "0.1.33-dev.44",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",