Commit graph

795 commits

Author SHA1 Message Date
Jicheng Lu fa9e0bffe8 minor change 2024-06-24 23:38:24 -05:00
Jicheng Lu 8d798a4399 add agent tools api 2024-06-24 23:34:30 -05:00
Jicheng Lu f65eeddb8e add agent tools 2024-06-24 22:46:13 -05:00
Jicheng Lu dbf103fd47 change to static 2024-06-24 17:34:05 -05:00
Jicheng Lu dc6888c001 minor change 2024-06-24 17:21:41 -05:00
Jicheng Lu 734be5d607 refactor load attachment tool 2024-06-24 16:39:08 -05:00
Jicheng Lu 9d3244e075 add image generation provider 2024-06-24 14:32:52 -05:00
Haiping Chen 4b16a86e0d Expose translation API. 2024-06-24 12:37:12 -05:00
C. Oceania e70c109b84
Merge branch 'SciSharp:master' into master 2024-06-22 17:04:40 -05:00
C. Oceania 2601c0c1dc
Merge branch 'SciSharp:master' into master 2024-06-19 20:54:09 -05:00
Jicheng Lu 6b3c12fc6d refine message files 2024-06-19 18:04:47 -05:00
Jicheng Lu a5deaeff57 add sleep 2024-06-19 13:24:58 -05:00
Jicheng Lu 743de0a875 flush to disk 2024-06-19 12:44:14 -05:00
Jicheng Lu 716008c685 minor change 2024-06-19 12:29:47 -05:00
Jicheng Lu a6e5c9342a sleep 2024-06-19 12:29:24 -05:00
Jicheng Lu bab05fe21e minor change 2024-06-19 11:59:31 -05:00
Jicheng Lu eb679701bd fix file save 2024-06-19 11:58:27 -05:00
Jicheng Lu ff5a553296 refine load attachment 2024-06-19 04:24:49 -05:00
Jicheng Lu 3de77403d7 append image analysis prompt 2024-06-18 13:18:24 -05:00
Haiping Chen 50743623bf Upgrade EntityFrameworkCore.BootKit. 2024-06-17 20:04:05 -05:00
Haiping Chen a99dc89f0d Test Maui 2024-06-16 14:08:46 -05:00
Haiping Chen cbf54f23a0 EntityFrameworkCore.BootKit 2024-06-14 21:08:45 -05:00
Jicheng Lu 54b551ae44 add mongo translation memory 2024-06-14 17:10:25 -05:00
Jicheng Lu 64dca85d77 add translation memory 2024-06-14 15:39:56 -05:00
易磊 57b522fe42
Update TranslationService.cs
修复空白字符串AI不翻译返回导致数组越界的问题
2024-06-13 15:59:13 +08:00
Jicheng Lu 868fa99111 allow router menu item 2024-06-12 14:32:15 -05:00
Jicheng Lu e81d862436 fix login 2024-06-12 13:40:29 -05:00
Jicheng Lu d0ed5cefe7 revert 2024-06-11 22:43:35 -05:00
Jicheng Lu 12c8a0d1c0 Merge branch 'master' of https://github.com/SciSharp/BotSharp into bugfix/fix-agent-conv-edge-cases 2024-06-11 22:41:51 -05:00
Jicheng Lu 862da9e837 fix default agent llm config 2024-06-11 22:41:37 -05:00
Haiping Chen 135552177c Fix compile error. 2024-06-11 22:07:58 -05:00
C. Oceania 2263cd2949
Merge pull request #494 from iceljc/bugfix/fix-agent-conv-edge-cases
Bugfix/fix agent conv edge cases
2024-06-12 02:57:40 +00:00
C. Oceania dc6534f45f
Merge pull request #492 from Qtoss-AI/master
Fix WebDriver locator issue.
2024-06-12 02:56:40 +00:00
Jicheng Lu a32916def6 fix some edge cases 2024-06-11 16:56:17 -05:00
Haiping Chen c6c61884f1 EntityFrameworkCore.BootKit 2024-06-10 23:41:21 -05:00
C. Oceania e4cf9e5efc
Merge branch 'SciSharp:master' into master 2024-06-09 12:29:00 +00:00
Haiping Chen ae4b3f4237 Upgrade EntityFrameworkCore.BootKit to v8.3 2024-06-08 12:58:57 -05:00
Jicheng Lu 2cb7bdc5a2 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-pdf-upload 2024-06-07 09:45:37 -05:00
Jicheng Lu 7ae6f3b9b2 minor change 2024-06-07 09:44:29 -05:00
Jicheng Lu ffe0e53541 remove comments 2024-06-06 23:19:50 -05:00
Jicheng Lu 102a0edc3e minor change 2024-06-06 23:16:40 -05:00
Jicheng Lu c5c7dc97d7 add pdf and image analysis 2024-06-06 23:02:10 -05:00
Jicheng Lu c1687e8c45 add file source type 2024-06-06 14:57:41 -05:00
Jicheng Lu a66df13706 add image process fn 2024-06-06 13:30:39 -05:00
Jicheng Lu 4630e6fad9 refine prompt 2024-06-06 11:01:32 -05:00
Jicheng Lu b336ef57a4 add pdf upload 2024-06-05 20:16:48 -05:00
Jicheng Lu 8d25414d76 minor change 2024-06-04 22:03:00 -05:00
Jicheng Lu 59475bfa79 refine summary prompt 2024-06-04 21:50:44 -05:00
Jicheng Lu ae8e7b270a update summary prompt 2024-06-04 11:36:38 -05:00
Jicheng Lu ac8c9749b4 remove conversation header 2024-06-04 11:33:41 -05:00
Jicheng Lu 65514f5589 fix conv file delete issue 2024-05-31 12:02:34 -05:00
Jicheng Lu efb650d92a fix user profile 2024-05-31 11:26:23 -05:00
Jicheng Lu da850ead9e minor change 2024-05-30 23:12:34 -05:00
Jicheng Lu c0cd2387a2 fix user cache 2024-05-30 22:47:07 -05:00
Haiping Chen ee9abdd66b User phone. 2024-05-30 22:24:34 -05:00
Jicheng Lu d8615ead54 minor change 2024-05-30 11:17:52 -05:00
Jicheng Lu 1a554ea15a fix user issue 2024-05-30 11:15:51 -05:00
C. Oceania f7a3a27422
Merge pull request #480 from iceljc/features/add-http-handler
Features/add http handler
2024-05-30 10:17:22 -05:00
Jicheng Lu aaf192be42 remove setting 2024-05-30 09:51:57 -05:00
Jicheng Lu b52d3b0bb1 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-http-handler 2024-05-30 09:50:11 -05:00
YouWeiDH 20bd008ceb hdong:keep same logic with name. 2024-05-30 17:11:42 +08:00
C. Oceania 9213c7fa5b
Merge branch 'SciSharp:master' into master 2024-05-28 22:41:59 -05:00
Jicheng Lu 11fa2513b1 minor change 2024-05-28 21:51:13 -05:00
Jicheng Lu 0b56a18aa6 summarize multiple conversations 2024-05-28 21:50:16 -05:00
C. Oceania 5acc6c89e8
Merge pull request #457 from iceljc/features/add-agent-user-role
Features/add agent user role
2024-05-28 20:55:25 -05:00
C. Oceania 2f5f920e2c
Merge pull request #471 from iceljc/features/add-conversation-summary
Features/add conversation summary
2024-05-28 20:55:11 -05:00
C. Oceania 9835e367d7
Merge pull request #466 from iceljc/features/add-user-avatar
user avatar
2024-05-28 20:54:52 -05:00
YouWeiDH c32c4f57b1 Merge branch 'master' into hdongDev 2024-05-28 20:00:17 +08:00
C. Oceania bcf4198791
Merge branch 'SciSharp:master' into master 2024-05-28 06:51:15 -05:00
YouWeiDH 0ffabd35aa hdong: #65. 2024-05-28 19:47:48 +08:00
Haiping Chen d6ac3c09ea Fix current agent id for routing rule. 2024-05-27 21:06:05 -05:00
Jicheng Lu 520b91507c minor change 2024-05-27 12:51:00 -05:00
Jicheng Lu 6693c7cff2 resolve conflict 2024-05-27 12:15:44 -05:00
Jicheng Lu a5dad4dee4 refine summary prompt 2024-05-27 12:12:39 -05:00
C. Oceania 1d0a7e8196
Merge pull request #472 from yileicn/master
optimize UpdateBreakPoint
2024-05-27 08:19:50 -05:00
LAPTOP-3CFGGVOS\rabbit ad7b3a41eb optimize UpdateBreakpoint 2024-05-27 21:17:50 +08:00
LAPTOP-3CFGGVOS\rabbit 245384e8d2 optimize UpdateBreakPoint 2024-05-27 20:44:01 +08:00
Jicheng Lu b8becca945 minor change 2024-05-26 22:20:56 -05:00
Jicheng Lu 6c5be6da63 clean code 2024-05-26 22:20:27 -05:00
Jicheng Lu 953a53c4bc clean code 2024-05-26 22:19:06 -05:00
Jicheng Lu 6b5d77604e add conversation summary 2024-05-26 21:30:57 -05:00
C. Oceania 76451bf47f
Merge branch 'SciSharp:master' into master 2024-05-26 20:50:16 -05:00
Jicheng Lu 24fdefce98 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-conversation-summary 2024-05-26 20:40:28 -05:00
Jicheng Lu 2a456df846 temp save 2024-05-26 20:40:24 -05:00
Jicheng Lu c49fcc5dcf minor change 2024-05-26 20:09:18 -05:00
Haiping Chen e8656a99c0 Add new user verification code. 2024-05-25 20:34:29 -05:00
Haiping Chen f584c3190f Fix UserService. 2024-05-23 07:05:36 -05:00
Jicheng Lu 948a3981a6 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-user-avatar 2024-05-22 10:39:11 -05:00
Jicheng Lu 9dad9ae80b split file service 2024-05-22 10:39:04 -05:00
C. Oceania 3fd43964b7
Merge branch 'SciSharp:master' into master 2024-05-22 09:47:22 -05:00
C. Oceania e75fd5db12
Merge pull request #469 from yileicn/master
Update TranslationService.cs
2024-05-22 07:22:58 -05:00
易磊 80a60b23eb
Update TranslationService.cs
add using
2024-05-22 20:12:15 +08:00
易磊 6f8c840dcd
Update translation_prompt.liquid
optimize translation prompt
1.Enrich the translation examples.
2.Add necessary validation conditions for "output_count".
2024-05-22 15:08:13 +08:00
易磊 adc6486345
Update TranslationService.cs
hotfix json escaped question
error:
[ERR] [] '<' is not a hex digit following '\u' within a JSON string. The string should be correctly escaped. Path: $.texts[0].text | LineNumber: 0 | BytePositionInLine: 411.

