@aleph-alpha/chat-kit 2.1.1 → 2.2.0
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/{CkInput.vue_vue_type_script_setup_true_lang-DPZedAQS.js → CkInput.vue_vue_type_script_setup_true_lang-CjfKRuZs.js} +291 -61
- package/dist/chat-kit.css +40 -5
- package/dist/components/base/CkDropZoneOverlay/CkDropZoneIllustration.vue.d.ts +4 -0
- package/dist/components/base/CkDropZoneOverlay/CkDropZoneIllustration.vue.d.ts.map +1 -0
- package/dist/components/base/CkDropZoneOverlay/CkDropZoneOverlay.stories.d.ts +17 -0
- package/dist/components/base/CkDropZoneOverlay/CkDropZoneOverlay.stories.d.ts.map +1 -0
- package/dist/components/base/CkDropZoneOverlay/CkDropZoneOverlay.vue.d.ts +31 -0
- package/dist/components/base/CkDropZoneOverlay/CkDropZoneOverlay.vue.d.ts.map +1 -0
- package/dist/components/base/CkDropZoneOverlay/index.d.ts +3 -0
- package/dist/components/base/CkDropZoneOverlay/index.d.ts.map +1 -0
- package/dist/components/base/CkDropZoneOverlay/types.d.ts +88 -0
- package/dist/components/base/CkDropZoneOverlay/types.d.ts.map +1 -0
- package/dist/components/base/CkFeedbackDialog/CkFeedbackDialog.vue.d.ts.map +1 -1
- package/dist/components/base/index.d.ts +2 -0
- package/dist/components/base/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +19 -18
- package/dist/composables/fileUpload/index.d.ts.map +1 -1
- package/dist/composables/index.js +1 -1
- package/dist/{index-BPXg1Yf6.js → index-CfXEGjc7.js} +39 -19
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -20
- package/package.json +1 -1
- package/src/components/base/CkDropZoneOverlay/CkDropZoneIllustration.vue +125 -0
- package/src/components/base/CkDropZoneOverlay/CkDropZoneOverlay.spec.ts +104 -0
- package/src/components/base/CkDropZoneOverlay/CkDropZoneOverlay.stories.ts +130 -0
- package/src/components/base/CkDropZoneOverlay/CkDropZoneOverlay.vue +272 -0
- package/src/components/base/CkDropZoneOverlay/index.ts +2 -0
- package/src/components/base/CkDropZoneOverlay/types.ts +93 -0
- package/src/components/base/CkFeedbackDialog/CkFeedbackDialog.vue +22 -1
- package/src/components/base/index.ts +7 -0
- package/src/components/index.ts +5 -0
- package/src/composables/fileUpload/index.spec.ts +18 -7
- package/src/composables/fileUpload/index.ts +39 -19
- package/src/index.ts +5 -0
|
@@ -22,40 +22,60 @@ export const defaultDocumentUploadConfig: DocumentUploadConfig = {
|
|
|
22
22
|
workflowConfig: {
|
|
23
23
|
name: WORKFLOW_ID,
|
|
24
24
|
workflow_name: 'DocumentAI',
|
|
25
|
-
definition: { workflow_name: 'DocumentAI' },
|
|
26
25
|
parameters: {
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
chunk_extraction: {
|
|
27
|
+
chunker: {
|
|
28
|
+
batch_size: 1,
|
|
29
|
+
chunk_overlap: 200,
|
|
30
|
+
chunk_size: 1200,
|
|
31
|
+
include_image_descriptions: false,
|
|
32
|
+
kind: 'recursive',
|
|
33
|
+
separators: ['\n\n', '\n', ' ', '.', ',', ''],
|
|
34
|
+
},
|
|
29
35
|
},
|
|
30
36
|
document_extraction: {
|
|
31
|
-
pdf_reader: { kind: 'pypdf', batch_size: 10 },
|
|
32
37
|
docx_reader: {
|
|
33
|
-
kind: 'docx',
|
|
34
38
|
batch_size: 10,
|
|
39
|
+
kind: 'docx',
|
|
35
40
|
split_by_sections: false,
|
|
36
41
|
},
|
|
37
|
-
|
|
38
|
-
xlsx_reader: {
|
|
39
|
-
kind: 'xlsx',
|
|
42
|
+
markdown_reader: {
|
|
40
43
|
batch_size: 10,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
kind: 'markdown',
|
|
45
|
+
},
|
|
46
|
+
pdf_reader: {
|
|
47
|
+
batch_size: 10,
|
|
48
|
+
ignore_headers_footers: true,
|
|
49
|
+
kind: 'vision',
|
|
50
|
+
max_tokens: 16384,
|
|
51
|
+
model: 'gemini-2.5-flash',
|
|
52
|
+
retries: 3,
|
|
53
|
+
timeout: 120,
|
|
54
|
+
workers: 4,
|
|
44
55
|
},
|
|
45
|
-
markdown_reader: { kind: 'markdown', batch_size: 10 },
|
|
46
56
|
plaintext_reader: {
|
|
47
|
-
kind: 'plaintext',
|
|
48
57
|
batch_size: 10,
|
|
58
|
+
kind: 'plaintext',
|
|
49
59
|
max_content_size: 500000,
|
|
50
60
|
min_space_ratio: 0.02,
|
|
51
61
|
},
|
|
62
|
+
pptx_reader: {
|
|
63
|
+
batch_size: 10,
|
|
64
|
+
include_notes: true,
|
|
65
|
+
kind: 'pptx',
|
|
66
|
+
},
|
|
67
|
+
xlsx_reader: {
|
|
68
|
+
batch_size: 10,
|
|
69
|
+
include_empty_sheets: false,
|
|
70
|
+
kind: 'xlsx',
|
|
71
|
+
max_cols: 100,
|
|
72
|
+
max_rows: 10000,
|
|
73
|
+
},
|
|
52
74
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
include_image_descriptions: false,
|
|
58
|
-
chunk_size: 200,
|
|
75
|
+
initialization: {
|
|
76
|
+
store: {
|
|
77
|
+
batch_size: 10,
|
|
78
|
+
pages_per_part: 25,
|
|
59
79
|
},
|
|
60
80
|
},
|
|
61
81
|
},
|
package/src/index.ts
CHANGED
|
@@ -66,6 +66,7 @@ export {
|
|
|
66
66
|
CkConversation,
|
|
67
67
|
CkConversationLayout,
|
|
68
68
|
CkCopyMessageActionButton,
|
|
69
|
+
CkDropZoneOverlay,
|
|
69
70
|
CkFeedbackButton,
|
|
70
71
|
CkFeedbackDialog,
|
|
71
72
|
CkFileItemsList,
|
|
@@ -87,6 +88,10 @@ export {
|
|
|
87
88
|
export type {
|
|
88
89
|
CkConversationLayoutProps,
|
|
89
90
|
CkConversationProps,
|
|
91
|
+
CkDropZoneOverlayProps,
|
|
92
|
+
CkDropZoneOverlayEmits,
|
|
93
|
+
CkDropZoneRejection,
|
|
94
|
+
CkDropZoneRejectionReason,
|
|
90
95
|
CkFeedbackButtonProps,
|
|
91
96
|
CkFeedbackDialogEmits,
|
|
92
97
|
CkFeedbackDialogProps,
|