@smartytalent/openai-tools 0.1.33-dev.60 → 0.1.33-dev.62

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 +15 -3
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -13954,6 +13954,11 @@
13954
13954
  "duration": {
13955
13955
  "type": "integer"
13956
13956
  },
13957
+ "defaultLocale": {
13958
+ "type": "string",
13959
+ "pattern": "^(en|fr|ar|pl|it)(-[A-Za-z0-9]{2,8})*$",
13960
+ "description": "Full BCP-47 locale tag (e.g. `en-US`, `pl-PL`, `fr-FR`, `ar-SA`,\n`it-IT`). Set at creation time; controls the UI language of the\npublic lobby + room pages so a Polish recruiter sharing a link\ngets a Polish lobby regardless of the candidate's browser\nlanguage. Immutable after creation.\n\nNOT to be confused with `languageCode`: that field is auto-detected\nfrom the recorded speech and only populated post-meeting (AI\npipeline), whereas `defaultLocale` is human-picked at creation\ntime and drives UI.\n\nValidation: primary subtag must be one of {en, fr, ar, pl, it};\nfull tags are accepted (en-US, pl-PL, ...). Default chain at\ncreation: request body -> tenant settings.language -> 'en-US'."
13961
+ },
13957
13962
  "meetingType": {
13958
13963
  "type": "string",
13959
13964
  "enum": [
@@ -14444,6 +14449,11 @@
14444
14449
  "duration": {
14445
14450
  "type": "integer"
14446
14451
  },
14452
+ "defaultLocale": {
14453
+ "type": "string",
14454
+ "pattern": "^(en|fr|ar|pl|it)(-[A-Za-z0-9]{2,8})*$",
14455
+ "description": "Full BCP-47 locale tag (e.g. `en-US`, `pl-PL`, `fr-FR`, `ar-SA`,\n`it-IT`). Set at creation time; controls the UI language of the\npublic lobby + room pages so a Polish recruiter sharing a link\ngets a Polish lobby regardless of the candidate's browser\nlanguage. Immutable after creation.\n\nNOT to be confused with `languageCode`: that field is auto-detected\nfrom the recorded speech and only populated post-meeting (AI\npipeline), whereas `defaultLocale` is human-picked at creation\ntime and drives UI.\n\nValidation: primary subtag must be one of {en, fr, ar, pl, it};\nfull tags are accepted (en-US, pl-PL, ...). Default chain at\ncreation: request body -> tenant settings.language -> 'en-US'."
14456
+ },
14447
14457
  "meetingType": {
14448
14458
  "type": "string",
14449
14459
  "enum": [
@@ -15054,14 +15064,16 @@
15054
15064
  "role": {
15055
15065
  "type": "string",
15056
15066
  "enum": [
15057
- "interviewer"
15067
+ "interviewer",
15068
+ "notetaker",
15069
+ "sales"
15058
15070
  ],
15059
- "description": "Picks a system prompt template from the bot container's\nprompt/<role>.md library. 'interviewer' drives a structured\nscreening conversation. Omit (or pass empty) for the generic\nsilent-listening assistant prompt - back-compat default.\nMore roles (notetaker, sales) will be added as the library\ngrows."
15071
+ "description": "Picks a system prompt template from the bot container's\nprompt/<role>.md library.\n'interviewer' drives a structured screening conversation\n with a candidate (compliance, behavioral block, etc.).\n'notetaker' silently observes and captures action items,\n decisions, and open questions; speaks only when addressed.\n'sales' runs a discovery + pitch conversation with a\n prospect, advances toward a concrete next step. No\n commercial commitments on the call.\nOmit (or pass empty) for the generic silent-listening\nassistant prompt - back-compat default."
15060
15072
  },
15061
15073
  "context": {
15062
15074
  "type": "object",
15063
15075
  "additionalProperties": true,
15064
- "description": "Per-meeting context values used to fill {placeholder} tokens\nin the chosen role's prompt template. Required keys depend\non the role - the prompt itself documents what it expects.\nMissing or empty values are substituted with the literal\nstring \"not provided\"; the prompt is written to handle that\ngracefully (\"do NOT make up missing fields\"). Example for\nrole=interviewer: { companyName, roleName, language,\nduration, mustHaves, competencies, ... }."
15076
+ "description": "Per-meeting context values used to fill {placeholder} tokens\nin the chosen role's prompt template. The required keys depend\non the role - the prompt itself documents what it expects.\n\nBE-side enrichment: for role=interviewer, supplying just\n`{ \"jobId\": \"...\" }` causes the BE to fetch the job row and\nauto-populate roleName, roleDescription, mustHaves,\ncompetencies, workLocation, workMode, workHours, salaryRange,\nroleDetailShareable, and companyInfoShareable from it. Any\nadditional keys you supply override the assembled values\n(FE wins on conflicts). Use this to inject recruiterNotes,\nnextStepsShareable, expectedTimeline, and any field you want\nto override.\n\nMissing or empty values are substituted with the literal\nstring \"not provided\"; the prompt is written to handle that\ngracefully (\"do NOT make up missing fields\"). Each string\nvalue is capped at 1500 chars - the BE truncates and logs\na warning if exceeded (ECS RunTask containerOverrides has\nan 8KB total limit across all env vars)."
15065
15077
  }
15066
15078
  }
15067
15079
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.60",
3
+ "version": "0.1.33-dev.62",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",