@xapp/stentor-service-generative-ai 2.1.0 → 2.1.2
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.
|
@@ -249,7 +249,7 @@ export interface LeadAnalysis {
|
|
|
249
249
|
conciseSummary?: string;
|
|
250
250
|
/**
|
|
251
251
|
* The request in one plain phrase of at most 20 words, written to be read aloud on a phone call.
|
|
252
|
-
* It completes "<name> needs help with: …"
|
|
252
|
+
* It completes "<name> needs help with: …", so it has no trailing period.
|
|
253
253
|
*/
|
|
254
254
|
spokenSummary?: string;
|
|
255
255
|
/**
|
|
@@ -33,6 +33,10 @@ export interface TranscriptMessage {
|
|
|
33
33
|
export interface AnalyzeLeadProps {
|
|
34
34
|
businessDescription?: string;
|
|
35
35
|
highValueLeadDescription?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Kept for callers that already pass it; the prompt no longer reads it. What shape the prompt
|
|
38
|
+
* takes follows from whether a transcript exists, not from where the lead came in.
|
|
39
|
+
*/
|
|
36
40
|
channel?: ExternalLead["source"];
|
|
37
41
|
fields?: ExternalLead["fields"];
|
|
38
42
|
transcript?: ExternalLead["transcript"];
|
|
@@ -67,7 +71,18 @@ export declare function translateTranscript(transcript: ExternalLead["transcript
|
|
|
67
71
|
* @param transcript
|
|
68
72
|
* @returns
|
|
69
73
|
*/
|
|
70
|
-
export declare function transcriptToMessages(system: string, transcript: Message[]
|
|
74
|
+
export declare function transcriptToMessages(system: string, transcript: Message[],
|
|
75
|
+
/**
|
|
76
|
+
* The rendered form fields, for a lead that has no transcript.
|
|
77
|
+
*
|
|
78
|
+
* They used to be appended to `system` and nothing else, which left the message list holding
|
|
79
|
+
* a single system turn. AWSBedrockService lifts every system turn out into Bedrock's own
|
|
80
|
+
* `system` parameter, so the request arrived with `messages: []` and Bedrock rejected it:
|
|
81
|
+
* "'messages' must not be empty". analyzeLeadSafely swallows that, so the lead was delivered
|
|
82
|
+
* carrying "An analysis could not be generated." and nothing looked wrong. The form-submission
|
|
83
|
+
* twin of the transcript bug in XappMedia/stentor-api#5622.
|
|
84
|
+
*/
|
|
85
|
+
formSubmission?: string): {
|
|
71
86
|
role: "system" | "user" | "assistant";
|
|
72
87
|
content: string;
|
|
73
88
|
}[];
|
|
@@ -75,7 +75,18 @@ function translateTranscript(transcript) {
|
|
|
75
75
|
* @param transcript
|
|
76
76
|
* @returns
|
|
77
77
|
*/
|
|
78
|
-
function transcriptToMessages(system, transcript
|
|
78
|
+
function transcriptToMessages(system, transcript,
|
|
79
|
+
/**
|
|
80
|
+
* The rendered form fields, for a lead that has no transcript.
|
|
81
|
+
*
|
|
82
|
+
* They used to be appended to `system` and nothing else, which left the message list holding
|
|
83
|
+
* a single system turn. AWSBedrockService lifts every system turn out into Bedrock's own
|
|
84
|
+
* `system` parameter, so the request arrived with `messages: []` and Bedrock rejected it:
|
|
85
|
+
* "'messages' must not be empty". analyzeLeadSafely swallows that, so the lead was delivered
|
|
86
|
+
* carrying "An analysis could not be generated." and nothing looked wrong. The form-submission
|
|
87
|
+
* twin of the transcript bug in XappMedia/stentor-api#5622.
|
|
88
|
+
*/
|
|
89
|
+
formSubmission) {
|
|
79
90
|
const messages = [
|
|
80
91
|
{
|
|
81
92
|
role: "system",
|
|
@@ -99,6 +110,28 @@ function transcriptToMessages(system, transcript) {
|
|
|
99
110
|
`Respond with ONLY the JSON object described above. No prose, no preamble.`
|
|
100
111
|
});
|
|
101
112
|
}
|
|
113
|
+
else if (formSubmission) {
|
|
114
|
+
messages.push({
|
|
115
|
+
role: "user",
|
|
116
|
+
content: `Analyze the following form submission.\n\n` +
|
|
117
|
+
`=== FORM SUBMISSION START ===\n${formSubmission}\n=== FORM SUBMISSION END ===\n\n` +
|
|
118
|
+
`Respond with ONLY the JSON object described above. No prose, no preamble.`
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
// A lead with neither is rare but it still has to produce a well formed request, and the
|
|
123
|
+
// wording stays source-neutral because AnalyzeTranscript shares this helper. Returning
|
|
124
|
+
// just the system turn is the empty-`messages` bug over again, and a rejected call is
|
|
125
|
+
// indistinguishable downstream from the model having nothing to say -- analyzeLeadSafely
|
|
126
|
+
// swallows both into "An analysis could not be generated.". Say so explicitly instead, so
|
|
127
|
+
// the model answers with the schema and the emptiness is a judgement rather than a failure.
|
|
128
|
+
messages.push({
|
|
129
|
+
role: "user",
|
|
130
|
+
content: `No chat transcript or form submission was captured, so there is no customer ` +
|
|
131
|
+
`content to analyze.\n\n` +
|
|
132
|
+
`Respond with ONLY the JSON object described above. No prose, no preamble.`
|
|
133
|
+
});
|
|
134
|
+
}
|
|
102
135
|
return messages;
|
|
103
136
|
}
|
|
104
137
|
/**
|
|
@@ -138,12 +171,17 @@ function getHighValueLeadDescription(highValueLeadDescription) {
|
|
|
138
171
|
* @param lead - The lead to analyze with the business description and other options to customize the prompt.
|
|
139
172
|
* @returns
|
|
140
173
|
*/
|
|
141
|
-
const generateAnalyzeLead = ({
|
|
174
|
+
const generateAnalyzeLead = ({ businessDescription, highValueLeadDescription, transcript, fields }, overrides) => {
|
|
142
175
|
// determine max_tokens
|
|
143
176
|
// depending on if the lead is from chat or form, we provide different content.
|
|
144
177
|
// if form, we just put the gathered fields in the system message
|
|
145
178
|
// if chat, we add the chat transcript to the messages, bot is the system message and user is the chat transcript.
|
|
146
|
-
|
|
179
|
+
// The transcript decides the shape, not the channel. A widget lead whose chat produced no
|
|
180
|
+
// transcript has nothing chat-shaped to analyze: asking for a transcript analysis left its
|
|
181
|
+
// fields out of the messages entirely and the request reached Bedrock empty. Every lead that
|
|
182
|
+
// analyzes correctly today is unaffected -- a transcript makes this true either way, and
|
|
183
|
+
// without one the channel only ever picked between a broken prompt and a working one.
|
|
184
|
+
const isChat = (0, stentor_utils_1.existsAndNotEmpty)(transcript);
|
|
147
185
|
const hasBusinessDescription = !!businessDescription;
|
|
148
186
|
const hasHighValueLeadDescription = !!highValueLeadDescription;
|
|
149
187
|
let intro = `You are a knowledgeable employee of a business.`;
|
|
@@ -170,7 +208,7 @@ ${getHighValueLeadDescription(highValueLeadDescription)}
|
|
|
170
208
|
|
|
171
209
|
Return "highValueLead": true when the lead matches that definition and false when it does not. Always return one or the other - never omit it. Judge it only against the definition above, not against how urgent or how large the request seems.`;
|
|
172
210
|
}
|
|
173
|
-
|
|
211
|
+
const system = `
|
|
174
212
|
${intro}
|
|
175
213
|
|
|
176
214
|
${instructions}
|
|
@@ -253,15 +291,11 @@ Examples:
|
|
|
253
291
|
- Message: "we need our backflow tested" → "getting their backflow tested"
|
|
254
292
|
- Message: "looking for a quote to replace 12 windows in a 2 story house" → "a quote to replace twelve windows on a two story house"
|
|
255
293
|
`;
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
The following fields were collected from the customer or potential customer in the form submission:
|
|
260
|
-
${parsedFields}
|
|
261
|
-
`;
|
|
262
|
-
}
|
|
294
|
+
// Carried as a user turn rather than appended to `system`: a system-only message list reaches
|
|
295
|
+
// Bedrock empty. See transcriptToMessages.
|
|
296
|
+
const formSubmission = !isChat && (0, stentor_utils_1.existsAndNotEmpty)(fields) ? parseFields(fields) : undefined;
|
|
263
297
|
// console.log(system);
|
|
264
|
-
const messages = transcriptToMessages(system, transcript);
|
|
298
|
+
const messages = transcriptToMessages(system, transcript, formSubmission);
|
|
265
299
|
// determine max_tokens based on the length of the system message
|
|
266
300
|
// const systemMessageLength = JSON.stringify(system).length;
|
|
267
301
|
// const tokens = getTokens(system);
|
|
@@ -345,7 +379,7 @@ const analyzeLeadResponseParse = (response) => {
|
|
|
345
379
|
if (conciseSummary) {
|
|
346
380
|
draftAnalysis.conciseSummary = conciseSummary;
|
|
347
381
|
}
|
|
348
|
-
//
|
|
382
|
+
// It is spoken as the end of "... needs help with: <spokenSummary>." -- a period of its own would double up.
|
|
349
383
|
const spoken = typeof spokenSummary === "string" ? spokenSummary.trim().replace(/[.\s]+$/, "") : "";
|
|
350
384
|
if (spoken) {
|
|
351
385
|
draftAnalysis.spokenSummary = spoken;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyzeLead.js","sourceRoot":"","sources":["../../src/prompts/AnalyzeLead.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"AnalyzeLead.js","sourceRoot":"","sources":["../../src/prompts/AnalyzeLead.ts"],"names":[],"mappings":";;;AA0EA,kDAMC;AAyBD,oDAkEC;AAOD,kCAaC;AAQD,kEAEC;AAvMD,iDAAkD;AAGlD,6CAAyD;AACzD,sDAAmD;AACnD,yDAAqH;AACrH,6DAAiH;AAEjH,kDAAkD;AAElD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACU,QAAA,oBAAoB,GAAG,OAAO,CAAC;AA2B5C,SAAS,OAAO,CAAC,OAA+C;IAC5D,mCAAmC;IACnC,OAAO,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,MAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,CAAA,KAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,CAAA,IAAI,SAAS,CAAC;AAC1E,CAAC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,UAAsC;IACtE,IAAI,CAAC,UAAU,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACxC,CAAC;IAED,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,OAAO,EAAE,CAAC,CAAC;AACjF,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,oBAAoB,CAChC,MAAc,EACd,UAAqB;AACrB;;;;;;;;;GASG;AACH,cAAuB;IAEvB,MAAM,QAAQ,GAAiE;QAC3E;YACI,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,MA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QACnD,CAAC;QAED,OAAO,aAAa,CAAC;IACzB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,uFAAuF;QACvF,yFAAyF;QACzF,0FAA0F;QAC1F,MAAM,IAAI,8BAAqB,CAAC,aAAa,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;IAChE,CAAC;AACL,CAAC,CAAC;AAzCW,QAAA,wBAAwB,4BAyCnC"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.1.
|
|
7
|
+
"version": "2.1.2",
|
|
8
8
|
"description": "Generative AI Service",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/chai": "5.2.3",
|
|
19
|
-
"@types/lodash": "4.17.
|
|
19
|
+
"@types/lodash": "4.17.26",
|
|
20
20
|
"@xapp/config": "0.3.0",
|
|
21
21
|
"chai": "4.5.0",
|
|
22
22
|
"dotenv": "17.4.2",
|
|
23
23
|
"mocha": "11.8.0",
|
|
24
|
-
"stentor-logger": "1.74.
|
|
24
|
+
"stentor-logger": "1.74.12",
|
|
25
25
|
"stentor-models": "1.81.0",
|
|
26
26
|
"stentor-service-fetch": "1.74.7",
|
|
27
|
-
"stentor-utils": "1.76.
|
|
27
|
+
"stentor-utils": "1.76.3",
|
|
28
28
|
"ts-node": "10.9.2",
|
|
29
29
|
"typescript": "5.9.3"
|
|
30
30
|
},
|