Commit graph

818 commits

Author SHA1 Message Date
LAPTOP-3CFGGVOS\rabbit 245384e8d2 optimize UpdateBreakPoint 2024-05-27 20:44:01 +08:00
易磊 80a60b23eb
Update TranslationService.cs
add using
2024-05-22 20:12:15 +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
Haiping Chen 343f3b91ab Retry language translation. 2024-05-21 22:07:26 -05:00
Haiping Chen 6a0a400500 Fix SSE response format. 2024-05-21 12:02:06 -05:00
Haiping Chen 2147d69ecf translation improvement. 2024-05-20 21:13:12 -05:00
hchen2020 a538f9d338
Merge branch 'SciSharp:master' into master 2024-05-20 12:55:59 -05:00
Haiping Chen efdf5a30da Improve translation. 2024-05-20 12:54:38 -05:00
C. Oceania 186cdad2c6
Merge pull request #461 from iceljc/bugfix/refine-login
refine log in
2024-05-20 12:00:03 -05:00
Jicheng Lu b35f0e6536 refine log in 2024-05-20 11:35:45 -05:00
Jicheng Lu 9859243868 add default model 2024-05-17 11:35:20 -05:00
Haiping Chen 57122f7833 Fix llm selection bug. 2024-05-16 16:32:58 -05:00
C. Oceania d02b16d4d7
Merge pull request #456 from iceljc/features/add-conversation-user
Features/add conversation user
2024-05-15 14:37:01 -05:00
C. Oceania 3bf73bec4a
Update RoutingService.cs 2024-05-15 14:32:59 -05:00
C. Oceania 842f1e788e
Update translation_prompt.liquid 2024-05-15 14:09:38 -05:00
Jicheng Lu 2a9b5ec0c8 minor change 2024-05-15 11:23:29 -05:00
Jicheng Lu 6fba6c8e76 add conv user endpoint 2024-05-15 11:23:02 -05:00
C. Oceania d305e42cac
Merge pull request #454 from iceljc/features/add-fetch-conv-files
add chat files
2024-05-15 07:20:48 -05:00
C. Oceania c29e76c184
Update TranslationService.cs 2024-05-14 15:28:24 -05:00
hchen2020 419b1be6d0
Merge branch 'SciSharp:master' into master 2024-05-14 15:14:37 -05:00
Jicheng Lu d33e0f6918 change model id 2024-05-14 15:10:21 -05:00
Haiping Chen 535e20ea90 Fix map key. 2024-05-14 14:47:36 -05:00
Jicheng Lu 971018ba50 remove error message 2024-05-14 14:30:27 -05:00
Haiping Chen ed9e6457fe Fix translation issue. 2024-05-14 13:45:20 -05:00
Jicheng Lu 3d3359cb95 filter by model id and multi-modal 2024-05-14 13:34:10 -05:00
Jicheng Lu 7e908d3386 add comment 2024-05-14 11:55:11 -05:00
Jicheng Lu 83a78d2b5a add instruct multi modal 2024-05-14 11:51:39 -05:00
Jicheng Lu f3bbb0259f remove test code 2024-05-14 10:14:08 -05:00
Jicheng Lu c2554509ae Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-fetch-conv-files 2024-05-13 16:54:18 -05:00
Jicheng Lu f9e63097a9 add chat files 2024-05-13 16:53:41 -05:00
Haiping Chen 1e882e41b2 Sort order 2024-05-13 16:09:53 -05:00
Haiping Chen 6024a53476 Add Sort parameter to Pagination. 2024-05-13 16:00:39 -05:00
Jicheng Lu 8c2b77b45d change name 2024-05-13 11:51:33 -05:00
Jicheng Lu 3b68ef75b6 fix truncate breakpoint 2024-05-13 11:32:11 -05:00
Haiping Chen d12954824b All exclude some states when cleaning states. 2024-05-13 08:58:26 -05:00
Haiping Chen 434b7a68e7 Upgrade LLamaSharp to v0.12 2024-05-13 08:57:39 -05:00
Haiping Chen e620d5d161 Not set language if exists. 2024-05-10 21:59:51 -05:00
Haiping Chen 07dc85375e Add Description to ElementButton 2024-05-10 21:31:16 -05:00
Haiping Chen 5699842b49 Save payload only when it's not empty. 2024-05-10 18:27:41 -05:00
Haiping Chen 41da7d6627 Remove language detection from router. 2024-05-10 17:48:55 -05:00
Jicheng Lu 8ce51d4f6f fix invoke function 2024-05-10 14:29:46 -05:00
Jicheng Lu 3dbdcb595d Merge branch 'master' of https://github.com/SciSharp/BotSharp into bugfix/fix-log-order 2024-05-09 21:37:43 -05:00
Jicheng Lu 4ca70dfdf0 fix log order 2024-05-09 21:37:32 -05:00
C. Oceania 2fca75d9d8
Merge pull request #449 from iceljc/features/add-agent-template-update
add agent template update endpoint
2024-05-09 17:53:10 -05:00
Jicheng Lu 1360adbb46 add agent template update endpoint 2024-05-09 17:06:03 -05:00
C. Oceania 9a93fd10e6
Update RoutingArgs.cs 2024-05-09 16:30:30 -05:00
Haiping Chen 76dc9080ad Fix translator. 2024-05-09 15:59:59 -05:00
C. Oceania bdcf8c5a2a
Update TranslationResponseHook.cs 2024-05-09 12:11:30 -05:00
Haiping Chen f97cb0e8a4 Fix translation plugin. 2024-05-09 11:09:21 -05:00
LAPTOP-3CFGGVOS\rabbit 346fab1859 optimize translation 2024-05-09 23:05:21 +08:00