@deepdesk/deepdesk-sdk 19.1.1-beta.3 → 19.1.1-beta.4
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 +7 -7
- package/dist/index.d.mts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.esm.js +7 -7
- package/dist/index.iife.js +10 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -690,7 +690,7 @@ declare namespace Server {
|
|
|
690
690
|
type EvaluationResponse = {
|
|
691
691
|
evaluation_id: string;
|
|
692
692
|
evaluation_status: EvaluationStatus;
|
|
693
|
-
output: EvaluationOutput;
|
|
693
|
+
output: EvaluationOutput | KAAnswer;
|
|
694
694
|
};
|
|
695
695
|
type EvaluationOutput = Array<{
|
|
696
696
|
code: string;
|
|
@@ -703,6 +703,13 @@ declare namespace Server {
|
|
|
703
703
|
url: string;
|
|
704
704
|
}[];
|
|
705
705
|
}>;
|
|
706
|
+
type KAAnswer = {
|
|
707
|
+
response: string;
|
|
708
|
+
sources?: {
|
|
709
|
+
name: string;
|
|
710
|
+
url: string;
|
|
711
|
+
}[];
|
|
712
|
+
};
|
|
706
713
|
/**
|
|
707
714
|
* Handling time event data
|
|
708
715
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -690,7 +690,7 @@ declare namespace Server {
|
|
|
690
690
|
type EvaluationResponse = {
|
|
691
691
|
evaluation_id: string;
|
|
692
692
|
evaluation_status: EvaluationStatus;
|
|
693
|
-
output: EvaluationOutput;
|
|
693
|
+
output: EvaluationOutput | KAAnswer;
|
|
694
694
|
};
|
|
695
695
|
type EvaluationOutput = Array<{
|
|
696
696
|
code: string;
|
|
@@ -703,6 +703,13 @@ declare namespace Server {
|
|
|
703
703
|
url: string;
|
|
704
704
|
}[];
|
|
705
705
|
}>;
|
|
706
|
+
type KAAnswer = {
|
|
707
|
+
response: string;
|
|
708
|
+
sources?: {
|
|
709
|
+
name: string;
|
|
710
|
+
url: string;
|
|
711
|
+
}[];
|
|
712
|
+
};
|
|
706
713
|
/**
|
|
707
714
|
* Handling time event data
|
|
708
715
|
*/
|