@smartytalent/openai-tools 0.1.33-dev.71 → 0.1.33-dev.73
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 +64 -10
- 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",
|
|
@@ -11010,10 +11023,13 @@
|
|
|
11010
11023
|
}
|
|
11011
11024
|
},
|
|
11012
11025
|
"keyNotes": {
|
|
11013
|
-
"type": "
|
|
11014
|
-
"description": "AI-generated
|
|
11015
|
-
"
|
|
11016
|
-
"type": "
|
|
11026
|
+
"type": "object",
|
|
11027
|
+
"description": "AI-generated fact bullets per locale, distilled from the transcript.\nKeyed by BCP-47 locale (e.g. `en-US`, `pl-PL`); values are arrays of\nstrings. The source language (matches `languageCode`) is always\npresent; tenant target locales are added by the AI translate step.\nFE selects the locale to render (no auto-flatten on read). Same shape\nas `summary`/`transcript` - one object, NOT separate columns.",
|
|
11028
|
+
"additionalProperties": {
|
|
11029
|
+
"type": "array",
|
|
11030
|
+
"items": {
|
|
11031
|
+
"type": "string"
|
|
11032
|
+
}
|
|
11017
11033
|
}
|
|
11018
11034
|
},
|
|
11019
11035
|
"topicsDiscussed": {
|
|
@@ -11426,7 +11442,20 @@
|
|
|
11426
11442
|
},
|
|
11427
11443
|
"systemPrompt": {
|
|
11428
11444
|
"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."
|
|
11445
|
+
"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."
|
|
11446
|
+
},
|
|
11447
|
+
"boeRole": {
|
|
11448
|
+
"type": "string",
|
|
11449
|
+
"enum": [
|
|
11450
|
+
"sales",
|
|
11451
|
+
"interviewer"
|
|
11452
|
+
],
|
|
11453
|
+
"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."
|
|
11454
|
+
},
|
|
11455
|
+
"boeContext": {
|
|
11456
|
+
"type": "object",
|
|
11457
|
+
"additionalProperties": true,
|
|
11458
|
+
"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
11459
|
},
|
|
11431
11460
|
"recording": {
|
|
11432
11461
|
"type": "object",
|
|
@@ -11523,10 +11552,13 @@
|
|
|
11523
11552
|
}
|
|
11524
11553
|
},
|
|
11525
11554
|
"keyNotes": {
|
|
11526
|
-
"type": "
|
|
11527
|
-
"description": "AI-generated
|
|
11528
|
-
"
|
|
11529
|
-
"type": "
|
|
11555
|
+
"type": "object",
|
|
11556
|
+
"description": "AI-generated fact bullets per locale, distilled from the transcript.\nKeyed by BCP-47 locale (e.g. `en-US`, `pl-PL`); values are arrays of\nstrings. The source language (matches `languageCode`) is always\npresent; tenant target locales are added by the AI translate step.\nFE selects the locale to render (no auto-flatten on read). Same shape\nas `summary`/`transcript` - one object, NOT separate columns.",
|
|
11557
|
+
"additionalProperties": {
|
|
11558
|
+
"type": "array",
|
|
11559
|
+
"items": {
|
|
11560
|
+
"type": "string"
|
|
11561
|
+
}
|
|
11530
11562
|
}
|
|
11531
11563
|
},
|
|
11532
11564
|
"topicsDiscussed": {
|
|
@@ -11606,6 +11638,28 @@
|
|
|
11606
11638
|
}
|
|
11607
11639
|
}
|
|
11608
11640
|
},
|
|
11641
|
+
{
|
|
11642
|
+
"type": "function",
|
|
11643
|
+
"function": {
|
|
11644
|
+
"name": "dial_call",
|
|
11645
|
+
"description": "Dial Call",
|
|
11646
|
+
"parameters": {
|
|
11647
|
+
"type": "object",
|
|
11648
|
+
"properties": {}
|
|
11649
|
+
}
|
|
11650
|
+
}
|
|
11651
|
+
},
|
|
11652
|
+
{
|
|
11653
|
+
"type": "function",
|
|
11654
|
+
"function": {
|
|
11655
|
+
"name": "dial_call_options",
|
|
11656
|
+
"description": "Dial Call Options",
|
|
11657
|
+
"parameters": {
|
|
11658
|
+
"type": "object",
|
|
11659
|
+
"properties": {}
|
|
11660
|
+
}
|
|
11661
|
+
}
|
|
11662
|
+
},
|
|
11609
11663
|
{
|
|
11610
11664
|
"type": "function",
|
|
11611
11665
|
"function": {
|