Commit Graph

71 Commits

Author SHA1 Message Date
yassinedorbozgithub
0576b60af2 fix(api): remove unnecessary JSDoc 2025-06-17 16:12:21 +01:00
yassinedorbozgithub
91322cc165 fix(api): update handleLabelPreDelete JSDoc 2025-06-14 23:07:34 +01:00
yassinedorbozgithub
7db602d5a7 Merge branch 'main' into 1086-api-make-sure-hookentityprepostdelete-is-used-across-the-board 2025-06-12 17:57:38 +01:00
yassinedorbozgithub
99f0f0eb2f fix(api): enhance logic 2025-06-12 17:41:20 +01:00
Med Marrouchi
bcacdec406 Update api/src/chat/services/block.service.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-12 12:13:32 +01:00
Mohamed Marrouchi
b9acf9d0c7 refactor: block fallback options 2025-06-12 12:13:32 +01:00
yassinedorbozgithub
d067a0ffa4 fix: update services 2025-06-12 11:27:07 +01:00
Mohamed Marrouchi
ab1d58ac17 test: consolidate tests 2025-06-11 11:02:46 +01:00
Mohamed Marrouchi
4beeaae087 feat: disallow multiple matches when local fallback is enabled 2025-06-09 16:11:01 +01:00
Mohamed Marrouchi
e0f3464392 fix: update jsdoc 2025-06-02 09:31:14 +01:00
Mohamed Marrouchi
0c0e3a6d99 fix: remove default console channel trigger 2025-06-02 09:12:56 +01:00
medchedli
4cb3229f1b feat: add default NLU penalty factor setting 2025-05-27 20:03:34 +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
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
27cf8a343c fix: nitpicks 2025-05-12 17:19:06 +01:00
Mohamed Marrouchi
a054ee542e fix: minor fixes 2025-05-12 14:40:38 +01:00
Mohamed Marrouchi
41de535a7c fix: enhance implementation 2025-05-12 14:13:09 +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
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
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
Mohamed Marrouchi
481851f713 fix: typo naming 2025-03-24 11:11:37 +01:00
Mohamed Marrouchi
10b39529b9 feat: envelope factory 2025-03-23 21:31:18 +01:00
yassinedorbozgithub
020f63097e feat: centrelize logger 2025-03-23 17:26:23 +01:00
yassinedorbozgithub
80f7fdf8f5 feat: centrelize eventEmitter 2025-03-23 16:37:40 +01:00
Mohamed Marrouchi
e90a268b84 feat: add handlebars template for text 2025-03-20 20:31:04 +01:00
Mohamed Marrouchi
7e48eb6067 feat: add outcome attribute 2025-03-03 09:54:31 +01:00
Yassine Sallemi
44bb8b08e4 fix: labels cascade delete 2025-02-19 22:02:56 +01:00
yassinedorbozgithub
0a47ff73fb fix(api): update string and regex string zod validations 2025-02-17 06:51:12 +01:00
abdou6666
b0c0233412 fix: remove duplicate copyright 2025-02-05 12:18:08 +01:00
abdou6666
4e80a0a215 fix: typing & remove type assertion 2025-02-05 11:41:09 +01:00
abdou6666
1f8285a09c fix: remove casting 2025-02-04 17:54:16 +01:00
abdou6666
c66b3c3f9d fix: unnecessary type casting 2025-02-04 17:15:42 +01:00
abdou6666
af536a9f48 feat: zod validation message 2025-02-04 11:05:22 +01:00
abdou6666
32d57874cd fix: remove service name prefix from logged messages 2025-01-27 12:36:50 +01:00
yassinedorbozgithub
a11ee925a6 fix: update bot service processMessage method 2025-01-15 09:15:45 +01:00
Med Marrouchi
cbbae7e274
Merge pull request #546 from Hexastack/refactor/attachment-payload
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: Refactor attachment payload + use public signed urls in web channel
2025-01-14 19:12:00 +01:00
Mohamed Marrouchi
f399416553 fix: leave support for url in attachment payload (case for external urls) 2025-01-13 16:20:01 +01:00
yassinedorbozgithub
07fe025c6e fix: update DTO type naming 2025-01-11 17:17:05 +01:00
yassinedorbozgithub
21b2f46f4c feat: implement dynamic create DTO in the BaseSeeder 2025-01-10 12:02:54 +01:00
yassinedorbozgithub
ffc260bba2 fix: implement dynamic create DTO for Block 2025-01-10 11:30:23 +01:00
Mohamed Marrouchi
0ac7d7cac5 fix: rename attachment_id to id 2025-01-09 18:05:53 +01:00