Unverified Commit 123620bc authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge branch 'dev' into dev

parents 99dd81d7 dbdf83c5
......@@ -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 === ''}
>
......
<script lang="ts">
import { v4 as uuidv4 } from 'uuid';
import { chats, config, modelfiles, settings, user as _user } from '$lib/stores';
import { chats, config, modelfiles, settings, user as _user, mobile } from '$lib/stores';
import { tick, getContext } from 'svelte';
import { toast } from 'svelte-sonner';
......@@ -13,6 +13,8 @@
import Spinner from '../common/Spinner.svelte';
import { imageGenerations } from '$lib/apis/images';
import { copyToClipboard, findWordIndices } from '$lib/utils';
import CompareMessages from './Messages/CompareMessages.svelte';
import { stringify } from 'postcss';
const i18n = getContext('i18n');
......@@ -28,10 +30,10 @@
export let processing = '';
export let bottomPadding = false;
export let autoScroll;
export let selectedModels;
export let history = {};
export let messages = [];
export let selectedModels;
export let selectedModelfiles = [];
$: if (autoScroll && bottomPadding) {
......@@ -63,7 +65,8 @@
childrenIds: [],
role: 'user',
content: userPrompt,
...(history.messages[messageId].files && { files: history.messages[messageId].files })
...(history.messages[messageId].files && { files: history.messages[messageId].files }),
models: selectedModels.filter((m, mIdx) => selectedModels.indexOf(m) === mIdx)
};
let messageParentId = history.messages[messageId].parentId;
......@@ -79,7 +82,7 @@
history.currentId = userMessageId;
await tick();
await sendPrompt(userPrompt, userMessageId, chatId);
await sendPrompt(userPrompt, userMessageId);
};
const updateChatMessages = async () => {
......@@ -309,7 +312,7 @@
{showNextMessage}
copyToClipboard={copyToClipboardWithToast}
/>
{:else}
{:else if $mobile || (history.messages[message.parentId]?.models?.length ?? 1) === 1}
{#key message.id}
<ResponseMessage
{message}
......@@ -337,6 +340,32 @@
}}
/>
{/key}
{:else}
{#key message.parentId}
<CompareMessages
bind:history
{messages}
{chatId}
parentMessage={history.messages[message.parentId]}
{messageIdx}
{selectedModelfiles}
{updateChatMessages}
{confirmEditResponseMessage}
{rateMessage}
copyToClipboard={copyToClipboardWithToast}
{continueGeneration}
{regenerateResponse}
on:change={() => {
const element = document.getElementById('messages-container');
autoScroll =
element.scrollHeight - element.scrollTop <= element.clientHeight + 50;
setTimeout(() => {
scrollToBottom();
}, 100);
}}
/>
{/key}
{/if}
</div>
</div>
......
......@@ -5,7 +5,7 @@
import 'highlight.js/styles/github-dark.min.css';
import { loadPyodide } from 'pyodide';
import { tick } from 'svelte';
import PyodideWorker from '../../../workers/pyodide.worker?worker';
import PyodideWorker from '$lib/workers/pyodide.worker?worker';
export let id = '';
......@@ -286,7 +286,7 @@ __builtins__.input = input`);
<div class="p-1">{@html lang}</div>
<div class="flex items-center">
{#if lang === 'python' || checkPythonCode(code)}
{#if ['', 'python'].includes(lang) && (lang === 'python' || checkPythonCode(code))}
{#if executing}
<div class="copy-code-button bg-none border-none p-1 cursor-not-allowed">Running</div>
{:else}
......
<script lang="ts">
import { createEventDispatcher } from 'svelte';
import { updateChatById } from '$lib/apis/chats';
import { onMount, tick } from 'svelte';
import ResponseMessage from './ResponseMessage.svelte';
export let chatId;
export let history;
export let messages = [];
export let messageIdx;
export let parentMessage;
export let selectedModelfiles;
export let updateChatMessages: Function;
export let confirmEditResponseMessage: Function;
export let rateMessage: Function;
export let copyToClipboard: Function;
export let continueGeneration: Function;
export let regenerateResponse: Function;
const dispatch = createEventDispatcher();
let currentMessageId;
let groupedMessagesIdx = {};
let groupedMessages = {};
$: groupedMessages = parentMessage?.models.reduce((a, model) => {
const modelMessages = parentMessage?.childrenIds
.map((id) => history.messages[id])
.filter((m) => m.model === model);
return {
...a,
[model]: { messages: modelMessages }
};
}, {});
onMount(async () => {
await tick();
currentMessageId = messages[messageIdx].id;
for (const model of parentMessage?.models) {
const idx = groupedMessages[model].messages.findIndex((m) => m.id === currentMessageId);
if (idx !== -1) {
groupedMessagesIdx[model] = idx;
} else {
groupedMessagesIdx[model] = 0;
}
}
});
</script>
<div>
<div
class="flex snap-x snap-mandatory overflow-x-auto scrollbar-hidden"
id="responses-container-{parentMessage.id}"
>
{#each Object.keys(groupedMessages) as model}
{#if groupedMessagesIdx[model] !== undefined && groupedMessages[model].messages.length > 0}
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div
class=" snap-center min-w-80 w-full max-w-full m-1 outline outline-1 {history.messages[
currentMessageId
].model === model
? 'outline-gray-200 dark:outline-gray-700 outline-2'
: 'outline-gray-100 dark:outline-gray-850 '} transition p-6 rounded-3xl"
on:click={() => {
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');
}}
>
<ResponseMessage
message={groupedMessages[model].messages[groupedMessagesIdx[model]]}
modelfiles={selectedModelfiles}
siblings={groupedMessages[model].messages.map((m) => 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
});
}}
/>
</div>
{/if}
{/each}
</div>
</div>
......@@ -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}
<div class="flex self-center" dir="ltr">
<div class="flex self-center min-w-fit" dir="ltr">
<button
class="self-center p-1 hover:bg-black/5 dark:hover:bg-white/5 dark:hover:text-white hover:text-black rounded-md transition"
on:click={() => {
......@@ -523,7 +523,7 @@
</button>
<div
class="text-sm tracking-widest font-semibold self-center dark:text-gray-100"
class="text-sm tracking-widest font-semibold self-center dark:text-gray-100 min-w-fit"
>
{siblings.indexOf(message.id) + 1}/{siblings.length}
</div>
......@@ -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);
}}
>
<svg
xmlns="http://www.w3.org/2000/svg"
......
......@@ -127,7 +127,7 @@
if (
files.length > 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]);
}
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
......@@ -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": "",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment