Commit Graph

1030 Commits

Author SHA1 Message Date
medchedli
1b12f402c5 refactor: remove unused OnModuleInit import from LlmNluHelper 2025-05-29 16:07:21 +01:00
yassinedorbozgithub
04fcc1585e fix: enhance logic 2025-05-29 16:04:41 +01:00
yassinedorbozgithub
3a4cc3434a fix(api): apply feedback 2025-05-29 15:43:40 +01:00
Med Marrouchi
164ed221fc
Merge pull request #1048 from Hexastack/feat/default-nlu-penalty-factor-config
Add default NLU penalty factor and async support for NLP matching
2025-05-29 15:32:23 +01:00
medchedli
4492bbd4b8 fix: improve error logging for LLM NLU helper prompt initialization 2025-05-29 11:28:39 +01:00
yassinedorbozgithub
772236d220 fix(api): apply feedback 2025-05-29 09:12:51 +01:00
yassinedorbozgithub
64a8729be3 fix(api): apply feedback 2025-05-29 08:15:23 +01:00
yassinedorbozgithub
485e48bdd1 feat(api): add migration script v2.2.9 2025-05-29 07:01:44 +01:00
medchedli
4cb3229f1b feat: add default NLU penalty factor setting 2025-05-27 20:03:34 +01:00
medchedli
e562739019 feat: implement OnApplicationBootstrap for LlmNluHelper to build prompts during initialization 2025-05-27 18:14:44 +01:00
Med Marrouchi
3d6518307b
Merge pull request #1041 from Hexastack/1017-bug---nlp-entity-edit-dto-issue
fix(api): add missing field to NlpEntityUpdateDto
2025-05-26 18:01:02 +01:00
yassinedorbozgithub
ff716ab47b fix(api): add missing field to NlpEntityUpdateDto 2025-05-26 08:26:27 +01:00
yassinedorbozgithub
e0ff78ac71 fix(api): update unit tests 2025-05-23 15:58:05 +01:00
yassinedorbozgithub
3ff2b97221 fix(api): add deleteOne builtin protection 2025-05-23 15:56:08 +01:00
yassinedorbozgithub
2f5c85cb64 fix(api): move builtin logic + adapt unit tests 2025-05-23 15:55:03 +01:00
yassinedorbozgithub
7a23b0ded7 fix: update throw message 2025-05-23 15:55:03 +01:00
yassinedorbozgithub
ab30c46d97 fix: block deletion for built Nlp Entities 2025-05-23 15:55:03 +01:00
Mohamed Marrouchi
933daaa221 build: v2.2.8
Some checks failed
Build and Push Docker API Image / build-and-push (push) Has been cancelled
Build and Push Docker Base Image / build-and-push (push) Has been cancelled
Build and Push Docker UI Image / build-and-push (push) Has been cancelled
2025-05-22 10:41:13 +01:00
yassinedorbozgithub
6f215afd05 fix: resolve block list bug 2025-05-21 18:02:08 +01:00
Mohamed Marrouchi
031e54ef32 fix: add missing fallback for plugins 2025-05-20 16:36:14 +01:00
Mohamed Marrouchi
1f7a8bd625 fix: reuse quickReplies 2025-05-20 16:15:04 +01:00
Mohamed Marrouchi
409f397454 fix: apply nit picks 2025-05-20 16:10:50 +01:00
Mohamed Marrouchi
94cb9d2a7c feat: adjust local fallback 2025-05-20 15:57:32 +01:00
Mohamed Marrouchi
0163b07054 feat: refactor and use envelope factory 2025-05-20 15:38:29 +01:00
Mohamed Marrouchi
9207d4d349 fix: add attachment unit tests 2025-05-20 15:20:09 +01:00
Mohamed Marrouchi
fa5f835cef test: add unit tests 2025-05-20 15:04:16 +01:00
Mohamed Marrouchi
c9f521a837 fix: permanent ctx vars update + unit tests 2025-05-16 19:17:54 +01:00
Mohamed Marrouchi
8033eb3099 fix: permanent ctx vars update 2025-05-16 17:14:29 +01:00
yassinedorbozgithub
775c6c2885 fix(api): apply feedback 2025-05-15 12:04:26 +01:00
yassinedorbozgithub
b208afb508 fix(api): add check contextValue check 2025-05-15 11:53:53 +01:00
Mohamed Marrouchi
2b2d508ec7 feat: use cache 2025-05-14 08:32:35 +01:00
Mohamed Marrouchi
7dd3297fa3 fix: remove unecessary var 2025-05-13 19:07:21 +01:00
Mohamed Marrouchi
82d6bc8d49 fix: apply PR review feedback 2025-05-13 19:05:50 +01:00
Mohamed Marrouchi
e85084cd41 fix: add canonical value check 2025-05-13 17:07:28 +01:00
Mohamed Marrouchi
09666efec6 feat: update nlu llm helper to use pattern lookup 2025-05-13 16:27:36 +01:00
Mohamed Marrouchi
949fee281a fix: minor fixes 2025-05-13 16:27:36 +01:00
Mohamed Marrouchi
6e89192f88 feat: add determinisic slot filling (keyword and patter lookup strategies) 2025-05-13 16:27:36 +01:00
Mohamed Marrouchi
9e0df0d530 feat(api): add nlp pattern lookup strategy 2025-05-13 16:27:36 +01:00
Mohamed Marrouchi
e2d6d15215 build: v2.2.7
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
2025-05-13 16:26:39 +01:00
Mohamed Marrouchi
66c1de80fc fix: disable ws unit test (temp) 2025-05-13 16:25:04 +01:00
Med Marrouchi
7e22a43cd5
Merge pull request #995 from Hexastack/993-bug-console-chat-widget-doesnt-show-quick-replies
fix: Show quick replies in Console Chat Widget
2025-05-13 15:01:36 +01:00
Mohamed Marrouchi
33f6483e2e fix: avatar update rate 2025-05-13 14:46:32 +01:00
Mohamed Marrouchi
c56f176d85 refactor: subscriber avatar store 2025-05-13 14:46:30 +01:00
Med Marrouchi
94bbc4ad20
Merge pull request #1001 from Hexastack/fix/disallow-attachment-delete
fix: disalow attachment delete
2025-05-13 12:25:28 +01:00
Med Marrouchi
e2666302b8
Merge pull request #1000 from Hexastack/feat/implement-block-nlp-prioritization-strategy-v3
Feat/implement block nlp prioritization strategy v3
2025-05-13 12:22:32 +01:00
yassinedorbozgithub
91cb7d93a4 fix(api): apply feedback 2025-05-13 10:58:51 +01:00
yassinedorbozgithub
9b97983977 fix(api): apply coderabbitai feedback 2025-05-13 09:39:22 +01:00
yassinedorbozgithub
dfc05a7ce2 fix(api): update WebsocketGateway unit tests 2025-05-13 08:55:03 +01:00
yassinedorbozgithub
9ebb291306 refactor(api): update WebsocketGateway unit tests 2025-05-13 08:47:46 +01:00
yassinedorbozgithub
494f40db1d fix: apply feedback 2025-05-13 08:23:39 +01:00
yassinedorbozgithub
f156757045 fix(api): add WebsocketGateway unit tests 2025-05-13 08:13:09 +01:00
yassinedorbozgithub
11bda74568 Merge branch 'main' into 993-bug-console-chat-widget-doesnt-show-quick-replies 2025-05-13 08:11:48 +01:00
yassinedorbozgithub
22ef79b05f fix(api): update WebsocketGateway unit tests 2025-05-12 18:18:02 +01:00
Mohamed Marrouchi
78b217c2f7 fix: disalow attachment delete 2025-05-12 18:03:58 +01:00
Mohamed Marrouchi
27cf8a343c fix: nitpicks 2025-05-12 17:19:06 +01:00
Mohamed Marrouchi
8df658b429 fix: remove unused mock 2025-05-12 17:07:39 +01:00
Med Marrouchi
75d96650aa
Merge pull request #998 from Hexastack/fix/message-attachment-remove
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
feat: undo message attachment reference removal
2025-05-12 15:37:21 +01:00
Mohamed Marrouchi
6ba4c76440 fix: restore conflict exception 2025-05-12 14:55:36 +01:00
Mohamed Marrouchi
f2fede7e68 fix: controller unit test 2025-05-12 14:49:42 +01:00
Mohamed Marrouchi
44a42e474d fix: update dto 2025-05-12 14:49:04 +01:00
Mohamed Marrouchi
a054ee542e fix: minor fixes 2025-05-12 14:40:38 +01:00
Mohamed Marrouchi
72c9484ff6 fix: extra check 2025-05-12 14:33:08 +01:00
Mohamed Marrouchi
41de535a7c fix: enhance implementation 2025-05-12 14:13:09 +01:00
yassinedorbozgithub
e203485d75 fix(api): add message service & subscriber service happy path unit tests 2025-05-12 10:51:46 +01:00
yassinedorbozgithub
545c8e967c fix(api): add jest env compatibility to websocket cors 2025-05-12 10:49:55 +01:00
yassinedorbozgithub
91434eb53e refactor(api): websocket gateway unit tests 2025-05-12 10:47:58 +01:00
yassinedorbozgithub
e9b7b8c229 fix(api): update socket disconnection log messsage 2025-05-12 10:46:47 +01:00
yassinedorbozgithub
6e7395281a fix(api): add missing status code 2025-05-12 10:45:08 +01:00
MohamedAliBouhaouala
9642e823d0 feat: use mongo test db for unit tests 2025-05-12 07:30:01 +01:00
MohamedAliBouhaouala
c7189758a9 fix: correct entity data type 2025-05-12 07:30:01 +01:00
MohamedAliBouhaouala
4f8ee27dba fix: apply feedback 2025-05-12 07:30:01 +01:00
MohamedAliBouhaouala
5d8befacdf fix: minor enhancements 2025-05-12 07:30:01 +01:00
MohamedAliBouhaouala
5dcd36be98 feat: set nlpEntity weights type to float 2025-05-12 07:30:01 +01:00
MohamedAliBouhaouala
003c6924f8 fix: remove stale comments 2025-05-12 07:30:01 +01:00
MohamedAliBouhaouala
04a008b6fd fix: remove unsued utils 2025-05-12 07:30:01 +01:00
Mohamed Marrouchi
bab2e3082f feat: implement nlp based blocks prioritization strategy
feat: add weight to nlp entity schema and readapt

