@deepdesk/deepdesk-sdk 14.1.1-beta.4 → 14.1.1-beta.6
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/index.cjs.js +4 -4
- package/dist/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.esm.js +4 -4
- package/dist/index.iife.js +18 -18
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1417,6 +1417,19 @@ declare class DeepdeskAPI {
|
|
|
1417
1417
|
evaluateRule<Payload = unknown>(label: string, conversationId: string, payload: Payload, opts?: {
|
|
1418
1418
|
raiseForFailingConditions?: boolean;
|
|
1419
1419
|
}): Promise<CamelCaseKeys<Server.Cue[]>>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Temporarily restore getSummary for more controlled rollout
|
|
1422
|
+
* @deprecated
|
|
1423
|
+
*/
|
|
1424
|
+
getSummary(messages: Array<{
|
|
1425
|
+
source: string;
|
|
1426
|
+
text: string;
|
|
1427
|
+
}>, options?: {
|
|
1428
|
+
model?: string;
|
|
1429
|
+
promptInstruction?: string;
|
|
1430
|
+
agentId?: string;
|
|
1431
|
+
externalConversationId?: string;
|
|
1432
|
+
}): Promise<CamelCaseKeys<Server.Summary>>;
|
|
1420
1433
|
evaluateAssistant<TInput = Record<string, unknown>>(assistantCode: string, options: {
|
|
1421
1434
|
input: TInput;
|
|
1422
1435
|
transcript?: Array<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1417,6 +1417,19 @@ declare class DeepdeskAPI {
|
|
|
1417
1417
|
evaluateRule<Payload = unknown>(label: string, conversationId: string, payload: Payload, opts?: {
|
|
1418
1418
|
raiseForFailingConditions?: boolean;
|
|
1419
1419
|
}): Promise<CamelCaseKeys<Server.Cue[]>>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Temporarily restore getSummary for more controlled rollout
|
|
1422
|
+
* @deprecated
|
|
1423
|
+
*/
|
|
1424
|
+
getSummary(messages: Array<{
|
|
1425
|
+
source: string;
|
|
1426
|
+
text: string;
|
|
1427
|
+
}>, options?: {
|
|
1428
|
+
model?: string;
|
|
1429
|
+
promptInstruction?: string;
|
|
1430
|
+
agentId?: string;
|
|
1431
|
+
externalConversationId?: string;
|
|
1432
|
+
}): Promise<CamelCaseKeys<Server.Summary>>;
|
|
1420
1433
|
evaluateAssistant<TInput = Record<string, unknown>>(assistantCode: string, options: {
|
|
1421
1434
|
input: TInput;
|
|
1422
1435
|
transcript?: Array<{
|