json:
{"input_lang":"English", "output_count":3, "output_lang":"Spanish", "texts":[{"id":1,"text":"Aquí hay un resumen de los horarios que ha indicado que está disponible. Las fechas no están confirmadas. El técnico revisará y se pondrá en contacto para programar.\u003Cp\u003E\u003Cb\u003EJueves, 23 de mayo de 2024\u003C/b\u003E\u003C/br\u003ETodo el día (08:00 AM - 08:00 PM)\u003C/p\u003E\u003Cp\u003E\u003<b>Viernes, 24 de mayo de 2024\u003C/b\u003E\u003C/br\u003EMañana (08:00 AM - 01:00 PM)\u003C/p\u003E\u003Cp\u003E\u003<b>Lunes, 27 de mayo de 2024\u003C/b\u003E\u003C/br\u003ETarde (01:00 PM - 08:00 PM)\u003C/p\u003E"},{"id":2,"text":"Se ve bien"},{"id":3,"text":"Empezar de nuevo"}]}
2024-05-22 14:53:36 +08:00
Jicheng Lu c93511065a refine file storage 2024-05-21 23:33:31 -05:00
Haiping Chen 343f3b91ab Retry language translation. 2024-05-21 22:07:26 -05:00
Jicheng Lu effd44eb7c add agent delete 2024-05-21 15:55:12 -05:00
Haiping Chen 6a0a400500 Fix SSE response format. 2024-05-21 12:02:06 -05:00
Jicheng Lu 02f4cbd6a1 merge with dev 2024-05-21 11:19:06 -05:00
Jicheng Lu 8a8e7d0726 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-http-handler 2024-05-21 10:03:14 -05:00