Commit bfae088
feat: knowledge workflow (#4399)
* feat: init knowledge workflow
* feat: add knowledge workflow and version models, serializers, and API views
* feat: knowledge workflow
* feat: knowledge workflow
* feat: add KnowledgeWorkflowModelSerializer and Operate class for workflow management
* fix: route
* feat: knowledge workflow
* feat: Knowledge workflow permission
* feat: knowledge workflow
* feat: knowledge workflow
* feat: knowledge workflow
* feat: knowledge workflow
* feat: Data source web node
* fix: Back route
* feat: knowledge workflow
* feat: knowledge workflow
* feat: Knowledge write node
* feat: add Data Source tool functionality and localization
* feat: add Data Source tool functionality and localization
* feat: knowledge workflow
* feat: knowledge workflow
* fix: simplify export tool permission check in ToolListContainer.vue
* fix: simplify export condition in ToolResourceIndex.vue
* fix: simplify condition for copying tool in ToolListContainer
* feat: knowledge workflow
* fix: Upload local files and add output fields
* feat: Knowledge write
* feat: add Document Split Node functionality and localization
* feat: add Document Split Node functionality and localization
* feat: Knowledge write
* feat: enhance Document Split Node with result processing and problem list generation
* fix: Allow problem be blank
* feat: enhance Document Split Node with result processing and problem list generation
* feat: tool datasource
* fix: Optimization of knowledge base workflow execution logic
* refactor: streamline image handling by updating application and knowledge ID management
* refactor: streamline image handling by updating application and knowledge ID management
* feat: extend support modes in variable aggregation node to include knowledge workflows
* feat: Chunks stored
* refactor: simplify file handling in document extraction by removing unnecessary byte conversion and enhancing file saving logic
* refactor: update file ID assignment in document extraction to use provided metadata
* feat: Workflow menu that distinguishes between applications and knowledge bases
* refactor: update file ID assignment in document extraction to use provided metadata
* fix: Add workspace ID as workflow execution parameter
* feat: add code template for Data Source tool form functionality
* refactor: remove unused sys import and improve module handling
* feat: Execution details support loading status
* refactor: update tool type handling and improve category merging logic
* feat: Alter fork depth
* fix: ensure filterList is properly initialized and updated in getList function
* refactor: simplify ToolStoreDialog by removing unused toolType logic
* perf: Optimize the style
* style: adjust div width for improved layout in Tree component
* refactor: improve polling mechanism for knowledge workflow action
* fix: Get workspace_id from workflow params
* fix: filter out 'file_bytes' from result in get_details method
* feat: add recursive filtering for file_bytes in context data
* fix: append results to paragraph_list instead of replacing it
* perf: Optimize translation files
* fix: include document name in bytes_to_uploaded_file call for better file handling
* refactor: optimize buffer retrieval in document processing
* refactor: remove redundant parameter from bytes_to_uploaded_file call
* fix: Page style optimization
* feat: add slider for setting limit in document rules form
* feat: add workflow knowledge management endpoints and related functionality
* fix: swap file size and file count limits in form inputs
* refactor: update tool_config args to use list format for improved readability
* feat: Node supports knowledge base workflow
* feat: Node supports knowledge base workflow
* fix: Basic node data cannot be obtained in the workflow
* style: Knowledge base workflow debugging page style adjustment
* fix: Loop nodes cannot be used in the knowledge base workflow
* fix: Knowledge base workflow variable assignment node
* feat: add chunk size slider to form for custom split strategy
* fix: Workflow style optimization
---------
Co-authored-by: CaptainB <[email protected]>
Co-authored-by: zhangzhanwei <[email protected]>
Co-authored-by: wangdan-fit2cloud <[email protected]>1 parent cf59cca commit bfae088
File tree
266 files changed
+8386
-1996
lines changed- apps
- application/flow
- step_node
- ai_chat_step_node
- application_node
- condition_node
- data_source_local_node
- impl
- data_source_web_node
- impl
- direct_reply_node
- document_extract_node
- impl
- document_split_node
- impl
- form_node
- image_generate_step_node
- impl
- image_to_video_step_node
- impl
- image_understand_step_node
- intent_node
- knowledge_write_node
- impl
- loop_break_node
- loop_continue_node
- loop_node
- impl
- loop_start_node
- impl
- mcp_node
- parameter_extraction_node
- question_node
- reranker_node
- search_document_node
- search_knowledge_node
- speech_to_text_step_node
- impl
- start_node
- text_to_speech_step_node
- impl
- text_to_video_step_node
- impl
- tool_lib_node
- impl
- tool_node
- variable_aggregation_node
- impl
- variable_assign_node
- impl
- variable_splitting_node
- video_understand_step_node
- impl
- common
- constants
- handle/impl
- table
- text
- utils
- knowledge
- api
- migrations
- models
- serializers
- vector
- views
- maxkb/wsgi
- tools
- migrations
- models
- serializers
- ui/src
- api
- knowledge
- assets
- knowledge
- tool
- workflow
- components
- ai-chat/component/knowledge-source-component
- app-icon
- card-checkbox
- dynamics-form
- constructor/items
- items
- select
- table
- tree
- upload
- markdown
- enums
- locales/lang
- en-US
- views
- zh-CN
- views
- zh-Hant
- views
- permission
- knowledge
- model
- router
- modules
- styles
- utils/permission
- views
- application-workflow
- component
- application
- component
- chat/pc
- knowledge-workflow
- component
- action
- knowledge
- component
- create-component
- model/component
- problem
- system-resource-management
- tool
- component
- toolStore
- workflow
- common
- icons
- nodes
- ai-chat-node
- application-node
- base-node
- component
- condition-node
- data-source-local-node
- data-source-web-node
- document-extract-node
- document-split-node
- form-node
- image-generate
- image-to-video
- image-understand
- intent-classify-node
- knowledge-base-node
- component
- knowledge-write-node
- loop-body-node
- loop-break-node
- loop-continue-node
- loop-node
- loop-start-node
- component
- mcp-node
- parameter-extraction-node
- component
- question-node
- reply-node
- reranker-node
- search-document-node
- search-knowledge-node
- speech-to-text-node
- start-node
- text-to-speech-node
- text-to-video
- tool-lib-node
- tool-node
- variable-aggregation-node
- component
- variable-assign-node
- variable-splitting
- component
- video-understand
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
266 files changed
+8386
-1996
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
93 | 103 | | |
94 | 104 | | |
95 | 105 | | |
| |||
112 | 122 | | |
113 | 123 | | |
114 | 124 | | |
115 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
116 | 129 | | |
117 | 130 | | |
118 | 131 | | |
| |||
125 | 138 | | |
126 | 139 | | |
127 | 140 | | |
| 141 | + | |
128 | 142 | | |
129 | 143 | | |
130 | 144 | | |
| |||
167 | 181 | | |
168 | 182 | | |
169 | 183 | | |
170 | | - | |
| 184 | + | |
171 | 185 | | |
172 | 186 | | |
173 | 187 | | |
174 | 188 | | |
175 | 189 | | |
176 | | - | |
| 190 | + | |
177 | 191 | | |
178 | 192 | | |
179 | 193 | | |
| |||
190 | 204 | | |
191 | 205 | | |
192 | 206 | | |
193 | | - | |
194 | | - | |
| 207 | + | |
195 | 208 | | |
196 | | - | |
| 209 | + | |
197 | 210 | | |
198 | 211 | | |
199 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
100 | 112 | | |
101 | 113 | | |
102 | 114 | | |
| |||
153 | 165 | | |
154 | 166 | | |
155 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
156 | 176 | | |
157 | 177 | | |
158 | 178 | | |
| |||
165 | 185 | | |
166 | 186 | | |
167 | 187 | | |
168 | | - | |
| 188 | + | |
| 189 | + | |
169 | 190 | | |
170 | 191 | | |
171 | 192 | | |
| |||
222 | 243 | | |
223 | 244 | | |
224 | 245 | | |
225 | | - | |
| 246 | + | |
226 | 247 | | |
227 | 248 | | |
228 | 249 | | |
229 | 250 | | |
230 | 251 | | |
231 | | - | |
| 252 | + | |
| 253 | + | |
232 | 254 | | |
233 | 255 | | |
234 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | | - | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
| 56 | + | |
51 | 57 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
| 50 | + | |
| 51 | + | |
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
52 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
53 | 63 | | |
54 | 64 | | |
55 | 65 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
0 commit comments