feat: remove commented obsolete code

feat: restore settings

feat: apply feedback

fix: re-adapt unit tests

feat: priority scoring re-calculation & enabling weight modification in builtin nlp entities

fix: remove obsolete code

feat: refine unit tests, apply mr coderabbit suggestions

fix: minor refactoring

feat: add nlp cache map type

feat: refine builtin nlp entities weight updates

feat: add more test cases and refine edge case handling

feat: add weight validation in UI

fix: apply feedback

feat: add a penalty factor & fix unit tests

feat: add documentation

fix: correct syntax

fix: remove stale log statement

fix: enforce nlp entity weight restrictions

fix: correct typo in docs

fix: typos in docs

fix: fix formatting for function comment

fix: restore matchNLP function previous code

fix: remove blank line, make updateOne asynchronous

fix: add AND operator in docs

fix: handle dependency injection in chat module

feat: refactor to use findAndPopulate in block score calculation

feat: refine caching mechanisms

feat: add typing and enforce safety checks

fix: remove typo

fix: remove async from block score calculation

fix: remove typo

fix: correct linting

fix: refine nlp pattern type check

fix: decompose code into helper utils,  add nlp entity dto validation, remove type casting

fix: minor refactoring

feat: refactor current implementation
2025-05-12 07:29:56 +01:00
yassinedorbozgithub
2999c2234d fix: add jsdoc 2025-05-09 17:53:17 +01:00
Mohamed Marrouchi
0112ceebe2 fix: remove unecessary providers import 2025-05-09 16:46:07 +01:00
Mohamed Marrouchi
4f012594cb feat: undo message attachment reference removal 2025-05-09 16:42:00 +01:00
Mohamed Marrouchi
5ddc257492 fix: add warn message to not found resource 2025-05-09 15:58:16 +01:00
yassinedorbozgithub
2638e845e6 fix(api): resolve socketsJoin issue 2025-05-09 14:37:06 +01:00
Med Marrouchi
535020dc68
Merge pull request #987 from Hexastack/986-issue---fix-message-echo-received-log
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
fix(api): update message echo received logged value
2025-05-08 19:03:29 +01:00
yassinedorbozgithub
112eee04eb fix: make stronger the cacheable typing 2025-05-08 17:18:42 +01:00
yassinedorbozgithub
ee761770ae fix(api): update essage echo received logged value 2025-05-08 17:00:51 +01:00
yassinedorbozgithub
3f452c82ec fix: remove unsued subscriber 2025-05-08 15:12:26 +01:00
yassinedorbozgithub
55e7f89fc0 fix: apply feedback 2025-05-08 09:31:20 +01:00
yassinedorbozgithub
f972cc15dd fix: revert eventemitter updates 2025-05-08 08:30:27 +01:00
Mohamed Marrouchi
43c7161777 build: v2.2.6
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
2025-05-07 07:21:53 +01:00
Med Marrouchi
95184734a3
Merge pull request #970 from Hexastack/revert-969-revert-965-964-issue---carousel-show-more-issue
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
Handle context update conflicts
2025-05-06 16:39:22 +01:00
yassinedorbozgithub
f559454049 fix: update unit tests 2025-05-06 16:20:06 +01:00
yassinedorbozgithub
cf7af41ee1 fix: update jsdoc 2025-05-06 15:51:04 +01:00
yassinedorbozgithub
8166d60358 fix: update unit test message 2025-05-06 15:42:59 +01:00
yassinedorbozgithub
c1c92475a3 fix: update base-repository unit tests to support shouldFlatten 2025-05-06 15:37:01 +01:00
yassinedorbozgithub
f5dec41b34 fix: handle array edge case 2025-05-06 14:57:58 +01:00
yassinedorbozgithub
0b9f6e49e1 fix: handle unit tests arrays case 2025-05-06 14:17:51 +01:00
yassinedorbozgithub
b200fbf6da fix: add missing return type 2025-05-06 14:12:45 +01:00
yassinedorbozgithub
79b674f2f3 fix: add unit tests for the flatten utility function 2025-05-06 11:28:10 +01:00
yassinedorbozgithub
35a435090c fix: add missing result type 2025-05-06 09:22:21 +01:00
yassinedorbozgithub
521619be0f fix: add flatten syntax to udapteOne and UpdateMany 2025-05-06 08:34:30 +01:00
abdou6666
0d77cc26c3 fix: remove unused method broadcastSentMessages 2025-05-05 17:53:56 +01:00
Med Marrouchi
b419dd5ddb
Merge pull request #957 from Hexastack/fix/llm-nlu-helper-extension-incorrect-confidence-value-handling-in-llm-nlu-helper
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
fix: llm nlu confidence
2025-05-05 09:33:41 +01:00
hexastack
949c5aded0 fix: remove unnecessary zod schema 2025-05-05 08:16:46 +01:00
Med Marrouchi
eae5eb4a64
Revert "Revert "fix: resolve show more button issue"" 2025-05-01 20:27:59 +01:00
Med Marrouchi
13490abb77
Revert "fix: resolve show more button issue" 2025-05-01 20:27:41 +01:00
Med Marrouchi
57dbe13774
Merge pull request #968 from Hexastack/fix/socket-io-widget-issues
Fix: socket io widget issues
2025-05-01 17:51:20 +01:00
Med Marrouchi
eb3c3143b8
Merge pull request #965 from Hexastack/964-issue---carousel-show-more-issue
fix: resolve show more button issue
2025-05-01 16:31:49 +01:00
abdou6666
d913c23fbc fix: socketio gateway config 2025-05-01 15:36:01 +01:00
yassinedorbozgithub
e9de8c64d0 fix: add storeContextData for outcome 2025-05-01 12:19:46 +01:00
abdou6666
4e9cf4eee5 fix: broadcast event 2025-05-01 09:38:40 +01:00
Med Marrouchi
900ce4ea48
Merge pull request #953 from Hexastack/fix/undefined-subscriber
fix: undefined subscriber
2025-05-01 09:31:47 +01:00
Yassine
537815c954
Merge pull request #944 from Hexastack/115-issue-fallback-message-shouldnt-be-ignored
Some checks failed
Build and Push Docker API Image / build-and-push (push) Has been cancelled
Build and Push Docker Base Image / build-and-push (push) Has been cancelled
Build and Push Docker UI Image / build-and-push (push) Has been cancelled
fix: Resolve block local fallback issue
2025-04-25 09:53:57 +01:00
Yassine
c2c53bf99c
Merge pull request #949 from Hexastack/948-fix-skip-invalid-url-wildcard-cors
Filter out wildcard origins from allowed domains
2025-04-25 09:52:55 +01:00
hexastack
828fdd9683 fix: update confidence~ value 2025-04-25 08:28:31 +01:00
Yassine
9b2840af01
Merge pull request #913 from Hexastack/fix/attachment-issues
Some checks are pending
Build and Push Docker API Image / build-and-push (push) Waiting to run
Build and Push Docker Base Image / build-and-push (push) Waiting to run
Build and Push Docker UI Image / build-and-push (push) Waiting to run
Fix: attachment issues
2025-04-25 08:01:11 +01:00
Yassine
f20fed6eb0
Merge pull request #940 from Hexastack/fix/sync-nlp-value
fix: correct criteria format for nlp value update
2025-04-25 08:00:10 +01:00
hexastack
6229d5e0e0 fix: llm blu confidence 2025-04-24 17:02:26 +01:00
abdou6666
9ef12618bb fix: undefined subscriber 2025-04-23 15:14:49 +01:00
medchedli
dbfbb2b582 fix: filter out wildcard origins from allowed domains 2025-04-22 16:12:30 +01:00
yassinedorbozgithub
5be637fd30 fix(api): resolve block local fallback issue 2025-04-20 11:53:42 +01:00
Yassine
8ced75ef53
Merge pull request #923 from Hexastack/906-bug---incorrect-chatbot-response-sequencing
Some checks failed
Build and Push Docker API Image / build-and-push (push) Has been cancelled
Build and Push Docker Base Image / build-and-push (push) Has been cancelled
Build and Push Docker UI Image / build-and-push (push) Has been cancelled
fix(api): resolve messages order response
2025-04-18 10:43:41 +01:00
MohamedAliBouhaouala
7632866b2a fix: correct criteria format and correct postCreate hook event 2025-04-17 14:48:50 +01:00
MohamedAliBouhaouala
b04673fab4 fix: correct criteria format for nlp value update 2025-04-17 12:18:49 +01:00
Med Marrouchi
83d3e01ba4
revert change 2025-04-16 17:34:22 +01:00
Med Marrouchi
bfaf9d4865
Revert "Revert "fix: backward compatibility content type fields type"" 2025-04-16 17:32:47 +01:00
Med Marrouchi
b76bcc09fe
Revert "fix: backward compatibility content type fields type" 2025-04-16 17:32:22 +01:00
Med Marrouchi
40ccf73331
Update api/src/cms/dto/contentType.dto.ts 2025-04-16 17:27:38 +01:00
hexastack
00cf334788 fix: address feedback 2025-04-16 11:33:01 +01:00
hexastack
a5f1aa25e4 fix: address feedback 2025-04-16 11:26:45 +01:00
hexastack
2e04f3cef4 fix: backward compatibility content type fields type 2025-04-16 11:15:01 +01:00
abdou6666
ba729de340 feat: support delete many attachments 2025-04-14 17:01:08 +01:00
abdou6666
90efbf54e5 fix: remove duplicate attachment module 2025-04-14 10:44:08 +01:00
yassinedorbozgithub
0203662234 fix(api): resolve messages order response 2025-04-13 22:06:34 +01:00
yassinedorbozgithub
55d1eade00 fix(api): add logs 2025-04-12 06:58:10 +01:00
yassinedorbozgithub
f74066b577 fix(api): apply feedback update 2025-04-12 06:52:25 +01:00
yassinedorbozgithub
c561984b0e Merge branch 'main' into fix/cleanup-languageId-nlp-sample 2025-04-12 06:51:32 +01:00
yassinedorbozgithub
15a22e5978 fix(api): revert unused new line 2025-04-12 06:34:50 +01:00
yassinedorbozgithub
126a406d16 fix(api): update unit tests 2025-04-12 06:32:06 +01:00
yassinedorbozgithub
69a994f9e3 fix(api): optimize preUpdateMany 2025-04-12 06:31:08 +01:00
yassinedorbozgithub
39e587de26 fix(api): resolve getAllowsOrigins unit tests 2025-04-12 05:00:34 +01:00
yassinedorbozgithub
36fa34b303 fix(api): resolve allowed_domains redis bug 2025-04-12 04:58:56 +01:00
yassinedorbozgithub
e6ad44784b fix: apply feedback update 2025-04-11 23:57:47 +01:00
yassinedorbozgithub
a782c6d3ba Merge branch 'main' into fix/define-content-type-fields-type 2025-04-11 23:53:26 +01:00
Yassine
99f134c2a7
Merge pull request #909 from Hexastack/908-issue---check-dependency-categories
Chore: update dependencies category
2025-04-11 21:02:22 +01:00
Yassine
16c12b705c
Merge pull request #910 from Hexastack/863-bug---make-translatable-plugin-settings
Fix: Make translatable plugin settings
2025-04-11 20:12:23 +01:00
abdou6666
4ff92953eb fix: cleanup 2025-04-11 18:42:59 +01:00
abdou6666
d504e6b61c fix: remove debugger 2025-04-11 17:41:26 +01:00
abdou6666
0f82f11d76 fix: remove unused image 2025-04-11 17:21:47 +01:00
abdou6666
8bd778db52 fix: attachment 2025-04-11 16:40:50 +01:00
Yassine
aed32e8a21
Merge pull request #842 from Hexastack/839-nlu-values---display-samples-count-per-value
feat: support the display samples count per value
2025-04-11 09:48:04 +01:00
yassinedorbozgithub
3d1c3f4328 fix: add a settingType variable 2025-04-10 15:38:26 +01:00