2023-08-25 02:11:27 +02:00
// Russian phrases
export default {
2024-03-11 17:31:32 +03:00
com_sidepanel_select_assistant : 'Выбрать Ассистента' ,
com_sidepanel_assistant_builder : 'Конструктор Ассистента' ,
com_sidepanel_attach_files : 'Прикрепить файлы' ,
com_sidepanel_manage_files : 'Управление файлами' ,
com_assistants_code_interpreter : 'Интерпретатор кода' ,
2024-03-14 18:26:44 +03:00
com_assistants_code_interpreter_files : 'Следующие файлы доступны только для Интерпретатора кода:' ,
2023-08-25 02:11:27 +02:00
com_ui_examples : 'Примеры' ,
2023-11-13 04:49:12 +03:00
com_ui_new_chat : 'Создать чат' ,
2024-02-11 15:10:12 +01:00
com_ui_happy_birthday : 'Это мой первый день рождения!' ,
2023-12-30 01:28:59 +03:00
com_ui_example_quantum_computing : 'Объясни квантовые вычисления простыми словами' ,
2024-01-17 08:13:46 -05:00
com_ui_example_10_year_old_b_day :
'У тебя есть креативные идеи для дня рождения 10-летнего ребенка?' ,
2023-12-30 01:28:59 +03:00
com_ui_example_http_in_js : 'Как мне сделать HTTP-запрос в JavaScript?' ,
2023-08-25 02:11:27 +02:00
com_ui_capabilities : 'Возможности' ,
com_ui_capability_remember : 'Запоминает, что пользователь говорил ранее в разговоре' ,
com_ui_capability_correction : 'Позволяет пользователю вносить корректировки после ответа' ,
com_ui_capability_decline_requests : 'Обучен отклонять неподходящие запросы' ,
com_ui_limitations : 'Ограничения' ,
com_ui_limitation_incorrect_info : 'Иногда может генерировать некорректную информацию' ,
com_ui_limitation_harmful_biased :
'Иногда может создавать вредные инструкции или предвзятое содержимое' ,
com_ui_limitation_limited_2021 : 'Ограниченные знания о мире и событиях после 2021 года' ,
2024-01-08 22:12:05 +03:00
com_ui_experimental : 'Экспериментальный' ,
2023-08-25 02:11:27 +02:00
com_ui_input : 'Ввод' ,
com_ui_close : 'Закрыть' ,
com_ui_model : 'Модель' ,
com_ui_select_model : 'Выберите модель' ,
2023-12-30 01:28:59 +03:00
com_ui_use_prompt : 'Использовать промт' ,
2023-08-25 02:11:27 +02:00
com_ui_prev : 'Предыдущий' ,
com_ui_next : 'Следующий' ,
2023-12-30 01:28:59 +03:00
com_ui_stop : 'Остановить генерацию' ,
com_ui_prompt_templates : 'Шаблоны промтов' ,
com_ui_hide_prompt_templates : 'Скрыть шаблоны промтов' ,
com_ui_showing : 'Показано' ,
com_ui_of : 'из' ,
com_ui_entries : 'записей' ,
com_ui_pay_per_call : 'В с е AI-разговоры в одном месте. Оплачивайте за вызовы, а не за месяц' ,
com_ui_new_footer : 'В с е AI-разговоры в одном месте.' ,
com_ui_enter : 'Ввести' ,
com_ui_submit : 'Отправить' ,
com_ui_upload_success : 'Файл успешно загружен' ,
com_ui_upload_invalid : 'Недопустимый файл для загрузки' ,
2023-11-13 04:49:12 +03:00
com_ui_cancel : 'Отмена' ,
2023-12-02 02:10:17 +03:00
com_ui_save : 'Сохранить' ,
2024-01-08 22:12:05 +03:00
com_ui_save_submit : 'Сохранить и отправить' ,
2023-12-30 01:28:59 +03:00
com_ui_copy_to_clipboard : 'Копировать в буфер обмена' ,
com_ui_copied_to_clipboard : 'Скопировано в буфер обмена' ,
com_ui_regenerate : 'Повторная генерация' ,
com_ui_continue : 'Продолжить' ,
com_ui_edit : 'Редактировать' ,
com_ui_success : 'Успешно' ,
com_ui_all : 'все' ,
com_ui_clear : 'Удалить' ,
com_ui_revoke : 'Отозвать' ,
com_ui_revoke_info : 'Отозвать все предоставленные пользователем учетные данные' ,
2024-05-02 08:48:26 +02:00
com_ui_import_conversation : 'Импортировать' ,
com_ui_import_conversation_info : 'Импортировать беседы из файла JSON' ,
com_ui_import_conversation_success : 'Беседы успешно импортированы' ,
com_ui_import_conversation_error : 'При импорте бесед произошла ошибка' ,
2023-12-02 02:10:17 +03:00
com_ui_confirm_action : 'Подтвердить действие' ,
2023-12-30 01:28:59 +03:00
com_ui_chats : 'чаты' ,
2023-11-13 04:49:12 +03:00
com_ui_delete : 'Удалить' ,
2023-12-30 21:25:37 +03:00
com_ui_preview : 'Предпросмотр' ,
com_ui_upload : 'Загрузить' ,
com_ui_connect : 'Подключить' ,
2023-11-13 04:49:12 +03:00
com_ui_delete_conversation : 'Удалить чат?' ,
com_ui_delete_conversation_confirm : 'Будет удален следующий чат: ' ,
🚀feat: Archive conversations (#2590)
* 🔧chore: add internationalization labels for archive feature
* ✨ feat: Add function to useArchiveConversationMutation()
This commit adds a new mutation function `useArchiveConversationMutation()` for archiving conversations. This function takes the ID string of the conversation to be archived and returns a mutation result object. Upon successful archiving, it removes and refreshes the conversation from the query data cache.
While ChatGPT PATCHes the archived status by sending `{is_archived: true}` to the URL `/backend-api/conversation/$conversation_id`, this implementation uses the `dataService.updateConversation(payload)` with a POST method, aligning with the existing code conventions.
* ✨ feat(api): add is_archived field to Conversation schema and update getConvosByPage method
This commit adds a new field `is_archived` with a default value of false to the Conversation schema. It also modifies the `getConvosByPage` method within the Conversation API to adjust the query to only target conversations where `is_archived` is set to false or where the `is_archived` field does not exist. The function `getConvosQueried`, which returns conversations for a specified Conversation ID, was determined not to require consideration of whether `is_archived` is true or false, and thus was not modified.
* ♻️ refactor: add className prop to DotsIcon component
To enhance the versatility of the DotsIcon component, this commit introduces the ability to specify a className prop, allowing for greater customization.
* ✨ feat(ui): add Edit Button to group Title change and Conversation delete buttons
Added a new Edit Button to the conversations, similar to the ChatGPT UI, which groups options for editing the conversation title and deleting conversations. This grouping is accessible through a dialogue that appears when the three-dot icon is clicked.
* ♻️ refactor(ui): enhance Delete Button to accept className and label options
Enhanced the Delete Button component to accept a `className` for customization and an optional `appendLabel`. The DeleteButton component is used by both `Convo.tsx` and `Conversation.tsx`, but currently only `Convo.tsx` is active and `Conversation.tsx `is apparently not used; removing `Conversation.tsx` may eliminate the need for the `appendLabel` property in the future.
* ♻️ refactor(ui): enhance RenameButton to accept label options
Added the ability to optionally display labels; the Rename Button component is used by both `Convo.tsx` and `Conversation.tsx`, but currently only `Convo.tsx` is active and `Conversation.tsx `is apparently not used; removing `Conversation.tsx` may eliminate the need for the `appendLabel` property in the future.
* 🔧 chors: additional localization labels
* ♻️ refactor: change is_archived property of conversation to camelCase
* Refactor the is_archived property of conversation to camelCase (isArchived) to adhere to the existing code conventions
* Modify the function that retrieves conversations to accept the isArchived parameter
* ♻️ refactor: add archiveConversation mutation
I thought I could divert dataService.updateConversation, but added a new archiveConversation because the request types are different. It might be better to make them common, but to avoid side effects, I added a new function this time.
Added process to deleteConversationMutation to delete archived conversations
* ✨ feat: Add the function to hide a cancel button in DialogTemplate component
The Cancel button is not needed when displaying the archive list, so I made the Cancel button optional.
* ♻️ refactor: Add support for filtering archived conversations in Nav component
This commit modifies the Nav component to add the ability to filter out archived conversations when fetching data. This is done by adding `isArchived: false` to the query parameters for both the `useConversationsInfiniteQuery()` and `useSearchInfiniteQuery()` hooks, effectively excluding any archived conversations from the results returned.
* ♻️ refactor: add Tooltip to DeleteButton
* Add Tooltip to DeleteButton component
* Display Tooltip when DeleteButton only shows an Icon without text
* ✨ feat(ui): add ArchiveButton component for archiving conversations
To be compatible with the ChatGPT UI, no confirmation dialog is displayed when ArchiveButton is clicked. The basic behavior conforms to DeleteButton and RenameButton.
* ✨ feat(ui): add Archive button to list of conversations
Modify the Nav of the conversation list to include a dropdown that contains the Rename and Delete options, similar to the ChatGPT UI. Additionally, an Archive button has been added adjacent to the dropdown menu.
* ✨ feat: Add ArchivedChatsTable component
Adds the `ArchivedChatsTable` component, which displays a table of archived chats. It has been implemented to be as compatible with the ChatGPT UI as possible.
* 🚑 fix(tooltip): increase z-index to ensure visibility over Dialog
Resolve an issue where tooltips were not visible when displayed over a Dialog. The z-index of `DialogPrimitive.Portal` in `Dialog.tsx` is set to 999. Since the rationale for this value is unclear, the z-index of the tooltip has been increased to 1000 to guarantee its visibility above the Dialog component.
* 🔧 chors: add internationalization labels
2024-05-06 20:07:00 -07:00
com_ui_rename : 'Переименовать' ,
com_ui_archive : 'Архивировать' ,
com_ui_archive_error : 'Nie udało się archiwizować rozmowy' ,
com_ui_unarchive : 'разархивировать' ,
com_ui_unarchive_error : 'Nie udało się odtworzyć rozmowy z archiwum' ,
com_ui_more_options : 'Еще' ,
2023-08-25 02:11:27 +02:00
com_auth_error_login :
'Н е удалось войти с предоставленной информацией. Пожалуйста, проверьте ваши учетные данные и попробуйте снова.' ,
2024-01-17 08:13:46 -05:00
com_auth_error_login_rl :
2023-12-30 01:28:59 +03:00
'Слишком много попыток входа в систему за короткий промежуток времени. Пожалуйста, повторите попытку позже.' ,
com_auth_error_login_ban :
'Ваша учетная запись была временно заблокирована в связи с нарушениями нашего сервиса.' ,
com_auth_error_login_server :
'Произошла внутренняя ошибка сервера. Пожалуйста, подождите несколько минут и повторите попытку.' ,
com_auth_no_account : 'Еще не зарегистрированы?' ,
2023-08-25 02:11:27 +02:00
com_auth_sign_up : 'Зарегистрироваться' ,
com_auth_sign_in : 'Войти' ,
com_auth_google_login : 'Войти с помощью Google' ,
2023-12-30 01:28:59 +03:00
com_auth_facebook_login : 'Войти с помощью Facebook' ,
2023-08-25 02:11:27 +02:00
com_auth_github_login : 'Войти с помощью Github' ,
com_auth_discord_login : 'Войти с помощью Discord' ,
com_auth_email : 'Email' ,
com_auth_email_required : 'Email обязателен' ,
com_auth_email_min_length : 'Email должен содержать не менее 6 символов' ,
com_auth_email_max_length : 'Email не может быть длиннее 120 символов' ,
com_auth_email_pattern : 'Вы должны ввести действительный адрес электронной почты' ,
com_auth_email_address : 'Адрес электронной почты' ,
com_auth_password : 'Пароль' ,
com_auth_password_required : 'Пароль обязателен' ,
com_auth_password_min_length : 'Пароль должен содержать не менее 8 символов' ,
com_auth_password_max_length : 'Пароль должен быть не более 128 символов' ,
com_auth_password_forgot : 'Забыли пароль?' ,
com_auth_password_confirm : 'Подтвердите пароль' ,
com_auth_password_not_match : 'Пароли не совпадают' ,
com_auth_continue : 'Продолжить' ,
com_auth_create_account : 'Создать аккаунт' ,
com_auth_error_create :
'Возникла ошибка при попытке зарегистрировать ваш аккаунт. Пожалуйста, попробуйте еще раз.' ,
com_auth_full_name : 'Полное имя' ,
com_auth_name_required : 'Имя обязательно' ,
com_auth_name_min_length : 'Имя должно содержать не менее 3 символов' ,
com_auth_name_max_length : 'Имя должно быть короче 80 символов' ,
2023-12-02 02:10:17 +03:00
com_auth_username : 'Имя пользователя (необязательно)' ,
2023-08-25 02:11:27 +02:00
com_auth_username_required : 'Имя пользователя обязательно' ,
2023-12-30 01:28:59 +03:00
com_auth_username_min_length : 'Имя пользователя должно содержать не менее 2 символов' ,
2023-08-25 02:11:27 +02:00
com_auth_username_max_length : 'Имя пользователя должно быть не более 20 символов' ,
2023-12-30 01:28:59 +03:00
com_auth_already_have_account : 'Уже зарегистрированы?' ,
2023-08-25 02:11:27 +02:00
com_auth_login : 'Войти' ,
com_auth_reset_password : 'Сбросить пароль' ,
com_auth_click : 'Нажмите' ,
com_auth_here : 'ЗДЕСЬ' ,
2023-12-30 01:28:59 +03:00
com_auth_to_reset_your_password : 'чтобы сбросить ваш пароль.' ,
2023-08-25 02:11:27 +02:00
com_auth_reset_password_link_sent : 'Письмо отправлено' ,
com_auth_reset_password_email_sent :
'Н а вашу почту было отправлено письмо с дальнейшими инструкциями по с б р о с у пароля.' ,
com_auth_error_reset_password :
'При с б р о с е пароля возникла проблема. Пользователь с указанным адресом электронной почты не найден. Пожалуйста, попробуйте еще раз.' ,
com_auth_reset_password_success : 'С б р о с пароля успешно выполнен' ,
com_auth_login_with_new_password : 'Теперь вы можете войти с новым паролем.' ,
com_auth_error_invalid_reset_token : 'Этот токен с б р о с а пароля больше не действителен.' ,
com_auth_click_here : 'Нажмите здесь' ,
com_auth_to_try_again : 'чтобы попробовать снова.' ,
com_auth_submit_registration : 'Отправить регистрацию' ,
2023-12-02 02:10:17 +03:00
com_auth_welcome_back : 'Добро пожаловать' ,
2024-03-11 17:31:32 +03:00
com_auth_back_to_login : 'Вернуться к авторизации' ,
refactor: Encrypt & Expire User Provided Keys, feat: Rate Limiting (#874)
* docs: make_your_own.md formatting fix for mkdocs
* feat: add express-mongo-sanitize
feat: add login/registration rate limiting
* chore: remove unnecessary console log
* wip: remove token handling from localStorage to encrypted DB solution
* refactor: minor change to UserService
* fix mongo query and add keys route to server
* fix backend controllers and simplify schema/crud
* refactor: rename token to key to separate from access/refresh tokens, setTokenDialog -> setKeyDialog
* refactor(schemas): TEndpointOption token -> key
* refactor(api): use new encrypted key retrieval system
* fix(SetKeyDialog): fix key prop error
* fix(abortMiddleware): pass random UUID if messageId is not generated yet for proper error display on frontend
* fix(getUserKey): wrong prop passed in arg, adds error handling
* fix: prevent message without conversationId from saving to DB, prevents branching on the frontend to a new top-level branch
* refactor: change wording of multiple display messages
* refactor(checkExpiry -> checkUserKeyExpiry): move to UserService file
* fix: type imports from common
* refactor(SubmitButton): convert to TS
* refactor(key.ts): change localStorage map key name
* refactor: add new custom tailwind classes to better match openAI colors
* chore: remove unnecessary warning and catch ScreenShot error
* refactor: move userKey frontend logic to hooks and remove use of localStorage and instead query the DB
* refactor: invalidate correct query key, memoize userKey hook, conditionally render SetKeyDialog to avoid unnecessary calls, refactor SubmitButton props and useEffect for showing 'provide key first'
* fix(SetKeyDialog): use enum-like object for expiry values
feat(Dropdown): add optionsClassName to dynamically change dropdown options container classes
* fix: handle edge case where user had provided a key but the server changes to env variable for keys
* refactor(OpenAI/titleConvo): move titling to client to retain authorized credentials in message lifecycle for titling
* fix(azure): handle user_provided keys correctly for azure
* feat: send user Id to OpenAI to differentiate users in completion requests
* refactor(OpenAI/titleConvo): adding tokens helps minimize LLM from using the language in title response
* feat: add delete endpoint for keys
* chore: remove throttling of title
* feat: add 'Data controls' to Settings, add 'Revoke' keys feature in Key Dialog and Data controls
* refactor: reorganize PluginsClient files in langchain format
* feat: use langchain for titling convos
* chore: cleanup titling convo, with fallback to original method, escape braces, use only snippet for language detection
* refactor: move helper functions to appropriate langchain folders for reusability
* fix: userProvidesKey handling for gptPlugins
* fix: frontend handling of plugins key
* chore: cleanup logging and ts-ignore SSE
* fix: forwardRef misuse in DangerButton
* fix(GoogleConfig/FileUpload): localize errors and simplify validation with zod
* fix: cleanup google logging and fix user provided key handling
* chore: remove titling from google
* chore: removing logging from browser endpoint
* wip: fix menu flicker
* feat: useLocalStorage hook
* feat: add Tooltip for UI
* refactor(EndpointMenu): utilize Tooltip and useLocalStorage, remove old 'New Chat' slide-over
* fix(e2e): use testId for endpoint menu trigger
* chore: final touches to EndpointMenu before future refactor to declutter component
* refactor(localization): change select endpoint to open menu and add translations
* chore: add final prop to error message response
* ci: minor edits to facilitate testing
* ci: new e2e test which tests for new key setting/revoking features
2023-09-06 10:46:27 -04:00
com_endpoint_open_menu : 'Открыть меню' ,
2023-12-30 01:28:59 +03:00
com_endpoint_bing_enable_sydney : 'Включить Sydney' ,
com_endpoint_bing_to_enable_sydney : 'Чтобы включить Sydney' ,
2023-08-25 02:11:27 +02:00
com_endpoint_bing_jailbreak : 'Jailbreak' ,
com_endpoint_bing_context_placeholder :
'Bing может использовать до 7 тысяч токенов для "контекста", на который он может ссылаться в разговоре. Точный предел неизвестен, но превышение 7 тысяч токенов может вызвать ошибки.' ,
com_endpoint_bing_system_message_placeholder :
2023-12-30 01:28:59 +03:00
'ПРЕДУПРЕЖДЕНИЕ: Неправильное использование этой функции может привести к БАНУ на использование Bing! Нажмите на "Системное сообщение" для получения полных инструкций и значения по умолчанию, которое является предустановкой "Sydney", считающейся безопасной.' ,
2023-08-25 02:11:27 +02:00
com_endpoint_system_message : 'Системное сообщение' ,
2023-12-30 01:28:59 +03:00
com_endpoint_message : 'Сообщение' ,
com_endpoint_message_not_appendable : 'Отредактируйте свое сообщение или перегенерируйте.' ,
2023-08-25 02:11:27 +02:00
com_endpoint_default_blank : 'по умолчанию: пусто' ,
com_endpoint_default_false : 'по умолчанию: false' ,
com_endpoint_default_creative : 'по умолчанию: креативный' ,
com_endpoint_default_empty : 'по умолчанию: пусто' ,
com_endpoint_default_with_num : 'по умолчанию: {0}' ,
com_endpoint_context : 'Контекст' ,
com_endpoint_tone_style : 'Стиль тона' ,
com_endpoint_token_count : 'Количество токенов' ,
com_endpoint_output : 'Вывод' ,
com_endpoint_google_temp :
'Более высокие значения = более случайные результаты, более низкие значения = более фокусированные и детерминированные результаты. Мы рекомендуем изменять это или Top P, но не о б а значения одновременно.' ,
com_endpoint_google_topp :
2023-12-30 01:28:59 +03:00
'Top-p изменяет то, как модель выбирает токены для вывода. Токены выбираются из наиболее вероятных K (см. параметр topK) до наименее вероятных, пока сумма их вероятностей не достигнет значения top-p.' ,
2023-08-25 02:11:27 +02:00
com_endpoint_google_topk :
2023-12-30 01:28:59 +03:00
'Top-k изменяет то, как модель выбирает токены для вывода. Top-k равное 1 означает, что выбирается наиболее вероятный токен из всего словаря модели (так называемое жадное декодирование), а Top-k равное 3 означает, что следующий токен выбирается из трех наиболее вероятных токенов (с использованием температуры).' ,
2023-08-25 02:11:27 +02:00
com_endpoint_google_maxoutputtokens :
2023-12-30 01:28:59 +03:00
' Максимальное количество токенов, которые могут быть сгенерированы в ответе. Укажите меньшее значение для более коротких ответов и большее значение для более длинных ответов.' ,
com_endpoint_google_custom_name_placeholder : 'Задайте кастомное имя для Google' ,
2024-01-17 08:13:46 -05:00
com_endpoint_prompt_prefix_placeholder :
'Задайте пользовательские инструкции или контекст. Игнорируется, если пусто.' ,
2023-12-30 01:28:59 +03:00
com_endpoint_custom_name : 'Кастомное имя' ,
com_endpoint_prompt_prefix : 'Префикс промта' ,
2023-08-25 02:11:27 +02:00
com_endpoint_temperature : 'Температура' ,
com_endpoint_default : 'по умолчанию' ,
com_endpoint_top_p : 'Top P' ,
com_endpoint_top_k : 'Top K' ,
2023-12-30 01:28:59 +03:00
com_endpoint_max_output_tokens : 'Максимальное количество выводимых токенов' ,
2023-08-25 02:11:27 +02:00
com_endpoint_openai_temp :
'Более высокие значения = более случайные результаты, более низкие значения = более фокусированные и детерминированные результаты. Мы рекомендуем изменять это или Top P, но не о б а значения одновременно.' ,
com_endpoint_openai_max :
'Максимальное количество генерируемых токенов. Общая длина входных токенов и сгенерированных токенов ограничена длиной контекста модели.' ,
com_endpoint_openai_topp :
'Альтернатива выбору с использованием температуры, называемая выбором по ядру, при которой модель учитывает результаты токенов с наибольшей вероятностью top_p. Таким образом, значение 0,1 означает, что рассматриваются только токены, составляющие верхние 10% вероятностной массы. Мы рекомендуем изменять это или температуру, но не о б а значения одновременно.' ,
com_endpoint_openai_freq :
'Число от -2.0 до 2.0. Положительные значения штрафуют новые токены на основе их частоты в тексте до сих пор, уменьшая вероятность модели повторить ту же строку дословно.' ,
com_endpoint_openai_pres :
'Число от -2.0 до 2.0. Положительные значения штрафуют новые токены на основе того, появляются ли они в тексте до сих пор, увеличивая вероятность модели говорить о новых темах.' ,
2023-12-30 01:28:59 +03:00
com_endpoint_openai_custom_name_placeholder : 'Задайте кастомное имя для ChatGPT' ,
2023-08-25 02:11:27 +02:00
com_endpoint_openai_prompt_prefix_placeholder :
2023-12-30 01:28:59 +03:00
'Задайте кастомные промты для включения в системное сообщение. По умолчанию: нет' ,
2023-08-25 02:11:27 +02:00
com_endpoint_anthropic_temp :
'Диапазон значений от 0 до 1. Используйте значение temp ближе к 0 для аналитических / множественного выбора и ближе к 1 для креативных и генеративных задач. Мы рекомендуем изменять это или Top P, но не о б а значения одновременно.' ,
com_endpoint_anthropic_topp :
'Top P изменяет то, как модель выбирает токены для вывода. Токены выбираются из наиболее вероятных (см. параметр topK) до наименее вероятных, пока сумма их вероятностей не достигнет значения top-p.' ,
com_endpoint_anthropic_topk :
'Top K изменяет то, как модель выбирает токены для вывода. Top K равное 1 означает, что выбирается наиболее вероятный токен из всего словаря модели (так называемое жадное декодирование), а Top K равное 3 означает, что следующий токен выбирается из трех наиболее вероятных токенов (с использованием температуры).' ,
com_endpoint_anthropic_maxoutputtokens :
'Максимальное количество токенов, которые могут быть сгенерированы в ответе. Укажите меньшее значение для более коротких ответов и большее значение для более длинных ответов.' ,
2024-01-17 08:13:46 -05:00
com_endpoint_anthropic_custom_name_placeholder : 'Задайте кастомное имя для Anthropic' ,
2023-08-25 02:11:27 +02:00
com_endpoint_frequency_penalty : 'Штраф за частоту' ,
com_endpoint_presence_penalty : 'Штраф за присутствие' ,
com_endpoint_plug_use_functions : 'Использовать функции' ,
com_endpoint_plug_skip_completion : 'Пропустить завершение' ,
2023-12-30 01:28:59 +03:00
com_endpoint_disabled_with_tools : 'отключено с плагинами' ,
com_endpoint_disabled_with_tools_placeholder : 'Отключено при включённых плагинах' ,
2023-08-25 02:11:27 +02:00
com_endpoint_plug_set_custom_instructions_for_gpt_placeholder :
2023-12-30 01:28:59 +03:00
'Задайте кастомные инструкции для включения в системное сообщение. По умолчанию: нет' ,
2024-03-11 17:31:32 +03:00
com_endpoint_import : 'Импорт' ,
2024-01-17 08:13:46 -05:00
com_endpoint_set_custom_name :
'Задайте кастомное имя на случай, если вы сможете найти эту предустановку :)' ,
2023-12-30 01:28:59 +03:00
com_endpoint_preset_delete_confirm : 'Вы уверены, что хотите удалить этот пресет?' ,
com_endpoint_preset_clear_all_confirm : 'Вы уверены, что хотите удалить все ваши пресеты?' ,
com_endpoint_preset_import : 'Пресет Импортирован!' ,
2024-01-17 08:13:46 -05:00
com_endpoint_preset_import_error :
'Произошла ошибка при импорте вашего пресета. Пожалуйста, попробуйте еще раз.' ,
com_endpoint_preset_save_error :
'Произошла ошибка при сохранении вашего пресета. Пожалуйста, попробуйте еще раз.' ,
com_endpoint_preset_delete_error :
'Произошла ошибка при удалении вашего пресета. Пожалуйста, попробуйте еще раз.' ,
2023-12-30 01:28:59 +03:00
com_endpoint_preset_default_removed : 'больше не пресет по умолчанию.' ,
com_endpoint_preset_default_item : 'По умолчанию:' ,
2024-03-11 17:31:32 +03:00
com_endpoint_preset_default_none : 'Активных пресетов по умолчанию нет.' ,
2023-12-30 01:28:59 +03:00
com_endpoint_preset_title : 'Пресет' ,
com_endpoint_preset_saved : 'Сохранено!' ,
com_endpoint_preset_default : 'теперь пресет По умолчаанию.' ,
com_endpoint_preset : 'пресет' ,
com_endpoint_presets : 'пресеты' ,
com_endpoint_preset_selected : 'Пресет Активирован!' ,
com_endpoint_preset_selected_title : 'Активирован!' ,
com_endpoint_preset_name : 'Имя пресета' ,
2023-08-25 02:11:27 +02:00
com_endpoint_new_topic : 'Новая тема' ,
2023-12-30 01:28:59 +03:00
com_endpoint : 'Эндпоинт' ,
2023-08-25 02:11:27 +02:00
com_endpoint_hide : 'Скрыть' ,
com_endpoint_show : 'Показать' ,
com_endpoint_examples : 'Примеры' ,
com_endpoint_completion : 'Завершение' ,
com_endpoint_agent : 'Агент' ,
com_endpoint_show_what_settings : 'Показать настройки {0}' ,
com_endpoint_save : 'Сохранить' ,
2024-03-11 17:31:32 +03:00
com_endpoint_export : 'Экспорт' ,
2023-12-30 01:28:59 +03:00
com_endpoint_save_as_preset : 'Сохранить как Пресет' ,
2023-12-02 02:10:17 +03:00
com_endpoint_presets_clear_warning :
2023-12-30 01:28:59 +03:00
'Вы уверены, что хотите удалить все пресеты? Это действие необратимо и восстановление невозможно.' ,
com_endpoint_not_implemented : 'Н е реализовано' ,
com_endpoint_no_presets : 'Пока нет пресетов, используйте кнопку настроек чтобы создать е г о ' ,
com_endpoint_not_available : 'Нет доступных эндпоинтов' ,
com_endpoint_view_options : 'Просмотреть Настройки' ,
com_endpoint_save_convo_as_preset : 'Сохранить текущий разговор как Пресет' ,
com_endpoint_my_preset : 'Мой Пресет' ,
2023-08-25 02:11:27 +02:00
com_endpoint_agent_model : 'Модель агента (Рекомендуется: GPT-3.5)' ,
com_endpoint_completion_model : 'Модель завершения (Рекомендуется: GPT-4)' ,
2023-12-30 01:28:59 +03:00
com_endpoint_func_hover : 'Включить использование плагинов как функции OpenAI' ,
2023-08-25 02:11:27 +02:00
com_endpoint_skip_hover :
'Пропустить этап завершения, который проверяет окончательный ответ и сгенерированные шаги' ,
2023-12-30 21:25:37 +03:00
com_endpoint_config_token : 'Токен конфигурации' ,
2023-12-30 01:28:59 +03:00
com_endpoint_config_key : 'Указать ключ к API' ,
com_endpoint_config_placeholder : 'Укажите ваш ключ к API в меню сверху для начала разговора.' ,
com_endpoint_config_key_for : 'Установить ключ к API для' ,
com_endpoint_config_key_name : 'Ключ' ,
com_endpoint_config_value : 'Введите значение для' ,
com_endpoint_config_key_name_placeholder : 'Сначала укажите ключ к API' ,
com_endpoint_config_key_encryption : 'Ваш ключ зашифрован и будет удалён' ,
com_endpoint_config_key_expiry : 'срок действия' ,
com_endpoint_config_click_here : 'Нажми Здесь' ,
com_endpoint_config_google_service_key : 'Google Service Account Key' ,
com_endpoint_config_google_cloud_platform : '(из Google Cloud Platform)' ,
com_endpoint_config_google_api_key : 'Google API Key' ,
com_endpoint_config_google_gemini_api : '(Gemini API)' ,
2024-01-17 08:13:46 -05:00
com_endpoint_config_google_api_info :
'Чтобы получить ключ к API Generative Language (для Gemini),' ,
2023-12-30 01:28:59 +03:00
com_endpoint_config_key_import_json_key : 'Импортировать Service Account JSON Key.' ,
com_endpoint_config_key_import_json_key_success : 'Успешно Импортирован Service Account JSON Key' ,
com_endpoint_config_key_import_json_key_invalid :
'Некорректный Service Account JSON Key, Вы импортировали верный файл?' ,
com_endpoint_config_key_get_edge_key : 'Чтобы получить ваш токен доступа к Bing, войдите в' ,
com_endpoint_config_key_get_edge_key_dev_tool :
'Пока вы на сайте, используйте dev tools или расширение чтобы скопировать содержимое куки _U. Если не получается, следуйте этим' ,
com_endpoint_config_key_edge_instructions : 'инструкциям' ,
com_endpoint_config_key_edge_full_key_string : 'чтобы получить все строки cookie.' ,
2024-01-17 08:13:46 -05:00
com_endpoint_config_key_chatgpt :
'Чтобы получить токен доступа к "Бесплатной Версии" ChatGPT, войдите в' ,
2023-12-30 01:28:59 +03:00
com_endpoint_config_key_chatgpt_then_visit : 'затем посетите' ,
com_endpoint_config_key_chatgpt_copy_token : 'Скопируйте токен доступа.' ,
com_endpoint_config_key_google_need_to : 'Вам нужно' ,
com_endpoint_config_key_google_vertex_ai : 'Активировать Vertex AI' ,
com_endpoint_config_key_google_vertex_api : 'API в Google Cloud, после' ,
com_endpoint_config_key_google_service_account : 'Создать Service Account' ,
com_endpoint_config_key_google_vertex_api_role :
'Убедитесь что нажали на \'Create and Continue\' чтобы получить как минимум \'Vertex AI User\'. Наконец, создайте JSON-ключ чтобы импортировать е г о сюда.' ,
com_nav_welcome_message : 'Чем я могу помочь вам сегодня?' ,
com_nav_auto_scroll : 'Автоматически проматывать к самым новым сообщениям при открытии' ,
2024-03-11 17:31:32 +03:00
com_nav_hide_panel : 'Скрыть правую боковую панель' ,
2024-01-08 22:12:05 +03:00
com_nav_modular_chat : 'Разрешить менять точки подключения в середине разговора' ,
2024-02-04 16:44:09 +03:00
com_nav_latex_parsing : 'Обработка LaTeX в сообщениях (может повлиять на производительность)' ,
2023-10-11 17:38:43 -03:00
com_nav_plugin_store : 'Магазин плагинов' ,
com_nav_plugin_search : 'Поиск плагинов' ,
com_nav_plugin_auth_error :
'При попытке аутентификации этого плагина произошла ошибка. Пожалуйста, попробуйте еще раз.' ,
2023-08-25 02:11:27 +02:00
com_nav_export_filename : 'Имя файла' ,
2023-12-30 01:28:59 +03:00
com_nav_export_filename_placeholder : 'Задайте имя файла' ,
2023-08-25 02:11:27 +02:00
com_nav_export_type : 'Тип' ,
2023-12-30 01:28:59 +03:00
com_nav_export_include_endpoint_options : 'Включить параметры эндпоинта' ,
2023-08-25 02:11:27 +02:00
com_nav_enabled : 'Включено' ,
com_nav_not_supported : 'Н е поддерживается' ,
2023-12-30 01:28:59 +03:00
com_nav_export_all_message_branches : 'Экспортировать все ветки сообщений' ,
2023-08-25 02:11:27 +02:00
com_nav_export_recursive_or_sequential : 'Рекурсивно или последовательно?' ,
com_nav_export_recursive : 'Рекурсивно' ,
com_nav_export_conversation : 'Экспортировать разговор' ,
2024-03-11 17:31:32 +03:00
com_nav_my_files : 'Мои файлы' ,
2023-08-25 02:11:27 +02:00
com_nav_theme : 'Тема' ,
com_nav_theme_system : 'Системная' ,
com_nav_theme_dark : 'Темная' ,
com_nav_theme_light : 'Светлая' ,
2024-02-04 16:44:09 +03:00
com_nav_user_name_display : 'Отображать имя пользователя в сообщениях' ,
2023-12-30 21:25:37 +03:00
com_nav_language : 'Локализация' ,
com_nav_setting_account : 'Аккаунт' ,
com_nav_profile_picture : 'Изображение профиля' ,
com_nav_change_picture : 'Изменить изображение' ,
com_nav_lang_auto : 'Автоопределение' ,
com_nav_clear : 'Очистить' ,
2023-12-30 01:28:59 +03:00
com_nav_clear_all_chats : 'Удалить все чаты' ,
com_nav_confirm_clear : 'Подтвердить удаление' ,
2023-08-25 02:11:27 +02:00
com_nav_close_sidebar : 'Закрыть боковую панель' ,
com_nav_open_sidebar : 'Открыть боковую панель' ,
2023-11-16 14:42:03 +01:00
com_nav_send_message : 'Отправить сообщение' ,
2023-08-25 02:11:27 +02:00
com_nav_log_out : 'Выйти' ,
com_nav_user : 'ПОЛЬЗОВАТЕЛЬ' ,
🚀feat: Archive conversations (#2590)
* 🔧chore: add internationalization labels for archive feature
* ✨ feat: Add function to useArchiveConversationMutation()
This commit adds a new mutation function `useArchiveConversationMutation()` for archiving conversations. This function takes the ID string of the conversation to be archived and returns a mutation result object. Upon successful archiving, it removes and refreshes the conversation from the query data cache.
While ChatGPT PATCHes the archived status by sending `{is_archived: true}` to the URL `/backend-api/conversation/$conversation_id`, this implementation uses the `dataService.updateConversation(payload)` with a POST method, aligning with the existing code conventions.
* ✨ feat(api): add is_archived field to Conversation schema and update getConvosByPage method
This commit adds a new field `is_archived` with a default value of false to the Conversation schema. It also modifies the `getConvosByPage` method within the Conversation API to adjust the query to only target conversations where `is_archived` is set to false or where the `is_archived` field does not exist. The function `getConvosQueried`, which returns conversations for a specified Conversation ID, was determined not to require consideration of whether `is_archived` is true or false, and thus was not modified.
* ♻️ refactor: add className prop to DotsIcon component
To enhance the versatility of the DotsIcon component, this commit introduces the ability to specify a className prop, allowing for greater customization.
* ✨ feat(ui): add Edit Button to group Title change and Conversation delete buttons
Added a new Edit Button to the conversations, similar to the ChatGPT UI, which groups options for editing the conversation title and deleting conversations. This grouping is accessible through a dialogue that appears when the three-dot icon is clicked.
* ♻️ refactor(ui): enhance Delete Button to accept className and label options
Enhanced the Delete Button component to accept a `className` for customization and an optional `appendLabel`. The DeleteButton component is used by both `Convo.tsx` and `Conversation.tsx`, but currently only `Convo.tsx` is active and `Conversation.tsx `is apparently not used; removing `Conversation.tsx` may eliminate the need for the `appendLabel` property in the future.
* ♻️ refactor(ui): enhance RenameButton to accept label options
Added the ability to optionally display labels; the Rename Button component is used by both `Convo.tsx` and `Conversation.tsx`, but currently only `Convo.tsx` is active and `Conversation.tsx `is apparently not used; removing `Conversation.tsx` may eliminate the need for the `appendLabel` property in the future.
* 🔧 chors: additional localization labels
* ♻️ refactor: change is_archived property of conversation to camelCase
* Refactor the is_archived property of conversation to camelCase (isArchived) to adhere to the existing code conventions
* Modify the function that retrieves conversations to accept the isArchived parameter
* ♻️ refactor: add archiveConversation mutation
I thought I could divert dataService.updateConversation, but added a new archiveConversation because the request types are different. It might be better to make them common, but to avoid side effects, I added a new function this time.
Added process to deleteConversationMutation to delete archived conversations
* ✨ feat: Add the function to hide a cancel button in DialogTemplate component
The Cancel button is not needed when displaying the archive list, so I made the Cancel button optional.
* ♻️ refactor: Add support for filtering archived conversations in Nav component
This commit modifies the Nav component to add the ability to filter out archived conversations when fetching data. This is done by adding `isArchived: false` to the query parameters for both the `useConversationsInfiniteQuery()` and `useSearchInfiniteQuery()` hooks, effectively excluding any archived conversations from the results returned.
* ♻️ refactor: add Tooltip to DeleteButton
* Add Tooltip to DeleteButton component
* Display Tooltip when DeleteButton only shows an Icon without text
* ✨ feat(ui): add ArchiveButton component for archiving conversations
To be compatible with the ChatGPT UI, no confirmation dialog is displayed when ArchiveButton is clicked. The basic behavior conforms to DeleteButton and RenameButton.
* ✨ feat(ui): add Archive button to list of conversations
Modify the Nav of the conversation list to include a dropdown that contains the Rename and Delete options, similar to the ChatGPT UI. Additionally, an Archive button has been added adjacent to the dropdown menu.
* ✨ feat: Add ArchivedChatsTable component
Adds the `ArchivedChatsTable` component, which displays a table of archived chats. It has been implemented to be as compatible with the ChatGPT UI as possible.
* 🚑 fix(tooltip): increase z-index to ensure visibility over Dialog
Resolve an issue where tooltips were not visible when displayed over a Dialog. The z-index of `DialogPrimitive.Portal` in `Dialog.tsx` is set to 999. Since the rationale for this value is unclear, the z-index of the tooltip has been increased to 1000 to guarantee its visibility above the Dialog component.
* 🔧 chors: add internationalization labels
2024-05-06 20:07:00 -07:00
com_nav_archived_chats : 'Архивированные чаты' ,
com_nav_archived_chats_manage : 'Управление' ,
com_nav_archived_chats_empty : 'У вас нет архивированных разговоров.' ,
com_nav_archive_all_chats : 'Архивировать все чаты' ,
com_nav_archive_all : 'Архивировать все' ,
com_nav_archive_name : 'Имя' ,
com_nav_archive_created_at : 'Дата создания' ,
2023-12-30 01:28:59 +03:00
com_nav_clear_conversation : 'Удалить разговоры' ,
2023-08-25 02:11:27 +02:00
com_nav_clear_conversation_confirm_message :
2023-12-30 01:28:59 +03:00
'Вы уверены, что хотите удалить все разговоры? Это действие нельзя отменить.' ,
2024-01-08 22:12:05 +03:00
com_nav_help_faq : 'Помощь и Вопросы' ,
2023-08-25 02:11:27 +02:00
com_nav_settings : 'Настройки' ,
com_nav_search_placeholder : 'Поиск сообщений' ,
com_nav_setting_general : 'Общие' ,
2024-02-04 16:44:09 +03:00
com_nav_setting_beta : 'Бета-функции' ,
2023-12-30 01:28:59 +03:00
com_nav_setting_data : 'Управление данными' ,
2024-03-14 18:26:44 +03:00
com_assistants_knowledge : 'База знаний' ,
com_assistants_knowledge_info :
'Если вы загрузите файлы в раздел Знания, разговоры с вашим ассистентом могут включать содержимое файлов.' ,
com_assistants_knowledge_disabled :
'Ассистент должен быть сохранён, и Интерпретатор кода (Code Interpreter) или Поиск (Retrieval) должны быть включены и сохранены перед загрузкой файлов к Базе Знаний.' ,
com_assistants_retrieval : 'Поиск (Retrieval)' ,
com_assistants_name_placeholder : 'Необязательно: имя ассистента' ,
com_assistants_instructions_placeholder : 'Системные инструкции, которые использует ассистент' ,
com_assistants_description_placeholder : 'Необязательно: описание вашего ассистента' ,
com_assistants_actions_disabled : 'Вам нужно сохранить ассистента, прежде чем добавлять Actions.' ,
com_assistants_update_success : 'Успешно обновлено' ,
com_assistants_update_error : 'Произошла ошибка при обновлении вашего ассистента.' ,
com_assistants_create_success : 'Успешно сохранено' ,
com_assistants_create_error : 'Произошла ошибка при сохранении вашего ассистента.' ,
com_ui_attach_error_type : 'Неподдерживаемый тип файла для этого режима:' ,
com_ui_attach_error_size : 'Превышен лимит размера файла для этого режима:' ,
com_ui_attach_error :
'Невозможно прикрепить файл. Создайте новый или выберите разговор, или попробуйте обновить страницу.' ,
com_ui_name : 'Имя' ,
com_ui_instructions : 'Инструкции' ,
com_ui_description : 'Описание' ,
com_ui_error : 'Ошибка' ,
com_ui_select : 'Выбрать' ,
com_ui_upload_files : 'Загрузить файлы' ,
com_ui_upload_error : 'Произошла ошибка при загрузке вашего файла' ,
com_user_message : 'Вы' ,
2023-08-25 02:11:27 +02:00
} ;