@deepdesk/deepdesk-sdk 10.1.2 → 10.1.3
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 +5 -5
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.esm.js +5 -5
- package/dist/index.iife.js +10 -10
- package/package.json +1 -1
- package/styles/index.js +1 -1
- package/styles.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -916,6 +916,8 @@ declare namespace Server {
|
|
|
916
916
|
autocomplete_with_text_suggestions: boolean;
|
|
917
917
|
entities_command: boolean;
|
|
918
918
|
summarizer: boolean;
|
|
919
|
+
summarizer_prompt_instruction: string;
|
|
920
|
+
summarizer_model: string;
|
|
919
921
|
knowledge_search: boolean;
|
|
920
922
|
knowledge_search_prompt_instruction: string;
|
|
921
923
|
ui_config: {
|
|
@@ -1075,7 +1077,10 @@ declare class DeepdeskAPI {
|
|
|
1075
1077
|
getSummary(messages: Array<{
|
|
1076
1078
|
source: string;
|
|
1077
1079
|
text: string;
|
|
1078
|
-
}
|
|
1080
|
+
}>, options?: {
|
|
1081
|
+
model?: string;
|
|
1082
|
+
promptInstruction?: string;
|
|
1083
|
+
}): Promise<string>;
|
|
1079
1084
|
/**
|
|
1080
1085
|
* Get a temporary exchange / login token
|
|
1081
1086
|
*/
|
|
@@ -1655,6 +1660,7 @@ interface SDKEventMap {
|
|
|
1655
1660
|
'edit-suggestion': EditTextSuggestionPayload;
|
|
1656
1661
|
'send-message': string;
|
|
1657
1662
|
'send-message-event': SendMessageEventData;
|
|
1663
|
+
logout: undefined;
|
|
1658
1664
|
ready: undefined;
|
|
1659
1665
|
showSearchOverlay: boolean;
|
|
1660
1666
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -916,6 +916,8 @@ declare namespace Server {
|
|
|
916
916
|
autocomplete_with_text_suggestions: boolean;
|
|
917
917
|
entities_command: boolean;
|
|
918
918
|
summarizer: boolean;
|
|
919
|
+
summarizer_prompt_instruction: string;
|
|
920
|
+
summarizer_model: string;
|
|
919
921
|
knowledge_search: boolean;
|
|
920
922
|
knowledge_search_prompt_instruction: string;
|
|
921
923
|
ui_config: {
|
|
@@ -1075,7 +1077,10 @@ declare class DeepdeskAPI {
|
|
|
1075
1077
|
getSummary(messages: Array<{
|
|
1076
1078
|
source: string;
|
|
1077
1079
|
text: string;
|
|
1078
|
-
}
|
|
1080
|
+
}>, options?: {
|
|
1081
|
+
model?: string;
|
|
1082
|
+
promptInstruction?: string;
|
|
1083
|
+
}): Promise<string>;
|
|
1079
1084
|
/**
|
|
1080
1085
|
* Get a temporary exchange / login token
|
|
1081
1086
|
*/
|
|
@@ -1655,6 +1660,7 @@ interface SDKEventMap {
|
|
|
1655
1660
|
'edit-suggestion': EditTextSuggestionPayload;
|
|
1656
1661
|
'send-message': string;
|
|
1657
1662
|
'send-message-event': SendMessageEventData;
|
|
1663
|
+
logout: undefined;
|
|
1658
1664
|
ready: undefined;
|
|
1659
1665
|
showSearchOverlay: boolean;
|
|
1660
1666
|
}
|