@smartytalent/openai-tools 0.1.33-dev.71 → 0.1.33-dev.72

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 +50 -2
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -10913,7 +10913,20 @@
10913
10913
  },
10914
10914
  "systemPrompt": {
10915
10915
  "type": "string",
10916
- "description": "Operator-editable agent instructions used as the OpenAI Realtime session's system prompt at fire time. Mirror of email body in the operator review window: edit before fire, the dialed call uses the latest version."
10916
+ "description": "Operator-editable agent instructions used as the OpenAI Realtime session's system prompt at fire time. Mirror of email body in the operator review window: edit before fire, the dialed call uses the latest version. Wins over `boeRole`/`boeContext` when both are set."
10917
+ },
10918
+ "boeRole": {
10919
+ "type": "string",
10920
+ "enum": [
10921
+ "sales",
10922
+ "interviewer"
10923
+ ],
10924
+ "description": "Prompt template selector. Picks `service/call/container/outbound/prompt/<role>.md` and renders it with `boeContext` placeholders at dial time. `systemPrompt` overrides if also set. Mutually exclusive with `systemPrompt` in effect."
10925
+ },
10926
+ "boeContext": {
10927
+ "type": "object",
10928
+ "additionalProperties": true,
10929
+ "description": "Placeholder map for the `boeRole` prompt template. Keys depend on the role: for `interviewer` typically `candidateName`, `roleName`, `language`, `applicationUnits`, `employmentOptions`, `nextStepDescription`; for `sales` typically `prospectName`, `prospectCompany`, `language`, `leadSource`. Missing keys render as `not provided`."
10917
10930
  },
10918
10931
  "recording": {
10919
10932
  "type": "object",
@@ -11426,7 +11439,20 @@
11426
11439
  },
11427
11440
  "systemPrompt": {
11428
11441
  "type": "string",
11429
- "description": "Operator-editable agent instructions used as the OpenAI Realtime session's system prompt at fire time. Mirror of email body in the operator review window: edit before fire, the dialed call uses the latest version."
11442
+ "description": "Operator-editable agent instructions used as the OpenAI Realtime session's system prompt at fire time. Mirror of email body in the operator review window: edit before fire, the dialed call uses the latest version. Wins over `boeRole`/`boeContext` when both are set."
11443
+ },
11444
+ "boeRole": {
11445
+ "type": "string",
11446
+ "enum": [
11447
+ "sales",
11448
+ "interviewer"
11449
+ ],
11450
+ "description": "Prompt template selector. Picks `service/call/container/outbound/prompt/<role>.md` and renders it with `boeContext` placeholders at dial time. `systemPrompt` overrides if also set. Mutually exclusive with `systemPrompt` in effect."
11451
+ },
11452
+ "boeContext": {
11453
+ "type": "object",
11454
+ "additionalProperties": true,
11455
+ "description": "Placeholder map for the `boeRole` prompt template. Keys depend on the role: for `interviewer` typically `candidateName`, `roleName`, `language`, `applicationUnits`, `employmentOptions`, `nextStepDescription`; for `sales` typically `prospectName`, `prospectCompany`, `language`, `leadSource`. Missing keys render as `not provided`."
11430
11456
  },
11431
11457
  "recording": {
11432
11458
  "type": "object",
@@ -11606,6 +11632,28 @@
11606
11632
  }
11607
11633
  }
11608
11634
  },
11635
+ {
11636
+ "type": "function",
11637
+ "function": {
11638
+ "name": "dial_call",
11639
+ "description": "Dial Call",
11640
+ "parameters": {
11641
+ "type": "object",
11642
+ "properties": {}
11643
+ }
11644
+ }
11645
+ },
11646
+ {
11647
+ "type": "function",
11648
+ "function": {
11649
+ "name": "dial_call_options",
11650
+ "description": "Dial Call Options",
11651
+ "parameters": {
11652
+ "type": "object",
11653
+ "properties": {}
11654
+ }
11655
+ }
11656
+ },
11609
11657
  {
11610
11658
  "type": "function",
11611
11659
  "function": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.71",
3
+ "version": "0.1.33-dev.72",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",