Appearance
v18 … v19
Breaking changes
replace SDK event removed — use select-suggestion
The top-level SDK listener on('replace', …) has been removed. The same moment in the flow is now exposed as select-suggestion, with a richer payload (including how text should be applied to the input).
Before (v18)
ts
deepdeskSDK.on('replace', (payload) => {
// handle replacement
});After (v19)
ts
deepdeskSDK.on('select-suggestion', (payload) => {
// payload includes suggestion metadata, type, and `replace: { start, end }`
// for the range to replace in the input when applicable
});Unregister with deepdeskSDK.off('select-suggestion', handler) instead of deepdeskSDK.off('replace', …).
Deprecated getSummary method was removed
It can be replaced by the evaluateConversationAssistant method, see details here.
Before (v18)
ts
deepdeskSDK.getSummary()After (v19)
ts
deepdeskSDK.evaluateConversationAssistant('ended');Removed expectFormat options from assistants
The expectFormat option has been removed from assistant evaluation (including knowledge assist). Response shaping is no longer controlled via this SDK/API field.
Action: Remove any expectFormat (or equivalent) argument from:
- programmatic assistant calls (e.g.
evaluateAssistant/ conversation or knowledge assist helpers you use from the SDK), and - any direct API payloads you built that mirrored the old shape.
If you relied on a specific format, configure that on the backend / assistant configuration instead.