@lobehub/chat 1.28.6 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/locales/ar/chat.json +1 -0
- package/locales/ar/setting.json +7 -2
- package/locales/bg-BG/chat.json +1 -0
- package/locales/bg-BG/setting.json +7 -2
- package/locales/de-DE/chat.json +1 -0
- package/locales/de-DE/setting.json +7 -2
- package/locales/en-US/chat.json +1 -0
- package/locales/en-US/setting.json +7 -2
- package/locales/es-ES/chat.json +1 -0
- package/locales/es-ES/setting.json +7 -2
- package/locales/fa-IR/chat.json +1 -0
- package/locales/fa-IR/setting.json +7 -2
- package/locales/fr-FR/chat.json +1 -0
- package/locales/fr-FR/setting.json +7 -2
- package/locales/it-IT/chat.json +1 -0
- package/locales/it-IT/setting.json +7 -2
- package/locales/ja-JP/chat.json +1 -0
- package/locales/ja-JP/setting.json +7 -2
- package/locales/ko-KR/chat.json +1 -0
- package/locales/ko-KR/setting.json +7 -2
- package/locales/nl-NL/chat.json +1 -0
- package/locales/nl-NL/setting.json +7 -2
- package/locales/pl-PL/chat.json +1 -0
- package/locales/pl-PL/setting.json +7 -2
- package/locales/pt-BR/chat.json +1 -0
- package/locales/pt-BR/setting.json +7 -2
- package/locales/ru-RU/chat.json +1 -0
- package/locales/ru-RU/setting.json +7 -2
- package/locales/tr-TR/chat.json +1 -0
- package/locales/tr-TR/setting.json +7 -2
- package/locales/vi-VN/chat.json +1 -0
- package/locales/vi-VN/setting.json +7 -2
- package/locales/zh-CN/chat.json +1 -0
- package/locales/zh-CN/setting.json +7 -2
- package/locales/zh-TW/chat.json +1 -0
- package/locales/zh-TW/setting.json +7 -2
- package/package.json +1 -1
- package/src/app/(main)/settings/system-agent/index.tsx +1 -0
- package/src/chains/__tests__/__snapshots__/summaryHistory.test.ts.snap +21 -0
- package/src/chains/__tests__/summaryHistory.test.ts +24 -0
- package/src/chains/summaryHistory.ts +19 -0
- package/src/const/settings/agent.ts +3 -1
- package/src/const/settings/systemAgent.ts +1 -0
- package/src/database/client/models/__tests__/session.test.ts +0 -1
- package/src/database/server/migrations/0011_add_topic_history_summary.sql +2 -0
- package/src/database/server/migrations/meta/0011_snapshot.json +3196 -0
- package/src/database/server/migrations/meta/_journal.json +7 -0
- package/src/database/server/models/__tests__/topic.test.ts +4 -0
- package/src/database/server/models/topic.ts +2 -0
- package/src/database/server/schemas/lobechat/topic.ts +3 -2
- package/src/features/AgentSetting/AgentChat/index.tsx +4 -18
- package/src/features/ChatInput/ActionBar/History.tsx +24 -21
- package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +22 -7
- package/src/features/Conversation/Actions/index.ts +2 -2
- package/src/features/Conversation/components/ChatItem/index.tsx +6 -6
- package/src/features/Conversation/components/History/index.tsx +71 -0
- package/src/features/Conversation/types/index.tsx +1 -1
- package/src/features/Portal/Artifacts/Body/Renderer/React/index.tsx +1 -0
- package/src/locales/default/chat.ts +1 -0
- package/src/locales/default/setting.ts +7 -2
- package/src/prompts/chatMessages/index.test.ts +94 -0
- package/src/prompts/chatMessages/index.ts +11 -0
- package/src/prompts/systemRole/index.ts +22 -0
- package/src/server/routers/lambda/topic.ts +7 -0
- package/src/services/__tests__/chat.test.ts +13 -61
- package/src/services/chat.ts +45 -11
- package/src/store/agent/slices/chat/__snapshots__/selectors.test.ts.snap +3 -1
- package/src/store/chat/helpers.ts +6 -2
- package/src/store/chat/slices/aiChat/actions/generateAIChat.ts +21 -8
- package/src/store/chat/slices/aiChat/actions/helpers.ts +9 -0
- package/src/store/chat/slices/aiChat/actions/index.ts +3 -1
- package/src/store/chat/slices/aiChat/actions/memory.ts +52 -0
- package/src/store/chat/slices/message/selectors.ts +1 -3
- package/src/store/chat/slices/topic/selectors.ts +24 -12
- package/src/store/chat/slices/{enchance → translate}/action.test.ts +0 -13
- package/src/store/chat/slices/{enchance → translate}/action.ts +5 -24
- package/src/store/chat/slices/tts/action.test.ts +63 -0
- package/src/store/chat/slices/tts/action.ts +35 -0
- package/src/store/chat/store.ts +6 -3
- package/src/store/file/reducers/uploadFileList.test.ts +197 -0
- package/src/store/user/slices/settings/selectors/__snapshots__/settings.test.ts.snap +3 -1
- package/src/store/user/slices/settings/selectors/systemAgent.ts +2 -0
- package/src/types/agent/index.ts +2 -4
- package/src/types/topic.ts +13 -0
- package/src/types/user/settings/systemAgent.ts +1 -0
- package/src/utils/tokenizer/client.ts +1 -1
- /package/src/features/Conversation/components/{ChatItem → History}/HistoryDivider.tsx +0 -0
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,56 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.29.1](https://github.com/lobehub/lobe-chat/compare/v1.29.0...v1.29.1)
|
6
|
+
|
7
|
+
<sup>Released on **2024-11-09**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Fix topic summary field on server db.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### What's fixed
|
19
|
+
|
20
|
+
- **misc**: Fix topic summary field on server db, closes [#4655](https://github.com/lobehub/lobe-chat/issues/4655) ([ce10f9a](https://github.com/lobehub/lobe-chat/commit/ce10f9a))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
30
|
+
## [Version 1.29.0](https://github.com/lobehub/lobe-chat/compare/v1.28.6...v1.29.0)
|
31
|
+
|
32
|
+
<sup>Released on **2024-11-09**</sup>
|
33
|
+
|
34
|
+
#### ✨ Features
|
35
|
+
|
36
|
+
- **misc**: Support compress history messages.
|
37
|
+
|
38
|
+
<br/>
|
39
|
+
|
40
|
+
<details>
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
42
|
+
|
43
|
+
#### What's improved
|
44
|
+
|
45
|
+
- **misc**: Support compress history messages, closes [#4639](https://github.com/lobehub/lobe-chat/issues/4639) ([145bbb4](https://github.com/lobehub/lobe-chat/commit/145bbb4))
|
46
|
+
|
47
|
+
</details>
|
48
|
+
|
49
|
+
<div align="right">
|
50
|
+
|
51
|
+
[](#readme-top)
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
5
55
|
### [Version 1.28.6](https://github.com/lobehub/lobe-chat/compare/v1.28.5...v1.28.6)
|
6
56
|
|
7
57
|
<sup>Released on **2024-11-09**</sup>
|
package/locales/ar/chat.json
CHANGED
package/locales/ar/setting.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "هل يجب إنشاء موضوع تلقائيًا أثناء الدردشة، يسري ذلك فقط في المواضيع المؤقتة",
|
176
176
|
"title": "تمكين إنشاء الموضوع تلقائيًا"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "تفعيل تلخيص الرسائل التاريخية تلقائيًا"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "غير محدود",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "أدخل كلمة الموجه المخصصة",
|
379
379
|
"title": "كلمة الموجه المخصصة"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "نموذج تاريخ المحادثة",
|
383
|
+
"modelDesc": "حدد النموذج المستخدم لضغط تاريخ المحادثة",
|
384
|
+
"title": "تلخيص تلقائي لتاريخ المحادثة"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "نموذج إعادة صياغة الأسئلة",
|
383
388
|
"modelDesc": "نموذج مخصص لتحسين أسئلة المستخدمين",
|
package/locales/bg-BG/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Дали да се създава автоматично тема по време на разговора, ефективно само във временни теми",
|
176
176
|
"title": "Автоматично създаване на тема"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "Активиране на
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Активиране на автоматично обобщаване на историята на съобщенията"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Неограничен",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Моля, въведете персонализирана подканва",
|
379
379
|
"title": "Персонализирана подканва"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Модел на история на сесията",
|
383
|
+
"modelDesc": "Определете модела, използван за компресиране на историята на сесията",
|
384
|
+
"title": "Автоматично обобщаване на историята на сесията"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Модел за пренаписване на запитвания",
|
383
388
|
"modelDesc": "Определя модел за оптимизиране на запитванията на потребителите",
|
package/locales/de-DE/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Automatische Erstellung eines Themas während des Gesprächs, nur in temporären Themen aktiv",
|
176
176
|
"title": "Automatische Themen-Erstellung aktivieren"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Automatische Zusammenfassung der Verlaufnachrichten aktivieren"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Unbegrenzt",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Bitte benutzerdefinierte Eingabe eingeben",
|
379
379
|
"title": "Benutzerdefinierte Eingabe"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Gesprächshistorienmodell",
|
383
|
+
"modelDesc": "Das Modell, das zur Komprimierung der Gesprächshistorie verwendet wird",
|
384
|
+
"title": "Automatische Zusammenfassung der Gesprächshistorie"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Fragenumformulierung Modell",
|
383
388
|
"modelDesc": "Modell zur Optimierung der Benutzeranfragen",
|
package/locales/en-US/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Whether to automatically create a topic during the conversation, only effective in temporary topics",
|
176
176
|
"title": "Auto Create Topic"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "Enable
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Enable Automatic Summary of Chat History"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Unlimited",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Please enter custom prompt",
|
379
379
|
"title": "Custom Prompt"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Conversation History Model",
|
383
|
+
"modelDesc": "Specify the model used to compress conversation history",
|
384
|
+
"title": "Automatically Summarize Conversation History"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Question Rewriting Model",
|
383
388
|
"modelDesc": "Specify the model used to optimize user inquiries",
|
package/locales/es-ES/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Indica si se debe crear automáticamente un tema durante la conversación, solo se aplica en temas temporales",
|
176
176
|
"title": "Crear tema automáticamente"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "Activar
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Activar resumen automático de mensajes históricos"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Sin límite",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Introduce la palabra clave personalizada",
|
379
379
|
"title": "Palabra clave personalizada"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Modelo de historial de conversación",
|
383
|
+
"modelDesc": "Especifica el modelo utilizado para comprimir el historial de conversación",
|
384
|
+
"title": "Resumen automático del historial de conversación"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Modelo de reescritura de preguntas",
|
383
388
|
"modelDesc": "Modelo designado para optimizar las preguntas de los usuarios",
|
package/locales/fa-IR/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "آیا در طول مکالمه بهطور خودکار موضوع ایجاد شود، فقط در موضوعات موقت اعمال میشود",
|
176
176
|
"title": "ایجاد خودکار موضوع"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "فعالسازی خلاصهسازی خودکار تاریخچه پیامها"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "بدون محدودیت",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "لطفاً اعلان سفارشی خود را وارد کنید",
|
379
379
|
"title": "اعلان سفارشی"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "مدل تاریخچه گفتگو",
|
383
|
+
"modelDesc": "مدلی که برای فشردهسازی تاریخچه گفتگو استفاده میشود",
|
384
|
+
"title": "خلاصهسازی خودکار تاریخچه گفتگو"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "مدل بازنویسی پرسش",
|
383
388
|
"modelDesc": "مدلی که برای بهینهسازی پرسشهای کاربران استفاده میشود",
|
package/locales/fr-FR/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Activer la création automatique de sujets pendant la conversation, uniquement valable pour les sujets temporaires",
|
176
176
|
"title": "Activer la création automatique de sujets"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "Activer le
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Activer le résumé automatique des messages historiques"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Illimité",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Veuillez entrer le mot-clé personnalisé",
|
379
379
|
"title": "Mot-clé personnalisé"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Modèle d'historique de conversation",
|
383
|
+
"modelDesc": "Modèle utilisé pour compresser l'historique des conversations",
|
384
|
+
"title": "Résumé automatique de l'historique des conversations"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Modèle de reformulation des questions",
|
383
388
|
"modelDesc": "Modèle utilisé pour optimiser les questions des utilisateurs",
|
package/locales/it-IT/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Se creare automaticamente un argomento durante la conversazione, valido solo per le conversazioni temporanee",
|
176
176
|
"title": "Abilita la creazione automatica di argomenti"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Attiva il riassunto automatico della cronologia dei messaggi"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Illimitato",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Inserisci il suggerimento personalizzato",
|
379
379
|
"title": "Suggerimento personalizzato"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Modello di storia delle conversazioni",
|
383
|
+
"modelDesc": "Specifica il modello utilizzato per comprimere la storia delle conversazioni",
|
384
|
+
"title": "Riepilogo automatico della storia delle conversazioni"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Modello di riscrittura delle domande",
|
383
388
|
"modelDesc": "Modello specificato per ottimizzare le domande degli utenti",
|
package/locales/ja-JP/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "会話中に自動的にトピックを作成するかどうか。一時的なトピックのみ有効です",
|
176
176
|
"title": "自動的にトピックを作成する"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "履歴メッセージの自動要約を有効にする"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "制限なし",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "カスタムプロンプトを入力してください",
|
379
379
|
"title": "カスタムプロンプト"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "会話履歴モデル",
|
383
|
+
"modelDesc": "会話履歴を圧縮するために指定されたモデル",
|
384
|
+
"title": "会話履歴の自動要約"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "質問リライトモデル",
|
383
388
|
"modelDesc": "ユーザーの質問を最適化するために指定されたモデル",
|
package/locales/ko-KR/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "대화 중에 자동으로 주제를 만들지 여부를 설정합니다. 일시적인 주제에서만 작동합니다",
|
176
176
|
"title": "자동 주제 생성 활성화"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "역사 메시지 자동 요약 활성화"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "제한 없음",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "사용자 정의 프롬프트 입력",
|
379
379
|
"title": "사용자 정의 프롬프트"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "대화 기록 모델",
|
383
|
+
"modelDesc": "대화 기록 압축에 사용되는 모델을 지정합니다",
|
384
|
+
"title": "대화 기록 자동 요약"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "질문 재작성 모델",
|
383
388
|
"modelDesc": "사용자의 질문을 최적화하는 데 사용되는 모델 지정",
|
package/locales/nl-NL/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Automatisch een onderwerp maken tijdens het gesprek, alleen van toepassing op tijdelijke onderwerpen",
|
176
176
|
"title": "Automatisch onderwerp maken"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Automatisch samenvatten van historische berichten inschakelen"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Onbeperkt",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Voer aangepaste prompt in",
|
379
379
|
"title": "Aangepaste prompt"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Gespreksgeschiedenismodel",
|
383
|
+
"modelDesc": "Specificeer het model dat wordt gebruikt voor het comprimeren van gespreksgeschiedenis",
|
384
|
+
"title": "Automatisch samenvatten van gespreksgeschiedenis"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Vraag herschrijvingsmodel",
|
383
388
|
"modelDesc": "Model dat is opgegeven voor het optimaliseren van gebruikersvragen",
|
package/locales/pl-PL/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Automatyczne tworzenie tematu podczas rozmowy, działa tylko w przypadku tymczasowych tematów",
|
176
176
|
"title": "Automatyczne tworzenie tematu"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "Włącz
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Włącz automatyczne podsumowywanie historii wiadomości"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Bez limitu",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Wprowadź niestandardowe słowo podpowiedzi",
|
379
379
|
"title": "Niestandardowe słowo podpowiedzi"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Model historii rozmów",
|
383
|
+
"modelDesc": "Model używany do kompresji historii rozmów",
|
384
|
+
"title": "Automatyczne podsumowanie historii rozmów"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Model przekształcania zapytań",
|
383
388
|
"modelDesc": "Model używany do optymalizacji zapytań użytkowników",
|
package/locales/pt-BR/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Se deve criar automaticamente um tópico durante a conversa, apenas válido em tópicos temporários",
|
176
176
|
"title": "Criar tópico automaticamente"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "Ativar
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Ativar resumo automático de mensagens históricas"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Sem limite",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Digite a palavra-chave personalizada",
|
379
379
|
"title": "Palavra-chave personalizada"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Modelo de Histórico de Conversa",
|
383
|
+
"modelDesc": "Especifica o modelo usado para comprimir o histórico de conversa",
|
384
|
+
"title": "Resumo Automático do Histórico de Conversa"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Modelo de Reescrita de Perguntas",
|
383
388
|
"modelDesc": "Modelo designado para otimizar as perguntas dos usuários",
|
package/locales/ru-RU/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Автоматическое создание темы во время беседы, работает только во временных темах",
|
176
176
|
"title": "Автоматическое создание темы"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "Включить
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Включить автоматическое резюмирование истории сообщений"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Без ограничений",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Введите пользовательский запрос",
|
379
379
|
"title": "Пользовательский запрос"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Модель истории беседы",
|
383
|
+
"modelDesc": "Укажите модель, используемую для сжатия истории беседы",
|
384
|
+
"title": "Автоматическое резюмирование истории беседы"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Модель переформулирования вопросов",
|
383
388
|
"modelDesc": "Модель, предназначенная для оптимизации вопросов пользователей",
|
package/locales/tr-TR/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Sohbet sırasında otomatik olarak bir konu oluşturup oluşturmayacağınız, yalnızca geçici konularda etkilidir",
|
176
176
|
"title": "Otomatik Konu Oluştur"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "Geçmiş
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Geçmiş mesajların otomatik özetini aç"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Sınırsız",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Lütfen özel ipucu kelimelerini girin",
|
379
379
|
"title": "Özel İpucu"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Oturum Geçmişi Modeli",
|
383
|
+
"modelDesc": "Oturum geçmişini sıkıştırmak için kullanılan modeli belirtin",
|
384
|
+
"title": "Oturum Geçmişini Otomatik Olarak Özetle"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Soru Yeniden Yazım Modeli",
|
383
388
|
"modelDesc": "Kullanıcı sorularını optimize etmek için kullanılan model",
|
package/locales/vi-VN/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "Có tự động tạo chủ đề trong quá trình trò chuyện hay không, chỉ áp dụng trong chủ đề tạm thời",
|
176
176
|
"title": "Tự động tạo chủ đề"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "Bật
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "Bật tóm tắt tự động lịch sử tin nhắn"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "Không giới hạn",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "Nhập từ gợi ý tùy chỉnh",
|
379
379
|
"title": "Từ gợi ý tùy chỉnh"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "Mô hình lịch sử cuộc trò chuyện",
|
383
|
+
"modelDesc": "Chỉ định mô hình được sử dụng để nén lịch sử cuộc trò chuyện",
|
384
|
+
"title": "Tóm tắt tự động lịch sử cuộc trò chuyện"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "Mô hình viết lại câu hỏi",
|
383
388
|
"modelDesc": "Mô hình được chỉ định để tối ưu hóa câu hỏi của người dùng",
|
package/locales/zh-CN/chat.json
CHANGED
@@ -175,8 +175,8 @@
|
|
175
175
|
"desc": "会话过程中是否自动创建话题,仅在临时话题中生效",
|
176
176
|
"title": "自动创建话题"
|
177
177
|
},
|
178
|
-
"
|
179
|
-
"title": "
|
178
|
+
"enableCompressHistory": {
|
179
|
+
"title": "开启历史消息自动总结"
|
180
180
|
},
|
181
181
|
"enableHistoryCount": {
|
182
182
|
"alias": "不限制",
|
@@ -378,6 +378,11 @@
|
|
378
378
|
"placeholder": "请输入自定义提示词",
|
379
379
|
"title": "自定义提示词"
|
380
380
|
},
|
381
|
+
"historyCompress": {
|
382
|
+
"label": "会话历史模型",
|
383
|
+
"modelDesc": "指定用于压缩会话历史的模型",
|
384
|
+
"title": "自动总结会话历史"
|
385
|
+
},
|
381
386
|
"queryRewrite": {
|
382
387
|
"label": "提问重写模型",
|
383
388
|
"modelDesc": "指定用于优化用户提问的模型",
|