diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index f8050030a..b70430c50 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -357,7 +357,7 @@ if (inputFiles && inputFiles.length > 0) { inputFiles.forEach((file) => { console.log(file, file.name.split('.').at(-1)); - if (['image/gif', 'image/jpeg', 'image/png'].includes(file['type'])) { + if (['image/gif', 'image/webp', 'image/jpeg', 'image/png'].includes(file['type'])) { let reader = new FileReader(); reader.onload = (event) => { files = [ @@ -547,7 +547,9 @@ if (inputFiles && inputFiles.length > 0) { const _inputFiles = Array.from(inputFiles); _inputFiles.forEach((file) => { - if (['image/gif', 'image/jpeg', 'image/png'].includes(file['type'])) { + if ( + ['image/gif', 'image/webp', 'image/jpeg', 'image/png'].includes(file['type']) + ) { let reader = new FileReader(); reader.onload = (event) => { files = [ @@ -996,7 +998,7 @@ id="send-message-button" class="{prompt !== '' ? 'bg-black text-white hover:bg-gray-900 dark:bg-white dark:text-black dark:hover:bg-gray-100 ' - : 'text-white bg-gray-100 dark:text-gray-900 dark:bg-gray-800 disabled'} transition rounded-full p-1.5 self-center" + : 'text-white bg-gray-200 dark:text-gray-900 dark:bg-gray-700 disabled'} transition rounded-full p-1.5 self-center" type="submit" disabled={prompt === ''} > diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index b99ebc172..1a9ca373f 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -1,7 +1,7 @@ + +
+
+ {#each Object.keys(groupedMessages) as model} + {#if groupedMessagesIdx[model] !== undefined && groupedMessages[model].messages.length > 0} + + + +
{ + currentMessageId = groupedMessages[model].messages[groupedMessagesIdx[model]].id; + + let messageId = groupedMessages[model].messages[groupedMessagesIdx[model]].id; + + console.log(messageId); + let messageChildrenIds = history.messages[messageId].childrenIds; + + while (messageChildrenIds.length !== 0) { + messageId = messageChildrenIds.at(-1); + messageChildrenIds = history.messages[messageId].childrenIds; + } + + history.currentId = messageId; + dispatch('change'); + }} + > + m.id)} + isLastMessage={true} + {updateChatMessages} + {confirmEditResponseMessage} + showPreviousMessage={() => { + groupedMessagesIdx[model] = Math.max(0, groupedMessagesIdx[model] - 1); + let messageId = groupedMessages[model].messages[groupedMessagesIdx[model]].id; + + console.log(messageId); + let messageChildrenIds = history.messages[messageId].childrenIds; + + while (messageChildrenIds.length !== 0) { + messageId = messageChildrenIds.at(-1); + messageChildrenIds = history.messages[messageId].childrenIds; + } + + history.currentId = messageId; + + dispatch('change'); + }} + showNextMessage={() => { + groupedMessagesIdx[model] = Math.min( + groupedMessages[model].messages.length - 1, + groupedMessagesIdx[model] + 1 + ); + + let messageId = groupedMessages[model].messages[groupedMessagesIdx[model]].id; + console.log(messageId); + + let messageChildrenIds = history.messages[messageId].childrenIds; + + while (messageChildrenIds.length !== 0) { + messageId = messageChildrenIds.at(-1); + messageChildrenIds = history.messages[messageId].childrenIds; + } + + history.currentId = messageId; + + dispatch('change'); + }} + {rateMessage} + {copyToClipboard} + {continueGeneration} + regenerateResponse={async (message) => { + regenerateResponse(message); + await tick(); + groupedMessagesIdx[model] = groupedMessages[model].messages.length - 1; + }} + on:save={async (e) => { + console.log('save', e); + + const message = e.detail; + history.messages[message.id] = message; + await updateChatById(localStorage.token, chatId, { + messages: messages, + history: history + }); + }} + /> +
+ {/if} + {/each} +
+
diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 731af8edf..71227989b 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -69,7 +69,7 @@ let selectedCitation = null; - $: tokens = marked.lexer(sanitizeResponseContent(message.content)); + $: tokens = marked.lexer(sanitizeResponseContent(message?.content)); const renderer = new marked.Renderer(); @@ -499,7 +499,7 @@ class=" flex justify-start overflow-x-auto buttons text-gray-600 dark:text-gray-500" > {#if siblings.length > 1} -
+
{siblings.indexOf(message.id) + 1}/{siblings.length}
@@ -894,7 +894,9 @@ class="{isLastMessage ? 'visible' : 'invisible group-hover:visible'} p-1.5 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg dark:hover:text-white hover:text-black transition regenerate-response-button" - on:click={regenerateResponse} + on:click={() => { + regenerateResponse(message); + }} > 0 && - ['image/gif', 'image/jpeg', 'image/png'].includes(files[0]['type']) + ['image/gif', 'image/webp', 'image/jpeg', 'image/png'].includes(files[0]['type']) ) { reader.readAsDataURL(files[0]); } diff --git a/src/lib/i18n/locales/ar-BH/translation.json b/src/lib/i18n/locales/ar-BH/translation.json index 158e3a6b8..e98bc93c5 100644 --- a/src/lib/i18n/locales/ar-BH/translation.json +++ b/src/lib/i18n/locales/ar-BH/translation.json @@ -10,6 +10,7 @@ "About": "عن", "Account": "الحساب", "Accurate information": "معلومات دقيقة", + "Add": "", "Add a model": "أضافة موديل", "Add a model tag name": "ضع تاق للأسم الموديل", "Add a short description about what this modelfile does": "أضف وصفًا قصيرًا حول ما يفعله ملف الموديل هذا", @@ -18,6 +19,7 @@ "Add custom prompt": "أضافة مطالبة مخصصه", "Add Docs": "إضافة المستندات", "Add Files": "إضافة ملفات", + "Add Memory": "", "Add message": "اضافة رسالة", "Add Model": "اضافة موديل", "Add Tags": "اضافة تاق", @@ -47,6 +49,7 @@ "Archived Chats": "الأرشيف المحادثات", "are allowed - Activate this command by typing": "مسموح - قم بتنشيط هذا الأمر عن طريق الكتابة", "Are you sure?": "هل أنت متأكد ؟", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "أرفق ملف", "Attention to detail": "انتبه للتفاصيل", "Audio": "صوتي", @@ -60,7 +63,6 @@ "Bad Response": "استجابة خطاء", "before": "قبل", "Being lazy": "كون كسول", - "Beta": "", "Builder Mode": "بناء الموديل", "Bypass SSL verification for Websites": "", "Cancel": "اللغاء", @@ -170,6 +172,7 @@ "Enabled": "تفعيل", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "تأكد من أن ملف CSV الخاص بك يتضمن 4 أعمدة بهذا الترتيب: Name, Email, Password, Role.", "Enter {{role}} message here": "أدخل رسالة {{role}} هنا", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "أدخل Chunk المتداخل", "Enter Chunk Size": "أدخل Chunk الحجم", "Enter Image Size (e.g. 512x512)": "(e.g. 512x512) أدخل حجم الصورة ", @@ -475,6 +478,7 @@ "variable": "المتغير", "variable to have them replaced with clipboard content.": "متغير لاستبدالها بمحتوى الحافظة.", "Version": "إصدار", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "تحذير: إذا قمت بتحديث أو تغيير نموذج التضمين الخاص بك، فستحتاج إلى إعادة استيراد كافة المستندات.", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/bg-BG/translation.json b/src/lib/i18n/locales/bg-BG/translation.json index 8e34995cc..95d0b9dcd 100644 --- a/src/lib/i18n/locales/bg-BG/translation.json +++ b/src/lib/i18n/locales/bg-BG/translation.json @@ -10,6 +10,7 @@ "About": "Относно", "Account": "Акаунт", "Accurate information": "", + "Add": "", "Add a model": "Добавяне на модел", "Add a model tag name": "Добавяне на име на таг за модел", "Add a short description about what this modelfile does": "Добавяне на кратко описание за това какво прави този модфайл", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Добавяне на Документи", "Add Files": "Добавяне на Файлове", + "Add Memory": "", "Add message": "Добавяне на съобщение", "Add Model": "", "Add Tags": "добавяне на тагове", @@ -47,6 +49,7 @@ "Archived Chats": "", "are allowed - Activate this command by typing": "са разрешени - Активирайте тази команда чрез въвеждане", "Are you sure?": "Сигурни ли сте?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Аудио", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Режим на Създаване", "Bypass SSL verification for Websites": "", "Cancel": "Отказ", @@ -170,6 +172,7 @@ "Enabled": "Включено", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Въведете съобщение за {{role}} тук", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Въведете Chunk Overlap", "Enter Chunk Size": "Въведете Chunk Size", "Enter Image Size (e.g. 512x512)": "Въведете размер на изображението (напр. 512x512)", @@ -475,6 +478,7 @@ "variable": "променлива", "variable to have them replaced with clipboard content.": "променливи да се заменят съдържанието от клипборд.", "Version": "Версия", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Уеб", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/bn-BD/translation.json b/src/lib/i18n/locales/bn-BD/translation.json index b8d8f6369..1d19c57b1 100644 --- a/src/lib/i18n/locales/bn-BD/translation.json +++ b/src/lib/i18n/locales/bn-BD/translation.json @@ -10,6 +10,7 @@ "About": "সম্পর্কে", "Account": "একাউন্ট", "Accurate information": "", + "Add": "", "Add a model": "একটি মডেল যোগ করুন", "Add a model tag name": "একটি মডেল ট্যাগ যোগ করুন", "Add a short description about what this modelfile does": "এই মডেলফাইলটির সম্পর্কে সংক্ষিপ্ত বিবরণ যোগ করুন", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "ডকুমেন্ট যোগ করুন", "Add Files": "ফাইল যোগ করুন", + "Add Memory": "", "Add message": "মেসেজ যোগ করুন", "Add Model": "", "Add Tags": "ট্যাগ যোগ করুন", @@ -47,6 +49,7 @@ "Archived Chats": "চ্যাট ইতিহাস সংরক্ষণাগার", "are allowed - Activate this command by typing": "অনুমোদিত - কমান্ডটি চালু করার জন্য লিখুন", "Are you sure?": "আপনি নিশ্চিত?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "অডিও", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "বিল্ডার মোড", "Bypass SSL verification for Websites": "", "Cancel": "বাতিল", @@ -170,6 +172,7 @@ "Enabled": "চালু করা হয়েছে", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "{{role}} মেসেজ এখানে লিখুন", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "চাঙ্ক ওভারল্যাপ লিখুন", "Enter Chunk Size": "চাংক সাইজ লিখুন", "Enter Image Size (e.g. 512x512)": "ছবির মাপ লিখুন (যেমন 512x512)", @@ -475,6 +478,7 @@ "variable": "ভেরিয়েবল", "variable to have them replaced with clipboard content.": "ক্লিপবোর্ডের কন্টেন্ট দিয়ে যেই ভেরিয়েবল রিপ্লেস করা যাবে।", "Version": "ভার্সন", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "ওয়েব", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/ca-ES/translation.json b/src/lib/i18n/locales/ca-ES/translation.json index 1ecdc800c..5237b77c6 100644 --- a/src/lib/i18n/locales/ca-ES/translation.json +++ b/src/lib/i18n/locales/ca-ES/translation.json @@ -10,6 +10,7 @@ "About": "Sobre", "Account": "Compte", "Accurate information": "", + "Add": "", "Add a model": "Afegeix un model", "Add a model tag name": "Afegeix un nom d'etiqueta de model", "Add a short description about what this modelfile does": "Afegeix una descripció curta del que fa aquest arxiu de model", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Afegeix Documents", "Add Files": "Afegeix Arxius", + "Add Memory": "", "Add message": "Afegeix missatge", "Add Model": "", "Add Tags": "afegeix etiquetes", @@ -47,6 +49,7 @@ "Archived Chats": "Arxiu d'historial de xat", "are allowed - Activate this command by typing": "estan permesos - Activa aquesta comanda escrivint", "Are you sure?": "Estàs segur?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Àudio", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Mode Constructor", "Bypass SSL verification for Websites": "", "Cancel": "Cancel·la", @@ -170,6 +172,7 @@ "Enabled": "Activat", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Introdueix aquí el missatge de {{role}}", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Introdueix el Solapament de Blocs", "Enter Chunk Size": "Introdueix la Mida del Bloc", "Enter Image Size (e.g. 512x512)": "Introdueix la Mida de la Imatge (p. ex. 512x512)", @@ -475,6 +478,7 @@ "variable": "variable", "variable to have them replaced with clipboard content.": "variable per tenir-les reemplaçades amb el contingut del porta-retalls.", "Version": "Versió", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json index ded687981..4d8853408 100644 --- a/src/lib/i18n/locales/de-DE/translation.json +++ b/src/lib/i18n/locales/de-DE/translation.json @@ -10,6 +10,7 @@ "About": "Über", "Account": "Account", "Accurate information": "Genaue Information", + "Add": "", "Add a model": "Füge ein Modell hinzu", "Add a model tag name": "Benenne deinen Modell-Tag", "Add a short description about what this modelfile does": "Füge eine kurze Beschreibung hinzu, was dieses Modelfile kann", @@ -18,6 +19,7 @@ "Add custom prompt": "Eigenen Prompt hinzufügen", "Add Docs": "Dokumente hinzufügen", "Add Files": "Dateien hinzufügen", + "Add Memory": "", "Add message": "Nachricht eingeben", "Add Model": "Modell hinzufügen", "Add Tags": "Tags hinzufügen", @@ -47,6 +49,7 @@ "Archived Chats": "Archivierte Chats", "are allowed - Activate this command by typing": "sind erlaubt - Aktiviere diesen Befehl, indem du", "Are you sure?": "Bist du sicher?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "Datei anhängen", "Attention to detail": "Auge fürs Detail", "Audio": "Audio", @@ -60,7 +63,6 @@ "Bad Response": "Schlechte Antwort", "before": "bereits geteilt", "Being lazy": "Faul sein", - "Beta": "", "Builder Mode": "Builder Modus", "Bypass SSL verification for Websites": "Bypass SSL-Verifizierung für Websites", "Cancel": "Abbrechen", @@ -170,6 +172,7 @@ "Enabled": "Aktiviert", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Gib die {{role}} Nachricht hier ein", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Gib den Chunk Overlap ein", "Enter Chunk Size": "Gib die Chunk Size ein", "Enter Image Size (e.g. 512x512)": "Gib die Bildgröße ein (z.B. 512x512)", @@ -475,6 +478,7 @@ "variable": "Variable", "variable to have them replaced with clipboard content.": "Variable, um den Inhalt der Zwischenablage beim Nutzen des Prompts zu ersetzen.", "Version": "Version", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Warnung: Wenn du dein Einbettungsmodell aktualisierst oder änderst, musst du alle Dokumente erneut importieren.", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/dg-DG/translation.json b/src/lib/i18n/locales/dg-DG/translation.json index 0e489c1a9..0b3306772 100644 --- a/src/lib/i18n/locales/dg-DG/translation.json +++ b/src/lib/i18n/locales/dg-DG/translation.json @@ -10,6 +10,7 @@ "About": "Much About", "Account": "Account", "Accurate information": "", + "Add": "", "Add a model": "Add a model", "Add a model tag name": "Add a model tag name", "Add a short description about what this modelfile does": "Add short description about what this modelfile does", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Add Docs", "Add Files": "Add Files", + "Add Memory": "", "Add message": "Add Prompt", "Add Model": "", "Add Tags": "", @@ -47,6 +49,7 @@ "Archived Chats": "", "are allowed - Activate this command by typing": "are allowed. Activate typing", "Are you sure?": "Such certainty?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Audio", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Builder Mode", "Bypass SSL verification for Websites": "", "Cancel": "Cancel", @@ -170,6 +172,7 @@ "Enabled": "So Activated", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Enter {{role}} bork here", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Enter Overlap of Chunks", "Enter Chunk Size": "Enter Size of Chunk", "Enter Image Size (e.g. 512x512)": "Enter Size of Wow (e.g. 512x512)", @@ -475,6 +478,7 @@ "variable": "variable very variable", "variable to have them replaced with clipboard content.": "variable to have them replaced with clipboard content. Very replace.", "Version": "Version much version", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Web very web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/en-GB/translation.json b/src/lib/i18n/locales/en-GB/translation.json index c87a12ad2..7d020588d 100644 --- a/src/lib/i18n/locales/en-GB/translation.json +++ b/src/lib/i18n/locales/en-GB/translation.json @@ -10,6 +10,7 @@ "About": "", "Account": "", "Accurate information": "", + "Add": "", "Add a model": "", "Add a model tag name": "", "Add a short description about what this modelfile does": "", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "", "Add Files": "", + "Add Memory": "", "Add message": "", "Add Model": "", "Add Tags": "", @@ -47,6 +49,7 @@ "Archived Chats": "", "are allowed - Activate this command by typing": "", "Are you sure?": "", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "", "Bypass SSL verification for Websites": "", "Cancel": "", @@ -170,6 +172,7 @@ "Enabled": "", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "", "Enter Chunk Size": "", "Enter Image Size (e.g. 512x512)": "", @@ -475,6 +478,7 @@ "variable": "", "variable to have them replaced with clipboard content.": "", "Version": "", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json index c87a12ad2..7d020588d 100644 --- a/src/lib/i18n/locales/en-US/translation.json +++ b/src/lib/i18n/locales/en-US/translation.json @@ -10,6 +10,7 @@ "About": "", "Account": "", "Accurate information": "", + "Add": "", "Add a model": "", "Add a model tag name": "", "Add a short description about what this modelfile does": "", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "", "Add Files": "", + "Add Memory": "", "Add message": "", "Add Model": "", "Add Tags": "", @@ -47,6 +49,7 @@ "Archived Chats": "", "are allowed - Activate this command by typing": "", "Are you sure?": "", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "", "Bypass SSL verification for Websites": "", "Cancel": "", @@ -170,6 +172,7 @@ "Enabled": "", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "", "Enter Chunk Size": "", "Enter Image Size (e.g. 512x512)": "", @@ -475,6 +478,7 @@ "variable": "", "variable to have them replaced with clipboard content.": "", "Version": "", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/es-ES/translation.json b/src/lib/i18n/locales/es-ES/translation.json index de8442a82..31a760d5a 100644 --- a/src/lib/i18n/locales/es-ES/translation.json +++ b/src/lib/i18n/locales/es-ES/translation.json @@ -10,6 +10,7 @@ "About": "Sobre nosotros", "Account": "Cuenta", "Accurate information": "", + "Add": "", "Add a model": "Agregar un modelo", "Add a model tag name": "Agregar un nombre de etiqueta de modelo", "Add a short description about what this modelfile does": "Agregue una descripción corta de lo que este modelfile hace", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Agregar Documentos", "Add Files": "Agregar Archivos", + "Add Memory": "", "Add message": "Agregar Prompt", "Add Model": "", "Add Tags": "agregar etiquetas", @@ -47,6 +49,7 @@ "Archived Chats": "Chats archivados", "are allowed - Activate this command by typing": "están permitidos - Active este comando escribiendo", "Are you sure?": "¿Está seguro?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Audio", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Modo de Constructor", "Bypass SSL verification for Websites": "", "Cancel": "Cancelar", @@ -170,6 +172,7 @@ "Enabled": "Activado", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Ingrese el mensaje {{role}} aquí", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Ingresar superposición de fragmentos", "Enter Chunk Size": "Ingrese el tamaño del fragmento", "Enter Image Size (e.g. 512x512)": "Ingrese el tamaño de la imagen (p.ej. 512x512)", @@ -475,6 +478,7 @@ "variable": "variable", "variable to have them replaced with clipboard content.": "variable para reemplazarlos con el contenido del portapapeles.", "Version": "Versión", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/fa-IR/translation.json b/src/lib/i18n/locales/fa-IR/translation.json index 58d91c933..57c528926 100644 --- a/src/lib/i18n/locales/fa-IR/translation.json +++ b/src/lib/i18n/locales/fa-IR/translation.json @@ -10,6 +10,7 @@ "About": "درباره", "Account": "حساب کاربری", "Accurate information": "", + "Add": "", "Add a model": "اضافه کردن یک مدل", "Add a model tag name": "اضافه کردن یک نام تگ برای مدل", "Add a short description about what this modelfile does": "توضیح کوتاهی در مورد کاری که این فایل\u200cمدل انجام می دهد اضافه کنید", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "اضافه کردن اسناد", "Add Files": "اضافه کردن فایل\u200cها", + "Add Memory": "", "Add message": "اضافه کردن پیغام", "Add Model": "", "Add Tags": "اضافه کردن تگ\u200cها", @@ -47,6 +49,7 @@ "Archived Chats": "آرشیو تاریخچه چت", "are allowed - Activate this command by typing": "مجاز هستند - این دستور را با تایپ کردن این فعال کنید:", "Are you sure?": "آیا مطمئن هستید؟", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "صدا", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "حالت سازنده", "Bypass SSL verification for Websites": "", "Cancel": "لغو", @@ -170,6 +172,7 @@ "Enabled": "فعال", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "پیام {{role}} را اینجا وارد کنید", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "مقدار Chunk Overlap را وارد کنید", "Enter Chunk Size": "مقدار Chunk Size را وارد کنید", "Enter Image Size (e.g. 512x512)": "اندازه تصویر را وارد کنید (مثال: 512x512)", @@ -475,6 +478,7 @@ "variable": "متغیر", "variable to have them replaced with clipboard content.": "متغیر برای جایگزینی آنها با محتوای کلیپ بورد.", "Version": "نسخه", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "وب", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/fi-FI/translation.json b/src/lib/i18n/locales/fi-FI/translation.json index ef7ae9ad0..34e95a5cc 100644 --- a/src/lib/i18n/locales/fi-FI/translation.json +++ b/src/lib/i18n/locales/fi-FI/translation.json @@ -10,6 +10,7 @@ "About": "Tietoja", "Account": "Tili", "Accurate information": "Tarkkaa tietoa", + "Add": "", "Add a model": "Lisää malli", "Add a model tag name": "Lisää mallitagi", "Add a short description about what this modelfile does": "Lisää lyhyt kuvaus siitä, mitä tämä mallitiedosto tekee", @@ -18,6 +19,7 @@ "Add custom prompt": "Lisää mukautettu kehote", "Add Docs": "Lisää asiakirjoja", "Add Files": "Lisää tiedostoja", + "Add Memory": "", "Add message": "Lisää viesti", "Add Model": "Lisää malli", "Add Tags": "Lisää tageja", @@ -47,6 +49,7 @@ "Archived Chats": "Arkistoidut keskustelut", "are allowed - Activate this command by typing": "ovat sallittuja - Aktivoi tämä komento kirjoittamalla", "Are you sure?": "Oletko varma?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "Liitä tiedosto", "Attention to detail": "Huomio yksityiskohtiin", "Audio": "Ääni", @@ -60,7 +63,6 @@ "Bad Response": "Epäkelpo vastaus", "before": "ennen", "Being lazy": "Oli laiska", - "Beta": "", "Builder Mode": "Rakentajan tila", "Bypass SSL verification for Websites": "Ohita SSL-varmennus verkkosivustoille", "Cancel": "Peruuta", @@ -170,6 +172,7 @@ "Enabled": "Käytössä", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Varmista, että CSV-tiedostossasi on 4 saraketta seuraavassa järjestyksessä: Nimi, Sähköposti, Salasana, Rooli.", "Enter {{role}} message here": "Kirjoita {{role}} viesti tähän", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Syötä osien päällekkäisyys", "Enter Chunk Size": "Syötä osien koko", "Enter Image Size (e.g. 512x512)": "Syötä kuvan koko (esim. 512x512)", @@ -475,6 +478,7 @@ "variable": "muuttuja", "variable to have them replaced with clipboard content.": "muuttuja korvataan leikepöydän sisällöllä.", "Version": "Versio", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Varoitus: Jos päivität tai vaihdat upotusmallia, sinun on tuotava kaikki asiakirjat uudelleen.", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/fr-CA/translation.json b/src/lib/i18n/locales/fr-CA/translation.json index 9cfdfde41..bbe39ac2a 100644 --- a/src/lib/i18n/locales/fr-CA/translation.json +++ b/src/lib/i18n/locales/fr-CA/translation.json @@ -10,6 +10,7 @@ "About": "À propos", "Account": "Compte", "Accurate information": "", + "Add": "", "Add a model": "Ajouter un modèle", "Add a model tag name": "Ajouter un nom de tag pour le modèle", "Add a short description about what this modelfile does": "Ajouter une courte description de ce que fait ce fichier de modèle", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Ajouter des documents", "Add Files": "Ajouter des fichiers", + "Add Memory": "", "Add message": "Ajouter un message", "Add Model": "", "Add Tags": "ajouter des tags", @@ -47,6 +49,7 @@ "Archived Chats": "enregistrement du chat", "are allowed - Activate this command by typing": "sont autorisés - Activez cette commande en tapant", "Are you sure?": "Êtes-vous sûr ?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Audio", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Mode Constructeur", "Bypass SSL verification for Websites": "", "Cancel": "Annuler", @@ -170,6 +172,7 @@ "Enabled": "Activé", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Entrez le message {{role}} ici", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Entrez le chevauchement de bloc", "Enter Chunk Size": "Entrez la taille du bloc", "Enter Image Size (e.g. 512x512)": "Entrez la taille de l'image (p. ex. 512x512)", @@ -475,6 +478,7 @@ "variable": "variable", "variable to have them replaced with clipboard content.": "variable pour les remplacer par le contenu du presse-papiers.", "Version": "Version", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/fr-FR/translation.json b/src/lib/i18n/locales/fr-FR/translation.json index 7330c84f3..c75194006 100644 --- a/src/lib/i18n/locales/fr-FR/translation.json +++ b/src/lib/i18n/locales/fr-FR/translation.json @@ -10,6 +10,7 @@ "About": "À propos", "Account": "Compte", "Accurate information": "", + "Add": "", "Add a model": "Ajouter un modèle", "Add a model tag name": "Ajouter un nom de tag pour le modèle", "Add a short description about what this modelfile does": "Ajouter une courte description de ce que fait ce fichier de modèle", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Ajouter des documents", "Add Files": "Ajouter des fichiers", + "Add Memory": "", "Add message": "Ajouter un message", "Add Model": "", "Add Tags": "ajouter des tags", @@ -47,6 +49,7 @@ "Archived Chats": "enregistrement du chat", "are allowed - Activate this command by typing": "sont autorisés - Activez cette commande en tapant", "Are you sure?": "Êtes-vous sûr ?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Audio", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Mode Constructeur", "Bypass SSL verification for Websites": "", "Cancel": "Annuler", @@ -170,6 +172,7 @@ "Enabled": "Activé", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Entrez le message {{role}} ici", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Entrez le chevauchement de bloc", "Enter Chunk Size": "Entrez la taille du bloc", "Enter Image Size (e.g. 512x512)": "Entrez la taille de l'image (p. ex. 512x512)", @@ -475,6 +478,7 @@ "variable": "variable", "variable to have them replaced with clipboard content.": "variable pour les remplacer par le contenu du presse-papiers.", "Version": "Version", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/he-IL/translation.json b/src/lib/i18n/locales/he-IL/translation.json index e9ae95ea5..5314cb6d2 100644 --- a/src/lib/i18n/locales/he-IL/translation.json +++ b/src/lib/i18n/locales/he-IL/translation.json @@ -10,6 +10,7 @@ "About": "אודות", "Account": "חשבון", "Accurate information": "מידע מדויק", + "Add": "", "Add a model": "הוסף מודל", "Add a model tag name": "הוסף שם תג למודל", "Add a short description about what this modelfile does": "הוסף תיאור קצר על מה שהקובץ מודל עושה", @@ -18,6 +19,7 @@ "Add custom prompt": "הוסף פקודה מותאמת אישית", "Add Docs": "הוסף מסמכים", "Add Files": "הוסף קבצים", + "Add Memory": "", "Add message": "הוסף הודעה", "Add Model": "הוסף מודל", "Add Tags": "הוסף תגים", @@ -47,6 +49,7 @@ "Archived Chats": "צ'אטים מאורכבים", "are allowed - Activate this command by typing": "מותרים - הפעל פקודה זו על ידי הקלדה", "Are you sure?": "האם אתה בטוח?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "צרף קובץ", "Attention to detail": "תשומת לב לפרטים", "Audio": "אודיו", @@ -60,7 +63,6 @@ "Bad Response": "תגובה שגויה", "before": "לפני", "Being lazy": "להיות עצלן", - "Beta": "", "Builder Mode": "מצב בונה", "Bypass SSL verification for Websites": "עקוף אימות SSL עבור אתרים", "Cancel": "בטל", @@ -170,6 +172,7 @@ "Enabled": "מופעל", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "ודא שקובץ ה-CSV שלך כולל 4 עמודות בסדר הבא: שם, דוא\"ל, סיסמה, תפקיד.", "Enter {{role}} message here": "הזן הודעת {{role}} כאן", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "הזן חפיפת נתונים", "Enter Chunk Size": "הזן גודל נתונים", "Enter Image Size (e.g. 512x512)": "הזן גודל תמונה (למשל 512x512)", @@ -475,6 +478,7 @@ "variable": "", "variable to have them replaced with clipboard content.": "", "Version": "גרסה", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "רשת", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/hi-IN/translation.json b/src/lib/i18n/locales/hi-IN/translation.json index a92b01f3e..128550c2b 100644 --- a/src/lib/i18n/locales/hi-IN/translation.json +++ b/src/lib/i18n/locales/hi-IN/translation.json @@ -10,6 +10,7 @@ "About": "हमारे बारे में", "Account": "खाता", "Accurate information": "सटीक जानकारी", + "Add": "", "Add a model": "एक मॉडल जोड़ें", "Add a model tag name": "एक मॉडल टैग नाम जोड़ें", "Add a short description about what this modelfile does": "यह मॉडलफ़ाइल क्या करती है इसके बारे में एक संक्षिप्त विवरण जोड़ें", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "दस्तावेज़ जोड़ें", "Add Files": "फाइलें जोड़ें", + "Add Memory": "", "Add message": "संदेश डालें", "Add Model": "मॉडल जोड़ें", "Add Tags": "टैगों को जोड़ें", @@ -47,6 +49,7 @@ "Archived Chats": "संग्रहीत चैट", "are allowed - Activate this command by typing": "अनुमति है - टाइप करके इस कमांड को सक्रिय करें", "Are you sure?": "क्या आपको यकीन है?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "विस्तार पर ध्यान", "Audio": "ऑडियो", @@ -60,7 +63,6 @@ "Bad Response": "ख़राब प्रतिक्रिया", "before": "", "Being lazy": "आलसी होना", - "Beta": "", "Builder Mode": "बिल्डर मोड", "Bypass SSL verification for Websites": "", "Cancel": "रद्द करें", @@ -170,6 +172,7 @@ "Enabled": "सक्रिय", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "सुनिश्चित करें कि आपकी CSV फ़ाइल में इस क्रम में 4 कॉलम शामिल हैं: नाम, ईमेल, पासवर्ड, भूमिका।", "Enter {{role}} message here": "यहां {{role}} संदेश दर्ज करें", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "चंक ओवरलैप दर्ज करें", "Enter Chunk Size": "खंड आकार दर्ज करें", "Enter Image Size (e.g. 512x512)": "छवि का आकार दर्ज करें (उदा. 512x512)", @@ -475,6 +478,7 @@ "variable": "", "variable to have them replaced with clipboard content.": "उन्हें क्लिपबोर्ड सामग्री से बदलने के लिए वेरिएबल।", "Version": "संस्करण", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "चेतावनी: यदि आप अपने एम्बेडिंग मॉडल को अपडेट या बदलते हैं, तो आपको सभी दस्तावेज़ों को फिर से आयात करने की आवश्यकता होगी।", "Web": "वेब", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/hr-HR/translation.json b/src/lib/i18n/locales/hr-HR/translation.json index 91e69d2f8..a80f8c647 100644 --- a/src/lib/i18n/locales/hr-HR/translation.json +++ b/src/lib/i18n/locales/hr-HR/translation.json @@ -10,6 +10,7 @@ "About": "O", "Account": "Račun", "Accurate information": "Točne informacije", + "Add": "", "Add a model": "Dodaj model", "Add a model tag name": "Dodaj oznaku modela", "Add a short description about what this modelfile does": "Dodajte kratak opis što ova datoteka modela radi", @@ -18,6 +19,7 @@ "Add custom prompt": "Dodaj prilagođeni prompt", "Add Docs": "Dodaj dokumente", "Add Files": "Dodaj datoteke", + "Add Memory": "", "Add message": "Dodaj poruku", "Add Model": "Dodaj model", "Add Tags": "Dodaj oznake", @@ -47,6 +49,7 @@ "Archived Chats": "Arhivirani razgovori", "are allowed - Activate this command by typing": "su dopušteni - Aktivirajte ovu naredbu upisivanjem", "Are you sure?": "Jeste li sigurni?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "Priloži datoteku", "Attention to detail": "Pažnja na detalje", "Audio": "Audio", @@ -60,7 +63,6 @@ "Bad Response": "Loš odgovor", "before": "prije", "Being lazy": "Biti lijen", - "Beta": "", "Builder Mode": "Način graditelja", "Bypass SSL verification for Websites": "Zaobiđi SSL provjeru za web stranice", "Cancel": "Otkaži", @@ -170,6 +172,7 @@ "Enabled": "Omogućeno", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Provjerite da vaša CSV datoteka uključuje 4 stupca u ovom redoslijedu: Ime, Email, Lozinka, Uloga.", "Enter {{role}} message here": "Unesite poruku {{role}} ovdje", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Unesite preklapanje dijelova", "Enter Chunk Size": "Unesite veličinu dijela", "Enter Image Size (e.g. 512x512)": "Unesite veličinu slike (npr. 512x512)", @@ -475,6 +478,7 @@ "variable": "varijabla", "variable to have them replaced with clipboard content.": "varijabla za zamjenu sadržajem međuspremnika.", "Version": "Verzija", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Upozorenje: Ako ažurirate ili promijenite svoj model za umetanje, morat ćete ponovno uvesti sve dokumente.", "Web": "Web", "Web Loader Settings": "Postavke web učitavanja", diff --git a/src/lib/i18n/locales/it-IT/translation.json b/src/lib/i18n/locales/it-IT/translation.json index 94fa7a301..ed7ec5aa3 100644 --- a/src/lib/i18n/locales/it-IT/translation.json +++ b/src/lib/i18n/locales/it-IT/translation.json @@ -10,6 +10,7 @@ "About": "Informazioni", "Account": "Account", "Accurate information": "Informazioni accurate", + "Add": "", "Add a model": "Aggiungi un modello", "Add a model tag name": "Aggiungi un nome tag del modello", "Add a short description about what this modelfile does": "Aggiungi una breve descrizione di ciò che fa questo file modello", @@ -18,6 +19,7 @@ "Add custom prompt": "Aggiungi un prompt custom", "Add Docs": "Aggiungi documenti", "Add Files": "Aggiungi file", + "Add Memory": "", "Add message": "Aggiungi messaggio", "Add Model": "Aggiungi modello", "Add Tags": "Aggiungi tag", @@ -47,6 +49,7 @@ "Archived Chats": "Chat archiviate", "are allowed - Activate this command by typing": "sono consentiti - Attiva questo comando digitando", "Are you sure?": "Sei sicuro?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "Allega file", "Attention to detail": "Attenzione ai dettagli", "Audio": "Audio", @@ -60,7 +63,6 @@ "Bad Response": "Risposta non valida", "before": "prima", "Being lazy": "Essere pigri", - "Beta": "", "Builder Mode": "Modalità costruttore", "Bypass SSL verification for Websites": "Aggira la verifica SSL per i siti web", "Cancel": "Annulla", @@ -170,6 +172,7 @@ "Enabled": "Abilitato", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Assicurati che il tuo file CSV includa 4 colonne in questo ordine: Nome, Email, Password, Ruolo.", "Enter {{role}} message here": "Inserisci il messaggio per {{role}} qui", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Inserisci la sovrapposizione chunk", "Enter Chunk Size": "Inserisci la dimensione chunk", "Enter Image Size (e.g. 512x512)": "Inserisci la dimensione dell'immagine (ad esempio 512x512)", @@ -475,6 +478,7 @@ "variable": "variabile", "variable to have them replaced with clipboard content.": "variabile per farli sostituire con il contenuto degli appunti.", "Version": "Versione", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Attenzione: se aggiorni o cambi il tuo modello di embedding, dovrai reimportare tutti i documenti.", "Web": "Web", "Web Loader Settings": "Impostazioni del caricatore Web", diff --git a/src/lib/i18n/locales/ja-JP/translation.json b/src/lib/i18n/locales/ja-JP/translation.json index 2ea22fef6..5030e3b27 100644 --- a/src/lib/i18n/locales/ja-JP/translation.json +++ b/src/lib/i18n/locales/ja-JP/translation.json @@ -10,6 +10,7 @@ "About": "概要", "Account": "アカウント", "Accurate information": "", + "Add": "", "Add a model": "モデルを追加", "Add a model tag name": "モデルタグ名を追加", "Add a short description about what this modelfile does": "このモデルファイルの機能に関する簡単な説明を追加", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "ドキュメントを追加", "Add Files": "ファイルを追加", + "Add Memory": "", "Add message": "メッセージを追加", "Add Model": "", "Add Tags": "タグを追加", @@ -47,6 +49,7 @@ "Archived Chats": "チャット記録", "are allowed - Activate this command by typing": "が許可されています - 次のように入力してこのコマンドをアクティブ化します", "Are you sure?": "よろしいですか?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "オーディオ", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "ビルダーモード", "Bypass SSL verification for Websites": "", "Cancel": "キャンセル", @@ -170,6 +172,7 @@ "Enabled": "有効", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "{{role}} メッセージをここに入力してください", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "チャンクオーバーラップを入力してください", "Enter Chunk Size": "チャンクサイズを入力してください", "Enter Image Size (e.g. 512x512)": "画像サイズを入力してください (例: 512x512)", @@ -475,6 +478,7 @@ "variable": "変数", "variable to have them replaced with clipboard content.": "クリップボードの内容に置き換える変数。", "Version": "バージョン", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "ウェブ", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/ka-GE/translation.json b/src/lib/i18n/locales/ka-GE/translation.json index 7ea772b39..71f380ea5 100644 --- a/src/lib/i18n/locales/ka-GE/translation.json +++ b/src/lib/i18n/locales/ka-GE/translation.json @@ -10,6 +10,7 @@ "About": "შესახებ", "Account": "ანგარიში", "Accurate information": "", + "Add": "", "Add a model": "მოდელის დამატება", "Add a model tag name": "მოდელის ტეგის სახელის დამატება", "Add a short description about what this modelfile does": "დაამატე მოკლე აღწერა იმის შესახებ, თუ რას აკეთებს ეს მოდელური ფაილი", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "დოკუმენტის დამატება", "Add Files": "ფაილების დამატება", + "Add Memory": "", "Add message": "შეტყობინების დამატება", "Add Model": "", "Add Tags": "ტეგების დამატება", @@ -47,6 +49,7 @@ "Archived Chats": "ჩატის ისტორიის არქივი", "are allowed - Activate this command by typing": "დაშვებულია - ბრძანების გასააქტიურებლად აკრიფეთ:", "Are you sure?": "დარწმუნებული ხარ?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "ხმოვანი", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "მოდელის შექმნა", "Bypass SSL verification for Websites": "", "Cancel": "გაუქმება", @@ -170,6 +172,7 @@ "Enabled": "ჩართულია", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "შეიყვანე {{role}} შეტყობინება აქ", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "შეიყვანეთ ნაწილის გადახურვა", "Enter Chunk Size": "შეიყვანე ბლოკის ზომა", "Enter Image Size (e.g. 512x512)": "შეიყვანეთ სურათის ზომა (მაგ. 512x512)", @@ -475,6 +478,7 @@ "variable": "ცვლადი", "variable to have them replaced with clipboard content.": "ცვლადი, რომ შეცვალოს ისინი ბუფერში შიგთავსით.", "Version": "ვერსია", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "ვები", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/ko-KR/translation.json b/src/lib/i18n/locales/ko-KR/translation.json index edaac65bf..4a833e6c6 100644 --- a/src/lib/i18n/locales/ko-KR/translation.json +++ b/src/lib/i18n/locales/ko-KR/translation.json @@ -10,6 +10,7 @@ "About": "소개", "Account": "계정", "Accurate information": "", + "Add": "", "Add a model": "모델 추가", "Add a model tag name": "모델 태그명 추가", "Add a short description about what this modelfile does": "이 모델파일이 하는 일에 대한 간단한 설명 추가", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "문서 추가", "Add Files": "파일 추가", + "Add Memory": "", "Add message": "메시지 추가", "Add Model": "", "Add Tags": "태그들 추가", @@ -47,6 +49,7 @@ "Archived Chats": "채팅 기록 아카이브", "are allowed - Activate this command by typing": "허용됩니다 - 이 명령을 활성화하려면 입력하세요.", "Are you sure?": "확실합니까?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "오디오", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "빌더 모드", "Bypass SSL verification for Websites": "", "Cancel": "취소", @@ -170,6 +172,7 @@ "Enabled": "활성화", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "여기에 {{role}} 메시지 입력", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "청크 오버랩 입력", "Enter Chunk Size": "청크 크기 입력", "Enter Image Size (e.g. 512x512)": "이미지 크기 입력(예: 512x512)", @@ -475,6 +478,7 @@ "variable": "변수", "variable to have them replaced with clipboard content.": "변수를 사용하여 클립보드 내용으로 바꾸세요.", "Version": "버전", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "웹", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/nl-NL/translation.json b/src/lib/i18n/locales/nl-NL/translation.json index 95d12cc33..f89921bc1 100644 --- a/src/lib/i18n/locales/nl-NL/translation.json +++ b/src/lib/i18n/locales/nl-NL/translation.json @@ -10,6 +10,7 @@ "About": "Over", "Account": "Account", "Accurate information": "", + "Add": "", "Add a model": "Voeg een model toe", "Add a model tag name": "Voeg een model tag naam toe", "Add a short description about what this modelfile does": "Voeg een korte beschrijving toe over wat dit modelfile doet", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Voeg Docs toe", "Add Files": "Voege Bestanden toe", + "Add Memory": "", "Add message": "Voeg bericht toe", "Add Model": "", "Add Tags": "voeg tags toe", @@ -47,6 +49,7 @@ "Archived Chats": "chatrecord", "are allowed - Activate this command by typing": "zijn toegestaan - Activeer deze commando door te typen", "Are you sure?": "Zeker weten?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Audio", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Bouwer Modus", "Bypass SSL verification for Websites": "", "Cancel": "Annuleren", @@ -170,6 +172,7 @@ "Enabled": "Ingeschakeld", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Voeg {{role}} bericht hier toe", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Voeg Chunk Overlap toe", "Enter Chunk Size": "Voeg Chunk Size toe", "Enter Image Size (e.g. 512x512)": "Voeg afbeelding formaat toe (Bijv. 512x512)", @@ -475,6 +478,7 @@ "variable": "variabele", "variable to have them replaced with clipboard content.": "variabele om ze te laten vervangen door klembord inhoud.", "Version": "Versie", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/pa-IN/translation.json b/src/lib/i18n/locales/pa-IN/translation.json index 16f3d144a..563bb8319 100644 --- a/src/lib/i18n/locales/pa-IN/translation.json +++ b/src/lib/i18n/locales/pa-IN/translation.json @@ -10,6 +10,7 @@ "About": "ਬਾਰੇ", "Account": "ਖਾਤਾ", "Accurate information": "ਸਹੀ ਜਾਣਕਾਰੀ", + "Add": "", "Add a model": "ਇੱਕ ਮਾਡਲ ਸ਼ਾਮਲ ਕਰੋ", "Add a model tag name": "ਇੱਕ ਮਾਡਲ ਟੈਗ ਨਾਮ ਸ਼ਾਮਲ ਕਰੋ", "Add a short description about what this modelfile does": "ਇਸ ਮਾਡਲਫਾਈਲ ਦੇ ਕੀ ਕਰਨ ਬਾਰੇ ਇੱਕ ਛੋਟੀ ਵਰਣਨਾ ਸ਼ਾਮਲ ਕਰੋ", @@ -18,6 +19,7 @@ "Add custom prompt": "ਕਸਟਮ ਪ੍ਰੰਪਟ ਸ਼ਾਮਲ ਕਰੋ", "Add Docs": "ਡਾਕੂਮੈਂਟ ਸ਼ਾਮਲ ਕਰੋ", "Add Files": "ਫਾਈਲਾਂ ਸ਼ਾਮਲ ਕਰੋ", + "Add Memory": "", "Add message": "ਸੁਨੇਹਾ ਸ਼ਾਮਲ ਕਰੋ", "Add Model": "ਮਾਡਲ ਸ਼ਾਮਲ ਕਰੋ", "Add Tags": "ਟੈਗ ਸ਼ਾਮਲ ਕਰੋ", @@ -47,6 +49,7 @@ "Archived Chats": "ਆਰਕਾਈਵ ਕੀਤੀਆਂ ਗੱਲਾਂ", "are allowed - Activate this command by typing": "ਅਨੁਮਤ ਹਨ - ਇਸ ਕਮਾਂਡ ਨੂੰ ਟਾਈਪ ਕਰਕੇ ਸਰਗਰਮ ਕਰੋ", "Are you sure?": "ਕੀ ਤੁਸੀਂ ਯਕੀਨਨ ਹੋ?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "ਫਾਈਲ ਜੋੜੋ", "Attention to detail": "ਵੇਰਵੇ 'ਤੇ ਧਿਆਨ", "Audio": "ਆਡੀਓ", @@ -60,7 +63,6 @@ "Bad Response": "ਖਰਾਬ ਜਵਾਬ", "before": "ਪਹਿਲਾਂ", "Being lazy": "ਆਲਸੀ ਹੋਣਾ", - "Beta": "", "Builder Mode": "ਬਿਲਡਰ ਮੋਡ", "Bypass SSL verification for Websites": "ਵੈਬਸਾਈਟਾਂ ਲਈ SSL ਪ੍ਰਮਾਣਿਕਤਾ ਨੂੰ ਬਾਈਪਾਸ ਕਰੋ", "Cancel": "ਰੱਦ ਕਰੋ", @@ -170,6 +172,7 @@ "Enabled": "ਯੋਗ ਕੀਤਾ ਗਿਆ", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "ਸੁਨਿਸ਼ਚਿਤ ਕਰੋ ਕਿ ਤੁਹਾਡੀ CSV ਫਾਈਲ ਵਿੱਚ ਇਸ ਕ੍ਰਮ ਵਿੱਚ 4 ਕਾਲਮ ਹਨ: ਨਾਮ, ਈਮੇਲ, ਪਾਸਵਰਡ, ਭੂਮਿਕਾ।", "Enter {{role}} message here": "{{role}} ਸੁਨੇਹਾ ਇੱਥੇ ਦਰਜ ਕਰੋ", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "ਚੰਕ ਓਵਰਲੈਪ ਦਰਜ ਕਰੋ", "Enter Chunk Size": "ਚੰਕ ਆਕਾਰ ਦਰਜ ਕਰੋ", "Enter Image Size (e.g. 512x512)": "ਚਿੱਤਰ ਆਕਾਰ ਦਰਜ ਕਰੋ (ਉਦਾਹਰਣ ਲਈ 512x512)", @@ -475,6 +478,7 @@ "variable": "ਵੈਰੀਏਬਲ", "variable to have them replaced with clipboard content.": "ਕਲਿੱਪਬੋਰਡ ਸਮੱਗਰੀ ਨਾਲ ਬਦਲਣ ਲਈ ਵੈਰੀਏਬਲ।", "Version": "ਵਰਜਨ", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "ਚੇਤਾਵਨੀ: ਜੇ ਤੁਸੀਂ ਆਪਣਾ ਐਮਬੈੱਡਿੰਗ ਮਾਡਲ ਅੱਪਡੇਟ ਜਾਂ ਬਦਲਦੇ ਹੋ, ਤਾਂ ਤੁਹਾਨੂੰ ਸਾਰੇ ਡਾਕੂਮੈਂਟ ਮੁੜ ਆਯਾਤ ਕਰਨ ਦੀ ਲੋੜ ਹੋਵੇਗੀ।", "Web": "ਵੈਬ", "Web Loader Settings": "ਵੈਬ ਲੋਡਰ ਸੈਟਿੰਗਾਂ", diff --git a/src/lib/i18n/locales/pl-PL/translation.json b/src/lib/i18n/locales/pl-PL/translation.json index 47584dfdb..1ad4c0975 100644 --- a/src/lib/i18n/locales/pl-PL/translation.json +++ b/src/lib/i18n/locales/pl-PL/translation.json @@ -10,6 +10,7 @@ "About": "O nas", "Account": "Konto", "Accurate information": "Dokładna informacja", + "Add": "", "Add a model": "Dodaj model", "Add a model tag name": "Dodaj nazwę tagu modelu", "Add a short description about what this modelfile does": "Dodaj krótki opis tego, co robi ten plik modelu", @@ -18,6 +19,7 @@ "Add custom prompt": "Dodaj własne polecenie", "Add Docs": "Dodaj dokumenty", "Add Files": "Dodaj pliki", + "Add Memory": "", "Add message": "Dodaj wiadomość", "Add Model": "Dodaj model", "Add Tags": "Dodaj tagi", @@ -47,6 +49,7 @@ "Archived Chats": "Zarchiwizowane czaty", "are allowed - Activate this command by typing": "są dozwolone - Aktywuj to polecenie, wpisując", "Are you sure?": "Jesteś pewien?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "Dołącz plik", "Attention to detail": "Dbałość o szczegóły", "Audio": "Dźwięk", @@ -60,7 +63,6 @@ "Bad Response": "Zła odpowiedź", "before": "przed", "Being lazy": "Jest leniwy", - "Beta": "", "Builder Mode": "Tryb budowniczego", "Bypass SSL verification for Websites": "Pomiń weryfikację SSL dla stron webowych", "Cancel": "Anuluj", @@ -170,6 +172,7 @@ "Enabled": "Włączone", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Upewnij się, że twój plik CSV zawiera 4 kolumny w następującym porządku: Nazwa, Email, Hasło, Rola.", "Enter {{role}} message here": "Wprowadź wiadomość {{role}} tutaj", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Wprowadź zakchodzenie bloku", "Enter Chunk Size": "Wprowadź rozmiar bloku", "Enter Image Size (e.g. 512x512)": "Wprowadź rozmiar obrazu (np. 512x512)", @@ -475,6 +478,7 @@ "variable": "zmienna", "variable to have them replaced with clipboard content.": "zmienna która zostanie zastąpiona zawartością schowka.", "Version": "Wersja", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Uwaga: Jeśli uaktualnisz lub zmienisz model osadzania, będziesz musiał ponownie zaimportować wszystkie dokumenty.", "Web": "Sieć", "Web Loader Settings": "Ustawienia pobierania z sieci", diff --git a/src/lib/i18n/locales/pt-BR/translation.json b/src/lib/i18n/locales/pt-BR/translation.json index ae3bd3fd9..3cfcaa6de 100644 --- a/src/lib/i18n/locales/pt-BR/translation.json +++ b/src/lib/i18n/locales/pt-BR/translation.json @@ -10,6 +10,7 @@ "About": "Sobre", "Account": "Conta", "Accurate information": "", + "Add": "", "Add a model": "Adicionar um modelo", "Add a model tag name": "Adicionar um nome de tag de modelo", "Add a short description about what this modelfile does": "Adicione uma breve descrição sobre o que este arquivo de modelo faz", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Adicionar Documentos", "Add Files": "Adicionar Arquivos", + "Add Memory": "", "Add message": "Adicionar mensagem", "Add Model": "", "Add Tags": "adicionar tags", @@ -47,6 +49,7 @@ "Archived Chats": "Bate-papos arquivados", "are allowed - Activate this command by typing": "são permitidos - Ative este comando digitando", "Are you sure?": "Tem certeza?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Áudio", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Modo de Construtor", "Bypass SSL verification for Websites": "", "Cancel": "Cancelar", @@ -170,6 +172,7 @@ "Enabled": "Ativado", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Digite a mensagem de {{role}} aqui", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Digite a Sobreposição de Fragmento", "Enter Chunk Size": "Digite o Tamanho do Fragmento", "Enter Image Size (e.g. 512x512)": "Digite o Tamanho da Imagem (por exemplo, 512x512)", @@ -475,6 +478,7 @@ "variable": "variável", "variable to have them replaced with clipboard content.": "variável para que sejam substituídos pelo conteúdo da área de transferência.", "Version": "Versão", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/pt-PT/translation.json b/src/lib/i18n/locales/pt-PT/translation.json index 98826dd91..ef9b6eb27 100644 --- a/src/lib/i18n/locales/pt-PT/translation.json +++ b/src/lib/i18n/locales/pt-PT/translation.json @@ -10,6 +10,7 @@ "About": "Sobre", "Account": "Conta", "Accurate information": "", + "Add": "", "Add a model": "Adicionar um modelo", "Add a model tag name": "Adicionar um nome de tag de modelo", "Add a short description about what this modelfile does": "Adicione uma breve descrição sobre o que este arquivo de modelo faz", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Adicionar Documentos", "Add Files": "Adicionar Arquivos", + "Add Memory": "", "Add message": "Adicionar mensagem", "Add Model": "", "Add Tags": "adicionar tags", @@ -47,6 +49,7 @@ "Archived Chats": "Bate-papos arquivados", "are allowed - Activate this command by typing": "são permitidos - Ative este comando digitando", "Are you sure?": "Tem certeza?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Áudio", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Modo de Construtor", "Bypass SSL verification for Websites": "", "Cancel": "Cancelar", @@ -170,6 +172,7 @@ "Enabled": "Ativado", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Digite a mensagem de {{role}} aqui", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Digite a Sobreposição de Fragmento", "Enter Chunk Size": "Digite o Tamanho do Fragmento", "Enter Image Size (e.g. 512x512)": "Digite o Tamanho da Imagem (por exemplo, 512x512)", @@ -475,6 +478,7 @@ "variable": "variável", "variable to have them replaced with clipboard content.": "variável para que sejam substituídos pelo conteúdo da área de transferência.", "Version": "Versão", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Web", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/ru-RU/translation.json b/src/lib/i18n/locales/ru-RU/translation.json index 0e5985d82..e12ee1eb6 100644 --- a/src/lib/i18n/locales/ru-RU/translation.json +++ b/src/lib/i18n/locales/ru-RU/translation.json @@ -10,6 +10,7 @@ "About": "Об", "Account": "Аккаунт", "Accurate information": "", + "Add": "", "Add a model": "Добавьте модель", "Add a model tag name": "Добавьте имя тэга модели", "Add a short description about what this modelfile does": "Добавьте краткое описание, что делает этот моделфайл", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Добавьте документы", "Add Files": "Добавьте файлы", + "Add Memory": "", "Add message": "Добавьте сообщение", "Add Model": "", "Add Tags": "Добавьте тэгы", @@ -47,6 +49,7 @@ "Archived Chats": "запис на чат", "are allowed - Activate this command by typing": "разрешено - активируйте эту команду вводом", "Are you sure?": "Вы уверены?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Аудио", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Режим конструктор", "Bypass SSL verification for Websites": "", "Cancel": "Аннулировать", @@ -170,6 +172,7 @@ "Enabled": "Включено", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Введите сообщение {{role}} здесь", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Введите перекрытие фрагмента", "Enter Chunk Size": "Введите размер фрагмента", "Enter Image Size (e.g. 512x512)": "Введите размер изображения (например, 512x512)", @@ -475,6 +478,7 @@ "variable": "переменная", "variable to have them replaced with clipboard content.": "переменная, чтобы их заменить содержимым буфера обмена.", "Version": "Версия", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Веб", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/sr-RS/translation.json b/src/lib/i18n/locales/sr-RS/translation.json index c31b2f41d..152295a71 100644 --- a/src/lib/i18n/locales/sr-RS/translation.json +++ b/src/lib/i18n/locales/sr-RS/translation.json @@ -10,6 +10,7 @@ "About": "О нама", "Account": "Налог", "Accurate information": "Прецизне информације", + "Add": "", "Add a model": "Додај модел", "Add a model tag name": "Додај ознаку модела", "Add a short description about what this modelfile does": "Додај кратак опис ове модел-датотеке", @@ -18,6 +19,7 @@ "Add custom prompt": "Додај прилагођен упит", "Add Docs": "Додај документе", "Add Files": "Додај датотеке", + "Add Memory": "", "Add message": "Додај поруку", "Add Model": "Додај модел", "Add Tags": "Додај ознаке", @@ -47,6 +49,7 @@ "Archived Chats": "Архивирана ћаскања", "are allowed - Activate this command by typing": "су дозвољени - Покрените ову наредбу уношењем", "Are you sure?": "Да ли сте сигурни?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "Приложи датотеку", "Attention to detail": "Пажња на детаље", "Audio": "Звук", @@ -60,7 +63,6 @@ "Bad Response": "Лош одговор", "before": "пре", "Being lazy": "Бити лењ", - "Beta": "Бета", "Builder Mode": "Режим градитеља", "Bypass SSL verification for Websites": "Заобиђи SSL потврђивање за веб странице", "Cancel": "Откажи", @@ -170,6 +172,7 @@ "Enabled": "Омогућено", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Уверите се да ваша CSV датотека укључује 4 колоне у овом редоследу: Име, Е-пошта, Лозинка, Улога.", "Enter {{role}} message here": "Унесите {{role}} поруку овде", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Унесите преклапање делова", "Enter Chunk Size": "Унесите величину дела", "Enter Image Size (e.g. 512x512)": "Унесите величину слике (нпр. 512x512)", @@ -475,6 +478,7 @@ "variable": "променљива", "variable to have them replaced with clipboard content.": "променљива за замену са садржајем оставе.", "Version": "Издање", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Упозорење: ако ажурирате или промените ваш модел уградње, мораћете поново да увезете све документе.", "Web": "Веб", "Web Loader Settings": "Подешавања веб учитавача", diff --git a/src/lib/i18n/locales/sv-SE/translation.json b/src/lib/i18n/locales/sv-SE/translation.json index 206b3ac36..901bdccd7 100644 --- a/src/lib/i18n/locales/sv-SE/translation.json +++ b/src/lib/i18n/locales/sv-SE/translation.json @@ -10,6 +10,7 @@ "About": "Om", "Account": "Konto", "Accurate information": "", + "Add": "", "Add a model": "Lägg till en modell", "Add a model tag name": "Lägg till ett modellnamn", "Add a short description about what this modelfile does": "Lägg till en kort beskrivning av vad den här modelfilen gör", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Lägg till dokument", "Add Files": "Lägg till filer", + "Add Memory": "", "Add message": "Lägg till meddelande", "Add Model": "", "Add Tags": "", @@ -47,6 +49,7 @@ "Archived Chats": "", "are allowed - Activate this command by typing": "är tillåtna - Aktivera detta kommando genom att skriva", "Are you sure?": "Är du säker?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "Ljud", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "Byggarläge", "Bypass SSL verification for Websites": "", "Cancel": "Avbryt", @@ -170,6 +172,7 @@ "Enabled": "Aktiverad", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "Skriv {{role}} meddelande här", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Ange Chunk-överlappning", "Enter Chunk Size": "Ange Chunk-storlek", "Enter Image Size (e.g. 512x512)": "Ange bildstorlek (t.ex. 512x512)", @@ -475,6 +478,7 @@ "variable": "variabel", "variable to have them replaced with clipboard content.": "variabel för att få dem ersatta med urklippsinnehåll.", "Version": "Version", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "Webb", "Web Loader Settings": "", diff --git a/src/lib/i18n/locales/tr-TR/translation.json b/src/lib/i18n/locales/tr-TR/translation.json index f2c6bface..e872bd712 100644 --- a/src/lib/i18n/locales/tr-TR/translation.json +++ b/src/lib/i18n/locales/tr-TR/translation.json @@ -10,6 +10,7 @@ "About": "Hakkında", "Account": "Hesap", "Accurate information": "Doğru bilgi", + "Add": "", "Add a model": "Bir model ekleyin", "Add a model tag name": "Bir model etiket adı ekleyin", "Add a short description about what this modelfile does": "Bu model dosyasının ne yaptığı hakkında kısa bir açıklama ekleyin", @@ -18,6 +19,7 @@ "Add custom prompt": "Özel prompt ekle", "Add Docs": "Dökümanlar Ekle", "Add Files": "Dosyalar Ekle", + "Add Memory": "", "Add message": "Mesaj ekle", "Add Model": "Model Ekle", "Add Tags": "Etiketler ekle", @@ -47,6 +49,7 @@ "Archived Chats": "Arşivlenmiş Sohbetler", "are allowed - Activate this command by typing": "izin verilir - Bu komutu yazarak etkinleştirin", "Are you sure?": "Emin misiniz?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "Dosya ekle", "Attention to detail": "Ayrıntılara dikkat", "Audio": "Ses", @@ -60,7 +63,6 @@ "Bad Response": "Kötü Yanıt", "before": "önce", "Being lazy": "Tembelleşiyor", - "Beta": "", "Builder Mode": "Oluşturucu Modu", "Bypass SSL verification for Websites": "Web Siteleri için SSL doğrulamasını atlayın", "Cancel": "İptal", @@ -170,6 +172,7 @@ "Enabled": "Etkin", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "CSV dosyanızın şu sırayla 4 sütun içerdiğinden emin olun: İsim, E-posta, Şifre, Rol.", "Enter {{role}} message here": "Buraya {{role}} mesajını girin", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Chunk Örtüşmesini Girin", "Enter Chunk Size": "Chunk Boyutunu Girin", "Enter Image Size (e.g. 512x512)": "Görüntü Boyutunu Girin (örn. 512x512)", @@ -475,6 +478,7 @@ "variable": "değişken", "variable to have them replaced with clipboard content.": "panodaki içerikle değiştirilmesi için değişken.", "Version": "Sürüm", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Uyarı: Gömme modelinizi günceller veya değiştirirseniz, tüm belgeleri yeniden içe aktarmanız gerekecektir.", "Web": "Web", "Web Loader Settings": "Web Yükleyici Ayarları", diff --git a/src/lib/i18n/locales/uk-UA/translation.json b/src/lib/i18n/locales/uk-UA/translation.json index ffaddc286..9eb50f974 100644 --- a/src/lib/i18n/locales/uk-UA/translation.json +++ b/src/lib/i18n/locales/uk-UA/translation.json @@ -10,6 +10,7 @@ "About": "Про програму", "Account": "Обліковий запис", "Accurate information": "Точна інформація", + "Add": "", "Add a model": "Додати модель", "Add a model tag name": "Додати ім'я тегу моделі", "Add a short description about what this modelfile does": "Додати короткий опис того, що робить цей файл моделі", @@ -18,6 +19,7 @@ "Add custom prompt": "Додати користувацьку підказку", "Add Docs": "Додати документи", "Add Files": "Додати файли", + "Add Memory": "", "Add message": "Додати повідомлення", "Add Model": "Додати модель", "Add Tags": "додати теги", @@ -47,6 +49,7 @@ "Archived Chats": "Архівовані чати", "are allowed - Activate this command by typing": "дозволено - активізуйте цю команду набором", "Are you sure?": "Ви впевнені?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "Прикріпити файл", "Attention to detail": "Увага до деталей", "Audio": "Аудіо", @@ -60,7 +63,6 @@ "Bad Response": "Неправильна відповідь", "before": "до того, як", "Being lazy": "Не поспішати", - "Beta": "", "Builder Mode": "Режим конструктора", "Bypass SSL verification for Websites": "Обхід SSL-перевірки для веб-сайтів", "Cancel": "Скасувати", @@ -170,6 +172,7 @@ "Enabled": "Увімкнено", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Переконайтеся, що ваш CSV-файл містить 4 колонки в такому порядку: Ім'я, Email, Пароль, Роль.", "Enter {{role}} message here": "Введіть повідомлення {{role}} тут", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Введіть перекриття фрагменту", "Enter Chunk Size": "Введіть розмір фрагменту", "Enter Image Size (e.g. 512x512)": "Введіть розмір зображення (напр., 512x512)", @@ -475,6 +478,7 @@ "variable": "змінна", "variable to have them replaced with clipboard content.": "змінна, щоб замінити їх вмістом буфера обміну.", "Version": "Версія", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Попередження: Якщо ви оновлюєте або змінюєте модель вбудовування, вам потрібно буде повторно імпортувати всі документи.", "Web": "Веб", "Web Loader Settings": "Налаштування веб-завантажувача", diff --git a/src/lib/i18n/locales/vi-VN/translation.json b/src/lib/i18n/locales/vi-VN/translation.json index 15828a6d7..08e32d6f0 100644 --- a/src/lib/i18n/locales/vi-VN/translation.json +++ b/src/lib/i18n/locales/vi-VN/translation.json @@ -10,6 +10,7 @@ "About": "Giới thiệu", "Account": "Tài khoản", "Accurate information": "Thông tin chính xác", + "Add": "", "Add a model": "Thêm mô hình", "Add a model tag name": "Thêm tên thẻ mô hình (tag)", "Add a short description about what this modelfile does": "Thêm mô tả ngắn về việc tệp mô tả mô hình (modelfile) này làm gì", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "Thêm tài liệu", "Add Files": "Thêm tệp", + "Add Memory": "", "Add message": "Thêm tin nhắn", "Add Model": "Thêm model", "Add Tags": "thêm thẻ", @@ -47,6 +49,7 @@ "Archived Chats": "bản ghi trò chuyện", "are allowed - Activate this command by typing": "được phép - Kích hoạt lệnh này bằng cách gõ", "Are you sure?": "Bạn có chắc chắn không?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "Đính kèm file", "Attention to detail": "Có sự chú ý đến chi tiết của vấn đề", "Audio": "Âm thanh", @@ -60,7 +63,6 @@ "Bad Response": "Trả lời KHÔNG tốt", "before": "trước", "Being lazy": "Lười biếng", - "Beta": "", "Builder Mode": "Chế độ Builder", "Bypass SSL verification for Websites": "", "Cancel": "Hủy bỏ", @@ -170,6 +172,7 @@ "Enabled": "Đã bật", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Đảm bảo tệp CSV của bạn bao gồm 4 cột theo thứ tự sau: Name, Email, Password, Role.", "Enter {{role}} message here": "Nhập yêu cầu của {{role}} ở đây", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "Nhập Chunk chồng lấn (overlap)", "Enter Chunk Size": "Nhập Kích thước Chunk", "Enter Image Size (e.g. 512x512)": "Nhập Kích thước ảnh (vd: 512x512)", @@ -475,6 +478,7 @@ "variable": "biến", "variable to have them replaced with clipboard content.": "biến để có chúng được thay thế bằng nội dung clipboard.", "Version": "Version", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "Cảnh báo: Nếu cập nhật hoặc thay đổi embedding model, bạn sẽ cần cập nhật lại tất cả tài liệu.", "Web": "Web", "Web Loader Settings": "Cài đặt Web Loader", diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index fe066b579..69b549eb9 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -10,6 +10,7 @@ "About": "关于", "Account": "账户", "Accurate information": "准确信息", + "Add": "", "Add a model": "添加模型", "Add a model tag name": "添加模型标签名称", "Add a short description about what this modelfile does": "为这个模型文件添加一段简短的描述", @@ -18,6 +19,7 @@ "Add custom prompt": "添加自定义提示词", "Add Docs": "添加文档", "Add Files": "添加文件", + "Add Memory": "", "Add message": "添加消息", "Add Model": "添加模型", "Add Tags": "添加标签", @@ -47,6 +49,7 @@ "Archived Chats": "聊天记录存档", "are allowed - Activate this command by typing": "允许 - 通过输入来激活这个命令", "Are you sure?": "你确定吗?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "附件", "Attention to detail": "注重细节", "Audio": "音频", @@ -60,7 +63,6 @@ "Bad Response": "不良响应", "before": "之前", "Being lazy": "懒惰", - "Beta": "", "Builder Mode": "构建模式", "Bypass SSL verification for Websites": "绕过网站的 SSL 验证", "Cancel": "取消", @@ -170,6 +172,7 @@ "Enabled": "启用", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "确保您的 CSV 文件按以下顺序包含 4 列: 姓名、电子邮件、密码、角色。", "Enter {{role}} message here": "在此处输入 {{role}} 信息", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "输入块重叠 (Chunk Overlap)", "Enter Chunk Size": "输入块大小 (Chunk Size)", "Enter Image Size (e.g. 512x512)": "输入图片大小 (例如 512x512)", @@ -475,6 +478,7 @@ "variable": "变量", "variable to have them replaced with clipboard content.": "变量将被剪贴板内容替换。", "Version": "版本", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "警告: 如果更新或更改 embedding 模型,则需要重新导入所有文档。", "Web": "网页", "Web Loader Settings": "Web 加载器设置", diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 5c2c882dc..4a13fa0e0 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -10,6 +10,7 @@ "About": "關於", "Account": "帳號", "Accurate information": "", + "Add": "", "Add a model": "新增模型", "Add a model tag name": "新增模型標籤", "Add a short description about what this modelfile does": "為這個 Modelfile 添加一段簡短的描述", @@ -18,6 +19,7 @@ "Add custom prompt": "", "Add Docs": "新增文件", "Add Files": "新增檔案", + "Add Memory": "", "Add message": "新增訊息", "Add Model": "", "Add Tags": "新增標籤", @@ -47,6 +49,7 @@ "Archived Chats": "聊天記錄存檔", "are allowed - Activate this command by typing": "是允許的 - 透過輸入", "Are you sure?": "你確定嗎?", + "As you chat with LLMs, the details and preferences it remembers will be shown here.": "", "Attach file": "", "Attention to detail": "", "Audio": "音訊", @@ -60,7 +63,6 @@ "Bad Response": "", "before": "", "Being lazy": "", - "Beta": "", "Builder Mode": "建構模式", "Bypass SSL verification for Websites": "", "Cancel": "取消", @@ -170,6 +172,7 @@ "Enabled": "已啟用", "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "", "Enter {{role}} message here": "在這裡輸入 {{role}} 訊息", + "Enter a detail about yourself for your LLMs to recall": "", "Enter Chunk Overlap": "輸入 Chunk Overlap", "Enter Chunk Size": "輸入 Chunk 大小", "Enter Image Size (e.g. 512x512)": "輸入圖片大小(例如 512x512)", @@ -475,6 +478,7 @@ "variable": "變數", "variable to have them replaced with clipboard content.": "變數將替換為剪貼簿內容。", "Version": "版本", + "View": "", "Warning: If you update or change your embedding model, you will need to re-import all documents.": "", "Web": "網頁", "Web Loader Settings": "", diff --git a/src/lib/workers/pyodide.worker.ts b/src/lib/workers/pyodide.worker.ts index e463ba8ba..ec2d12004 100644 --- a/src/lib/workers/pyodide.worker.ts +++ b/src/lib/workers/pyodide.worker.ts @@ -59,7 +59,11 @@ self.onmessage = async (event) => { // make sure loading is done await loadPyodideAndPackages(self.packages); - self.result = await self.pyodide.runPythonAsync(code); + try { + self.result = await self.pyodide.runPythonAsync(code); + } catch (error) { + self.stderr = error.toString(); + } self.postMessage({ id, result: self.result, stdout: self.stdout, stderr: self.stderr }); }; diff --git a/src/routes/(app)/+page.svelte b/src/routes/(app)/+page.svelte index 8aa99900c..013f5d196 100644 --- a/src/routes/(app)/+page.svelte +++ b/src/routes/(app)/+page.svelte @@ -202,6 +202,7 @@ user: _user ?? undefined, content: userPrompt, files: files.length > 0 ? files : undefined, + models: selectedModels.filter((m, mIdx) => selectedModels.indexOf(m) === mIdx), timestamp: Math.floor(Date.now() / 1000) // Unix epoch }; @@ -250,48 +251,50 @@ } }; - const sendPrompt = async (prompt, parentId) => { + const sendPrompt = async (prompt, parentId, modelId = null) => { const _chatId = JSON.parse(JSON.stringify($chatId)); await Promise.all( - (atSelectedModel !== '' ? [atSelectedModel.id] : selectedModels).map(async (modelId) => { - console.log('modelId', modelId); - const model = $models.filter((m) => m.id === modelId).at(0); + (modelId ? [modelId] : atSelectedModel !== '' ? [atSelectedModel.id] : selectedModels).map( + async (modelId) => { + console.log('modelId', modelId); + const model = $models.filter((m) => m.id === modelId).at(0); - if (model) { - // Create response message - let responseMessageId = uuidv4(); - let responseMessage = { - parentId: parentId, - id: responseMessageId, - childrenIds: [], - role: 'assistant', - content: '', - model: model.id, - timestamp: Math.floor(Date.now() / 1000) // Unix epoch - }; + if (model) { + // Create response message + let responseMessageId = uuidv4(); + let responseMessage = { + parentId: parentId, + id: responseMessageId, + childrenIds: [], + role: 'assistant', + content: '', + model: model.id, + timestamp: Math.floor(Date.now() / 1000) // Unix epoch + }; - // Add message to history and Set currentId to messageId - history.messages[responseMessageId] = responseMessage; - history.currentId = responseMessageId; + // Add message to history and Set currentId to messageId + history.messages[responseMessageId] = responseMessage; + history.currentId = responseMessageId; - // Append messageId to childrenIds of parent message - if (parentId !== null) { - history.messages[parentId].childrenIds = [ - ...history.messages[parentId].childrenIds, - responseMessageId - ]; + // Append messageId to childrenIds of parent message + if (parentId !== null) { + history.messages[parentId].childrenIds = [ + ...history.messages[parentId].childrenIds, + responseMessageId + ]; + } + + if (model?.external) { + await sendPromptOpenAI(model, prompt, responseMessageId, _chatId); + } else if (model) { + await sendPromptOllama(model, prompt, responseMessageId, _chatId); + } + } else { + toast.error($i18n.t(`Model {{modelId}} not found`, { modelId })); } - - if (model?.external) { - await sendPromptOpenAI(model, prompt, responseMessageId, _chatId); - } else if (model) { - await sendPromptOllama(model, prompt, responseMessageId, _chatId); - } - } else { - toast.error($i18n.t(`Model {{modelId}} not found`, { modelId })); } - }) + ) ); await chats.set(await getChatList(localStorage.token)); @@ -756,16 +759,14 @@ console.log('stopResponse'); }; - const regenerateResponse = async () => { + const regenerateResponse = async (message) => { console.log('regenerateResponse'); - if (messages.length != 0 && messages.at(-1).done == true) { - messages.splice(messages.length - 1, 1); - messages = messages; - let userMessage = messages.at(-1); + if (messages.length != 0) { + let userMessage = history.messages[message.parentId]; let userPrompt = userMessage.content; - await sendPrompt(userPrompt, userMessage.id); + await sendPrompt(userPrompt, userMessage.id, message.model); } }; diff --git a/src/routes/(app)/c/[id]/+page.svelte b/src/routes/(app)/c/[id]/+page.svelte index 1cf05aa7d..b002d9971 100644 --- a/src/routes/(app)/c/[id]/+page.svelte +++ b/src/routes/(app)/c/[id]/+page.svelte @@ -210,7 +210,8 @@ user: _user ?? undefined, content: userPrompt, files: files.length > 0 ? files : undefined, - timestamp: Math.floor(Date.now() / 1000) // Unix epoch + timestamp: Math.floor(Date.now() / 1000), // Unix epoch + models: selectedModels }; // Add message to history and Set currentId to messageId @@ -255,47 +256,51 @@ await sendPrompt(userPrompt, userMessageId); } }; - const sendPrompt = async (prompt, parentId) => { + + const sendPrompt = async (prompt, parentId, modelId = null) => { const _chatId = JSON.parse(JSON.stringify($chatId)); await Promise.all( - (atSelectedModel !== '' ? [atSelectedModel.id] : selectedModels).map(async (modelId) => { - const model = $models.filter((m) => m.id === modelId).at(0); + (modelId ? [modelId] : atSelectedModel !== '' ? [atSelectedModel.id] : selectedModels).map( + async (modelId) => { + console.log('modelId', modelId); + const model = $models.filter((m) => m.id === modelId).at(0); - if (model) { - // Create response message - let responseMessageId = uuidv4(); - let responseMessage = { - parentId: parentId, - id: responseMessageId, - childrenIds: [], - role: 'assistant', - content: '', - model: model.id, - timestamp: Math.floor(Date.now() / 1000) // Unix epoch - }; + if (model) { + // Create response message + let responseMessageId = uuidv4(); + let responseMessage = { + parentId: parentId, + id: responseMessageId, + childrenIds: [], + role: 'assistant', + content: '', + model: model.id, + timestamp: Math.floor(Date.now() / 1000) // Unix epoch + }; - // Add message to history and Set currentId to messageId - history.messages[responseMessageId] = responseMessage; - history.currentId = responseMessageId; + // Add message to history and Set currentId to messageId + history.messages[responseMessageId] = responseMessage; + history.currentId = responseMessageId; - // Append messageId to childrenIds of parent message - if (parentId !== null) { - history.messages[parentId].childrenIds = [ - ...history.messages[parentId].childrenIds, - responseMessageId - ]; + // Append messageId to childrenIds of parent message + if (parentId !== null) { + history.messages[parentId].childrenIds = [ + ...history.messages[parentId].childrenIds, + responseMessageId + ]; + } + + if (model?.external) { + await sendPromptOpenAI(model, prompt, responseMessageId, _chatId); + } else if (model) { + await sendPromptOllama(model, prompt, responseMessageId, _chatId); + } + } else { + toast.error($i18n.t(`Model {{modelId}} not found`, { modelId })); } - - if (model?.external) { - await sendPromptOpenAI(model, prompt, responseMessageId, _chatId); - } else if (model) { - await sendPromptOllama(model, prompt, responseMessageId, _chatId); - } - } else { - toast.error($i18n.t(`Model {{modelId}} not found`, { modelId })); } - }) + ) ); await chats.set(await getChatList(localStorage.token)); @@ -759,16 +764,14 @@ console.log('stopResponse'); }; - const regenerateResponse = async () => { + const regenerateResponse = async (message) => { console.log('regenerateResponse'); - if (messages.length != 0 && messages.at(-1).done == true) { - messages.splice(messages.length - 1, 1); - messages = messages; - let userMessage = messages.at(-1); + if (messages.length != 0) { + let userMessage = history.messages[message.parentId]; let userPrompt = userMessage.content; - await sendPrompt(userPrompt, userMessage.id); + await sendPrompt(userPrompt, userMessage.id, message.model); } }; diff --git a/src/routes/(app)/workspace/modelfiles/create/+page.svelte b/src/routes/(app)/workspace/modelfiles/create/+page.svelte index c1356d406..f7fe523a0 100644 --- a/src/routes/(app)/workspace/modelfiles/create/+page.svelte +++ b/src/routes/(app)/workspace/modelfiles/create/+page.svelte @@ -339,7 +339,7 @@ SYSTEM """${system}"""`.replace(/^\s*\n/gm, ''); if ( inputFiles && inputFiles.length > 0 && - ['image/gif', 'image/jpeg', 'image/png'].includes(inputFiles[0]['type']) + ['image/gif', 'image/webp', 'image/jpeg', 'image/png'].includes(inputFiles[0]['type']) ) { reader.readAsDataURL(inputFiles[0]); } else { diff --git a/src/routes/(app)/workspace/modelfiles/edit/+page.svelte b/src/routes/(app)/workspace/modelfiles/edit/+page.svelte index 272c07736..d2f0a1c10 100644 --- a/src/routes/(app)/workspace/modelfiles/edit/+page.svelte +++ b/src/routes/(app)/workspace/modelfiles/edit/+page.svelte @@ -238,7 +238,7 @@ if ( inputFiles && inputFiles.length > 0 && - ['image/gif', 'image/jpeg', 'image/png'].includes(inputFiles[0]['type']) + ['image/gif', 'image/webp', 'image/jpeg', 'image/png'].includes(inputFiles[0]['type']) ) { reader.readAsDataURL(inputFiles[0]); } else {