Commit 5b1f948
feat(kb-tags): natural language pre-filter tag system for knowledge base searches (#800)
* fix lint
* checkpoint
* works
* simplify
* checkpoint
* works
* fix lint
* checkpoint - create doc ui
* working block
* fix import conflicts
* fix tests
* add blockers to going past max tag slots
* remove console logs
* forgot a few
* Update apps/sim/tools/knowledge/search.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* remove console.warn
* Update apps/sim/hooks/use-tag-definitions.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* use tag slots consts in more places
* remove duplicate title
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>1 parent cb17691 commit 5b1f948
File tree
27 files changed
+8021
-404
lines changed- apps/sim
- app
- api/knowledge
- [id]
- documents
- [documentId]
- tag-definitions
- tag-definitions
- search
- workspace/[workspaceId]
- knowledge
- [id]
- [documentId]
- components/upload-modal
- components
- create-modal
- document-tag-entry
- tag-input
- hooks
- w/[workflowId]/components/workflow-block/components/sub-block
- components
- document-tag-entry
- knowledge-tag-filters
- knowledge-tag-filter
- blocks
- blocks
- db
- migrations
- meta
- hooks
- lib/constants
- tools/knowledge
27 files changed
+8021
-404
lines changedLines changed: 21 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
221 | 229 | | |
222 | | - | |
223 | 230 | | |
224 | 231 | | |
225 | 232 | | |
| |||
231 | 238 | | |
232 | 239 | | |
233 | 240 | | |
234 | | - | |
| 241 | + | |
235 | 242 | | |
236 | 243 | | |
237 | 244 | | |
| |||
298 | 305 | | |
299 | 306 | | |
300 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
301 | 316 | | |
302 | | - | |
303 | 317 | | |
304 | 318 | | |
305 | 319 | | |
| |||
309 | 323 | | |
310 | 324 | | |
311 | 325 | | |
312 | | - | |
| 326 | + | |
313 | 327 | | |
314 | 328 | | |
315 | 329 | | |
| |||
479 | 493 | | |
480 | 494 | | |
481 | 495 | | |
482 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
483 | 499 | | |
484 | 500 | | |
485 | 501 | | |
| |||
Lines changed: 37 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
| |||
213 | 222 | | |
214 | 223 | | |
215 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
216 | 232 | | |
217 | 233 | | |
218 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
219 | 255 | | |
220 | 256 | | |
221 | 257 | | |
| |||
0 commit comments