Commit Graph

965 Commits

Author SHA1 Message Date
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
yassinedorbozgithub
96f6ab55f7 fix: make plugin settings translatable 2025-04-10 15:36:21 +01:00
Yassine
76b155f373
Merge pull request #899 from Hexastack/897-bug---missing-content-payloadtype-prevents-configuring-postback-button-with-content-trigger
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: add missing content payloadType
2025-04-10 14:21:47 +01:00
yassinedorbozgithub
3eb998c4a2 fix(api): update dependencies category 2025-04-10 09:45:19 +01:00
Yassine
bbf55ae897
Merge pull request #894 from Hexastack/fix/importing-csv-file-ignores-fields-and-status-always-true
fix: importing csv file ignores fields and status always true
2025-04-10 09:01:24 +01:00
Yassine
1f91618d84
Merge pull request #633 from Hexastack/fix/hook-stats-entry-event
fix: hook stats entry event
2025-04-10 08:52:13 +01:00
abdou6666
33cc3f713d fix: attachment issues wip 2025-04-09 16:00:02 +01:00
abdou6666
e350afe3d1 fix: apply feedback 2025-04-08 08:24:21 +01:00
abdou6666
ed65938907 fix: cleanup languageId from NlpSamples on language deletion 2025-04-08 08:23:20 +01:00
hexastack
caaee58072 fix: add suggestion 2025-04-07 15:15:10 +01:00
yassinedorbozgithub
b96048c7ee fix: add content payloadType unit test 2025-04-07 14:46:45 +01:00
yassinedorbozgithub
551c3ccf35 fix: add missing content payloadType 2025-04-07 14:38:36 +01:00
hexastack
ca633b52fb fix: address review 2025-04-07 12:59:21 +01:00
hexastack
3153ab09cb fix: importing csv file ignores fields and status always true 2025-04-07 11:53:39 +01:00
Med Marrouchi
beca726551
Merge pull request #882 from Hexastack/fix/remove-unused-parameter-when-emitting-hookconversationend-event
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: remove unused parameter when emitting hook-conversation-end event
2025-04-07 09:30:14 +01:00
hexastack
de13301a54 fix: apply feedback 2025-04-07 09:17:22 +01:00
Med Marrouchi
9b752e74e5
Merge pull request #883 from Hexastack/637-blank-settings-when-a-helper-extension-gets-removed
feat: add extension module
2025-04-07 08:52:43 +01:00
yassinedorbozgithub
83849c2df2 fix: enhance aggregation pipeline 2025-04-06 11:46:37 +01:00
yassinedorbozgithub
903ff0bbf9 fix: update findWithCount method logic 2025-04-06 10:56:43 +01:00
yassinedorbozgithub
a6d9c9dae5 fix: refactor plainToClass method 2025-04-06 00:07:56 +01:00
yassinedorbozgithub
bdf92af888 fix: add getSortDirection method 2025-04-05 23:04:46 +01:00
yassinedorbozgithub
a729fe2f15 fix: update nlpEntity model injection 2025-04-05 22:46:37 +01:00
yassinedorbozgithub
f18c061888 fix: update doc comment of aggregateWithCount method 2025-04-05 22:25:59 +01:00
yassinedorbozgithub
e592a781b3 fix: refactor logic 2025-04-05 21:59:19 +01:00
yassinedorbozgithub
a3b92da470 fix: update NlpEntity reponse to be plain 2025-04-05 20:34:12 +01:00
yassinedorbozgithub
b51f5e85fb fix: apply feedback update 2025-04-04 17:58:56 +01:00
yassinedorbozgithub
563e337a65 fix: remove unused array element 2025-04-04 17:30:32 +01:00
yassinedorbozgithub
7a30c363fd fix: update cleanup service methods description 2025-04-04 17:19:36 +01:00
hexastack
c174ddc708 fix: define a type for fields in ContentType schema 2025-04-04 15:46:51 +01:00
yassinedorbozgithub
a38824a23a fix: resolve Circular dependency in unit tests 2025-04-04 11:58:54 +01:00
yassinedorbozgithub
1cc99d0020 fix: apply feedback updates 2025-04-04 11:54:32 +01:00
yassinedorbozgithub
1eb09ab84e fix: update nlp value aggregate 2025-04-04 11:54:32 +01:00
yassinedorbozgithub
486def7e75 fix: rename findAndPopulate method 2025-04-04 11:51:34 +01:00
yassinedorbozgithub
61d8938212 fix: add nlpentities populate 2025-04-04 11:51:34 +01:00
yassinedorbozgithub
6a25d47349 fix: enhance logic 2025-04-04 11:51:34 +01:00
yassinedorbozgithub
7ecf821c48 fix: move findAndPopulateNlpValuesWithCount to the repository 2025-04-04 11:51:34 +01:00
yassinedorbozgithub
b79fcac080 feat: support the display samples count per value 2025-04-04 11:51:34 +01:00
hexastack
2495edf21d fix: hook stats entry event 2025-04-04 11:34:33 +01:00
yassinedorbozgithub
d73e4dc8cb fix: rename the module 2025-04-04 08:55:41 +01:00
yassinedorbozgithub
cf350c1048 fix: apply feedback updates 2025-04-04 08:52:32 +01:00
Med Marrouchi
7977d9d445
Merge pull request #649 from Hexastack/fix/hook-chatbot-sent-event
fix: hook chatbot sent event
2025-04-04 08:36:13 +01:00
yassinedorbozgithub
e134ba65e9 feat: add cleanup.service unit tests 2025-04-04 08:31:37 +01:00
yassinedorbozgithub
d705a3efc8 feat: add cleanup module 2025-04-04 08:31:37 +01:00
Med Marrouchi
a718128186
Merge pull request #852 from Hexastack/851-issue---make-logger-part-of-the-base-repository
feat: centrelize logger
2025-04-04 08:20:02 +01:00
hexastack
57107b5593 fix: remove unused parameter when emitting hook-conversation-end event 2025-04-03 16:50:44 +01:00
Med Marrouchi
2c4d8e3352
Merge pull request #850 from Hexastack/849-issue---make-eventemitter-part-of-the-base-repository
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: centrelize eventEmitter
2025-04-03 15:53:26 +01:00
Med Marrouchi
0bbe7b8669
Merge pull request #848 from Hexastack/847-issue---make-loggerservice-and-eventemitter2-global-unit-test-providers
feat: add unit tests global provider config
2025-04-03 15:34:11 +01:00
Med Marrouchi
bd024b3dec
Merge pull request #880 from Hexastack/fix/bot-hangs-up-when-the-last-block-has-outcomes-with-no-matching-next-block
fix: end conversation when a block have no matching outcomes
2025-04-03 15:32:27 +01:00
hexastack
e9e8eb2184 fix: end conversation when a block have no matching outcomes 2025-04-03 12:30:41 +01:00
Med Marrouchi
8680f48688
Merge pull request #717 from Hexastack/fix/payload-enum-missing-menu
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: missing value in PayloadType enum
2025-04-03 10:02:03 +01:00
abdou6666
5579052787 fix: apply feedback 2025-04-02 18:06:46 +01:00
Mohamed Marrouchi
45402fbcce fix: subscriber ctx var update logic 2025-03-25 15:01:50 +01:00
yassinedorbozgithub
cca2922553 fix: resolve file conflicts 2025-03-24 14:15:52 +01:00
Med Marrouchi
c91bf8c4f7
Merge pull request #853 from Hexastack/feat/envelope-factory
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: envelope factory
2025-03-24 13:36:03 +01:00
Med Marrouchi
6d567f29f7
Merge pull request #855 from Hexastack/fix/pagination-nlp-sample
fix: nlp-sample pagination
2025-03-24 12:34:44 +01:00
Mohamed Marrouchi
9ffd965069 fix: use enum 2025-03-24 12:16:11 +01:00
Mohamed Marrouchi
172a167296 feat: define getters and setters 2025-03-24 12:11:54 +01:00
Med Marrouchi
816e4ee9e3
Merge pull request #844 from Hexastack/feat/change-getDefaultSettings-to-async
feat: change getDefaultSettings to be async
2025-03-24 12:10:44 +01:00
abdou6666
ccbe954bef fix: remove unnecessary async 2025-03-24 12:03:50 +01:00
abdou6666
992ae79fc3 fix: update block controller 2025-03-24 11:59:18 +01:00
abdou6666
408d50a5d3 fix: base plugin getDefaultSettings 2025-03-24 11:56:52 +01:00
Mohamed Marrouchi
8bef5e521b fix: readme 2025-03-24 11:13:37 +01:00
Mohamed Marrouchi
481851f713 fix: typo naming 2025-03-24 11:11:37 +01:00
abdou6666
bfd8f4170f fix: nlp-sample pagination 2025-03-24 10:30:17 +01:00
Med Marrouchi
13cf35b828
Merge pull request #840 from Hexastack/feat/add-doc-field-nlp-values
feat: add description attribute for nlu values
2025-03-24 10:19:24 +01:00
Mohamed Marrouchi
67c4bc753f feat: re-adapt unit tests for schema change 2025-03-24 10:12:40 +01:00