2024-03-05 00:16:49 +02:00
// Hebrew phrases
export default {
// cSpell:ignore panel side
com_sidepanel_select_assistant : 'בחר סייען' ,
com_sidepanel_assistant_builder : 'בניית סייען' ,
com_sidepanel_attach_files : 'צרף קבצים' ,
2024-07-29 07:45:59 -07:00
com_sidepanel_conversation_tags : 'סימניות' ,
2024-03-05 00:16:49 +02:00
com_assistants_knowledge : 'ידע' ,
com_assistants_knowledge_info :
'אם אתה מעלה קבצים תחת ידע, שיחות עם ה-סייען שלך עשויות לכלול תוכן מהקובץ.' ,
com_assistants_knowledge_disabled :
'יש ליצור סייען, ויש להפעיל ולשמור את מתורגמן קוד או אחזור לפני העלאת קבצים כ-ידע.' ,
2024-12-11 15:26:18 -05:00
com_assistants_append_date : 'הוסף תאריך ושעה נוכחיים' ,
com_assistants_append_date_tooltip :
'כשמופעל, תאריך ושעה נוכחיים של הלקוח יוספים להוראות מערכת הסייען.' ,
2024-03-05 00:16:49 +02:00
com_assistants_code_interpreter : 'מתורגמן קוד' ,
com_assistants_code_interpreter_files : 'הקבצים הבאים זמינים רק עבור מתורגמן קוד:' ,
com_assistants_retrieval : 'אחזור' ,
com_assistants_tools_section : 'פעולות, כלים' ,
com_assistants_add_tools : 'הוסף כלים' ,
com_assistants_add_actions : 'הוסף פעולות' ,
com_assistants_name_placeholder : 'אופציונלי: שם הסייען' ,
com_assistants_instructions_placeholder : 'הוראות המערכת שהסייען משתמש בהן' ,
com_assistants_description_placeholder : 'אופציונלי: תאר את ה-סייען שלך כאן' ,
com_assistants_actions_disabled : 'עליך ליצור סייען לפני הוספת פעולות.' ,
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_examples : 'דוגמאות' ,
com_ui_new_chat : 'שיחה חדשה' ,
com_ui_happy_birthday : 'זה יום ההולדת הראשון שלי!' ,
com_ui_example_quantum_computing : 'הסבר מחשוב קוונטי במונחים פשוטים' ,
com_ui_example_10_year_old_b_day : 'יש לך רעיונות יצירתיים ליום הולדת של ילד בן 10?' ,
com_ui_example_http_in_js : 'כיצד אוכל לבצע בקשת HTTP ב-Javascript?' ,
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' ,
com_ui_experimental : 'מאפיינים ניסיוניים' ,
com_ui_name : 'שם' ,
com_ui_instructions : 'הוראות' ,
com_ui_description : 'תיאור' ,
com_ui_error : 'שגיאה' ,
com_ui_select : 'בחר' ,
com_ui_input : 'קלט' ,
com_ui_close : 'סגור' ,
com_ui_model : 'דגם' ,
com_ui_select_model : 'בחר דגם' ,
com_ui_use_prompt : 'השתמש בהודעת' ,
com_ui_prev : 'הקודם' ,
com_ui_next : 'הבא' ,
com_ui_stop : 'עצור' ,
com_ui_upload_files : 'העלה קבצים' ,
com_ui_prompt_templates : 'תבניות בקשה' ,
com_ui_hide_prompt_templates : 'הסתר תבניות הנחיות' ,
com_ui_showing : 'מציג' ,
com_ui_of : 'של' ,
com_ui_entries : 'ערכים' ,
com_ui_pay_per_call : 'כל שיחות הבינה המלאכותית במקום אחד. שלם לפי שיחה ולא לחודש' ,
com_ui_new_footer : 'כל שיחות הבינה המלאכותית במקום אחד.' ,
com_ui_enter : 'Enter' ,
com_ui_submit : 'שלח' ,
com_ui_upload_success : 'קובץ שהועלה בהצלחה' ,
com_ui_upload_error : 'אירעה שגיאה בהעלאת הקובץ שלך' ,
com_ui_cancel : 'בטל' ,
com_ui_save : 'שמור' ,
com_ui_save_submit : 'שמור ושלח' ,
com_user_message : 'אתה' ,
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 : 'אירעה שגיאה בעת ייבוא השיחות שלך' ,
2024-03-05 00:16:49 +02:00
com_ui_confirm_action : 'אשר פעולה' ,
com_ui_chats : 'צאטים' ,
com_ui_assistant : 'סייען' ,
com_ui_delete : 'מחק' ,
com_ui_create : 'צור' ,
2024-06-15 08:12:03 -07:00
com_ui_share : 'שתף' ,
com_ui_copy_link : 'העתק קישור' ,
com_ui_update_link : 'עדכן קישור' ,
com_ui_create_link : 'צור קישור' ,
com_ui_share_link_to_chat : 'שתף קישור בצ\'אט' ,
com_ui_share_error : 'אירעה שגיאה בעת שיתוף קישור הצ\'אט' ,
2024-06-21 07:12:37 -07:00
com_ui_share_retrieve_error : 'אירעה שגיאה בעת מחיקת הקישור המשותף.' ,
com_ui_share_delete_error : 'אירעה שגיאה בעת מחיקת הקישור המשותף.' ,
2024-06-15 08:12:03 -07:00
com_ui_share_create_message : 'שמך וכל הודעה שתוסיף לאחר השיתוף יישארו פרטיים.' ,
🚀 feat: Shared Links (#2772)
* ✨ feat(types): add necessary types for shared link feature
* ✨ feat: add shared links functions to data service
Added functions for retrieving, creating, updating, and deleting shared links and shared messages.
* ✨ feat: Add useGetSharedMessages hook to fetch shared messages by shareId
Adds a new hook `useGetSharedMessages` which fetches shared messages based on the provided shareId.
* ✨ feat: Add share schema and data access functions to API models
* ✨ feat: Add share endpoint to API
The GET /api/share/${shareId} is exposed to the public, so authentication is not required. Other paths require authentication.
* ♻️ refactor(utils): generalize react-query cache manipulation functions
Introduces generic functions for manipulating react-query cache entries, marking a refinement in how query cache data is managed. It aims to enhance the flexibility and reusability of the cache interaction patterns within our application.
- Replaced specific index names with more generic terms in queries.ts, enhancing consistency across data handling functions.
- Introduced new utility functions in collection.ts for adding, updating, and deleting data entries in an InfiniteData<TCollection>. These utility functions (`addData`, `updateData`, `deleteData`, `findPage`) are designed to be re-usable across different data types and collections.
- Adapted existing conversation utility functions in convos.ts to leverage these new generic utilities.
* ✨ feat(shared-link): add functions to manipulate shared link cache list
implemented new utility functions to handle additions, updates, and deletions in the shared link cache list.
* ✨ feat: Add mutations and queries for shared links
* ✨ feat(shared-link): add `Share` button to conversation list
- Added a share button in each conversation in the conversation list.
- Implemented functionality where clicking the share button triggers a POST request to the API.
- The API checks if a share link was already created for the conversation today; if so, it returns the existing link.
- If no link was created for today, the API will create a new share link and return it.
- Each click on the share button results in a new API request, following the specification similar to ChatGPT's share link feature.
* ♻️ refactor(hooks): generalize useNavScrolling for broader use
- Modified `useNavScrolling` to accept a generic type parameter `TData`, allowing it to be used with different data structures besides `ConversationListResponse`.
- Updated instances in `Nav.tsx` and `ArchivedChatsTable.tsx` to explicitly specify `ConversationListResponse` as the type argument when invoking `useNavScrolling`.
* ✨ feat(settings): add shared links listing table with delete functionality in settings
- Integrated a delete button for each shared link in the table, allowing users to remove links as needed.
* ♻️ refactor(components): separate `EndpointIcon` from `Icon` component for standalone use
* ♻️ refactor: update useGetSharedMessages to return TSharedLink
- Modified the useGetSharedMessages hook to return not only a list of TMessage but also the TSharedLink itself.
- This change was necessary to support displaying the title and date in the Shared Message UI, which requires data from TSharedLink.
* ✨ feat(shared link): add UI for displaying shared conversations without authentication
- Implemented a new UI component to display shared conversations, designed to be accessible without requiring authentication.
- Reused components from the authenticated Messages module where possible. Copied and adapted components that could not be directly reused to fit the non-authenticated context.
* 🔧 chore: Add translations
Translate labels only. Messages remain in English as they are possibly subject to change.
* ♻️ refactor: add icon and tooltip props to EditMenuButton component
* moved icon and popover to arguments so that EditMenuButton can be reused.
* modified so that when a ShareButton is closed, the parent DropdownMenu is also closed.
* ♻️irefactor: added DropdownMenu for Export and Share
* ♻️ refactor: renamed component names more intuitive
* More accurate naming of the dropdown menu.
* When the export button is closed, the parent dropdown menu is also closed.
* 🌍 chore: updated translations
* 🐞 Fix: OpenID Profile Image Download (#2757)
* Add fetch requirement
Fixes - error: [openidStrategy] downloadImage: Error downloading image at URL "https://graph.microsoft.com/v1.0/me/photo/$value": TypeError: response.buffer is not a function
* Update openidStrategy.js
---------
Co-authored-by: Danny Avila <danacordially@gmail.com>
* 🚑 fix(export): Issue exporting Conversation with Assistants (#2769)
* 🚑 fix(export): use content as text if content is present in the message
If the endpoint is assistants, the text of the message goes into content, not message.text.
* refactor(ExportModel): TypeScript, remove unused code
---------
Co-authored-by: Yuichi Ohneda <ohneda@gmail.com>
* 📤style: export button icon (#2752)
* refactor(ShareDialog): logic and styling
* refactor(ExportAndShareMenu): imports order and icon update
* chore: imports
* chore: imports/render logic
* feat: message branching
* refactor: add optional config to useGetStartupConfig
* refactor: disable endpoints query
* chore: fix search view styling gradient in light mode
* style: ShareView gradient styling
* refactor(Share): use select queries
* style: shared link table buttons
* localization and dark text styling
* style: fix clipboard button layout shift app-wide and add localization for copy code
* support assistants message content in shared links, add useCopyToClipboard, add copy buttons to Search Messages and Shared Link Messages
* add localizations
* comparisons
---------
Co-authored-by: Yuichi Ohneda <ohneda@gmail.com>
Co-authored-by: bsu3338 <bsu3338@users.noreply.github.com>
Co-authored-by: Fuegovic <32828263+fuegovic@users.noreply.github.com>
2024-05-17 18:13:32 -04:00
com_ui_share_created_message :
2024-06-15 08:12:03 -07:00
'A shared link to your chat has been created. Manage previously shared chats at any time via Settings.' ,
🚀 feat: Shared Links (#2772)
* ✨ feat(types): add necessary types for shared link feature
* ✨ feat: add shared links functions to data service
Added functions for retrieving, creating, updating, and deleting shared links and shared messages.
* ✨ feat: Add useGetSharedMessages hook to fetch shared messages by shareId
Adds a new hook `useGetSharedMessages` which fetches shared messages based on the provided shareId.
* ✨ feat: Add share schema and data access functions to API models
* ✨ feat: Add share endpoint to API
The GET /api/share/${shareId} is exposed to the public, so authentication is not required. Other paths require authentication.
* ♻️ refactor(utils): generalize react-query cache manipulation functions
Introduces generic functions for manipulating react-query cache entries, marking a refinement in how query cache data is managed. It aims to enhance the flexibility and reusability of the cache interaction patterns within our application.
- Replaced specific index names with more generic terms in queries.ts, enhancing consistency across data handling functions.
- Introduced new utility functions in collection.ts for adding, updating, and deleting data entries in an InfiniteData<TCollection>. These utility functions (`addData`, `updateData`, `deleteData`, `findPage`) are designed to be re-usable across different data types and collections.
- Adapted existing conversation utility functions in convos.ts to leverage these new generic utilities.
* ✨ feat(shared-link): add functions to manipulate shared link cache list
implemented new utility functions to handle additions, updates, and deletions in the shared link cache list.
* ✨ feat: Add mutations and queries for shared links
* ✨ feat(shared-link): add `Share` button to conversation list
- Added a share button in each conversation in the conversation list.
- Implemented functionality where clicking the share button triggers a POST request to the API.
- The API checks if a share link was already created for the conversation today; if so, it returns the existing link.
- If no link was created for today, the API will create a new share link and return it.
- Each click on the share button results in a new API request, following the specification similar to ChatGPT's share link feature.
* ♻️ refactor(hooks): generalize useNavScrolling for broader use
- Modified `useNavScrolling` to accept a generic type parameter `TData`, allowing it to be used with different data structures besides `ConversationListResponse`.
- Updated instances in `Nav.tsx` and `ArchivedChatsTable.tsx` to explicitly specify `ConversationListResponse` as the type argument when invoking `useNavScrolling`.
* ✨ feat(settings): add shared links listing table with delete functionality in settings
- Integrated a delete button for each shared link in the table, allowing users to remove links as needed.
* ♻️ refactor(components): separate `EndpointIcon` from `Icon` component for standalone use
* ♻️ refactor: update useGetSharedMessages to return TSharedLink
- Modified the useGetSharedMessages hook to return not only a list of TMessage but also the TSharedLink itself.
- This change was necessary to support displaying the title and date in the Shared Message UI, which requires data from TSharedLink.
* ✨ feat(shared link): add UI for displaying shared conversations without authentication
- Implemented a new UI component to display shared conversations, designed to be accessible without requiring authentication.
- Reused components from the authenticated Messages module where possible. Copied and adapted components that could not be directly reused to fit the non-authenticated context.
* 🔧 chore: Add translations
Translate labels only. Messages remain in English as they are possibly subject to change.
* ♻️ refactor: add icon and tooltip props to EditMenuButton component
* moved icon and popover to arguments so that EditMenuButton can be reused.
* modified so that when a ShareButton is closed, the parent DropdownMenu is also closed.
* ♻️irefactor: added DropdownMenu for Export and Share
* ♻️ refactor: renamed component names more intuitive
* More accurate naming of the dropdown menu.
* When the export button is closed, the parent dropdown menu is also closed.
* 🌍 chore: updated translations
* 🐞 Fix: OpenID Profile Image Download (#2757)
* Add fetch requirement
Fixes - error: [openidStrategy] downloadImage: Error downloading image at URL "https://graph.microsoft.com/v1.0/me/photo/$value": TypeError: response.buffer is not a function
* Update openidStrategy.js
---------
Co-authored-by: Danny Avila <danacordially@gmail.com>
* 🚑 fix(export): Issue exporting Conversation with Assistants (#2769)
* 🚑 fix(export): use content as text if content is present in the message
If the endpoint is assistants, the text of the message goes into content, not message.text.
* refactor(ExportModel): TypeScript, remove unused code
---------
Co-authored-by: Yuichi Ohneda <ohneda@gmail.com>
* 📤style: export button icon (#2752)
* refactor(ShareDialog): logic and styling
* refactor(ExportAndShareMenu): imports order and icon update
* chore: imports
* chore: imports/render logic
* feat: message branching
* refactor: add optional config to useGetStartupConfig
* refactor: disable endpoints query
* chore: fix search view styling gradient in light mode
* style: ShareView gradient styling
* refactor(Share): use select queries
* style: shared link table buttons
* localization and dark text styling
* style: fix clipboard button layout shift app-wide and add localization for copy code
* support assistants message content in shared links, add useCopyToClipboard, add copy buttons to Search Messages and Shared Link Messages
* add localizations
* comparisons
---------
Co-authored-by: Yuichi Ohneda <ohneda@gmail.com>
Co-authored-by: bsu3338 <bsu3338@users.noreply.github.com>
Co-authored-by: Fuegovic <32828263+fuegovic@users.noreply.github.com>
2024-05-17 18:13:32 -04:00
com_ui_share_update_message :
'Your name, custom instructions, and any messages you add after sharing stay private.' ,
com_ui_share_updated_message :
2024-06-15 08:12:03 -07:00
'A shared link to your chat has been updated. Manage previously shared chats at any time via Settings.' ,
🚀 feat: Shared Links (#2772)
* ✨ feat(types): add necessary types for shared link feature
* ✨ feat: add shared links functions to data service
Added functions for retrieving, creating, updating, and deleting shared links and shared messages.
* ✨ feat: Add useGetSharedMessages hook to fetch shared messages by shareId
Adds a new hook `useGetSharedMessages` which fetches shared messages based on the provided shareId.
* ✨ feat: Add share schema and data access functions to API models
* ✨ feat: Add share endpoint to API
The GET /api/share/${shareId} is exposed to the public, so authentication is not required. Other paths require authentication.
* ♻️ refactor(utils): generalize react-query cache manipulation functions
Introduces generic functions for manipulating react-query cache entries, marking a refinement in how query cache data is managed. It aims to enhance the flexibility and reusability of the cache interaction patterns within our application.
- Replaced specific index names with more generic terms in queries.ts, enhancing consistency across data handling functions.
- Introduced new utility functions in collection.ts for adding, updating, and deleting data entries in an InfiniteData<TCollection>. These utility functions (`addData`, `updateData`, `deleteData`, `findPage`) are designed to be re-usable across different data types and collections.
- Adapted existing conversation utility functions in convos.ts to leverage these new generic utilities.
* ✨ feat(shared-link): add functions to manipulate shared link cache list
implemented new utility functions to handle additions, updates, and deletions in the shared link cache list.
* ✨ feat: Add mutations and queries for shared links
* ✨ feat(shared-link): add `Share` button to conversation list
- Added a share button in each conversation in the conversation list.
- Implemented functionality where clicking the share button triggers a POST request to the API.
- The API checks if a share link was already created for the conversation today; if so, it returns the existing link.
- If no link was created for today, the API will create a new share link and return it.
- Each click on the share button results in a new API request, following the specification similar to ChatGPT's share link feature.
* ♻️ refactor(hooks): generalize useNavScrolling for broader use
- Modified `useNavScrolling` to accept a generic type parameter `TData`, allowing it to be used with different data structures besides `ConversationListResponse`.
- Updated instances in `Nav.tsx` and `ArchivedChatsTable.tsx` to explicitly specify `ConversationListResponse` as the type argument when invoking `useNavScrolling`.
* ✨ feat(settings): add shared links listing table with delete functionality in settings
- Integrated a delete button for each shared link in the table, allowing users to remove links as needed.
* ♻️ refactor(components): separate `EndpointIcon` from `Icon` component for standalone use
* ♻️ refactor: update useGetSharedMessages to return TSharedLink
- Modified the useGetSharedMessages hook to return not only a list of TMessage but also the TSharedLink itself.
- This change was necessary to support displaying the title and date in the Shared Message UI, which requires data from TSharedLink.
* ✨ feat(shared link): add UI for displaying shared conversations without authentication
- Implemented a new UI component to display shared conversations, designed to be accessible without requiring authentication.
- Reused components from the authenticated Messages module where possible. Copied and adapted components that could not be directly reused to fit the non-authenticated context.
* 🔧 chore: Add translations
Translate labels only. Messages remain in English as they are possibly subject to change.
* ♻️ refactor: add icon and tooltip props to EditMenuButton component
* moved icon and popover to arguments so that EditMenuButton can be reused.
* modified so that when a ShareButton is closed, the parent DropdownMenu is also closed.
* ♻️irefactor: added DropdownMenu for Export and Share
* ♻️ refactor: renamed component names more intuitive
* More accurate naming of the dropdown menu.
* When the export button is closed, the parent dropdown menu is also closed.
* 🌍 chore: updated translations
* 🐞 Fix: OpenID Profile Image Download (#2757)
* Add fetch requirement
Fixes - error: [openidStrategy] downloadImage: Error downloading image at URL "https://graph.microsoft.com/v1.0/me/photo/$value": TypeError: response.buffer is not a function
* Update openidStrategy.js
---------
Co-authored-by: Danny Avila <danacordially@gmail.com>
* 🚑 fix(export): Issue exporting Conversation with Assistants (#2769)
* 🚑 fix(export): use content as text if content is present in the message
If the endpoint is assistants, the text of the message goes into content, not message.text.
* refactor(ExportModel): TypeScript, remove unused code
---------
Co-authored-by: Yuichi Ohneda <ohneda@gmail.com>
* 📤style: export button icon (#2752)
* refactor(ShareDialog): logic and styling
* refactor(ExportAndShareMenu): imports order and icon update
* chore: imports
* chore: imports/render logic
* feat: message branching
* refactor: add optional config to useGetStartupConfig
* refactor: disable endpoints query
* chore: fix search view styling gradient in light mode
* style: ShareView gradient styling
* refactor(Share): use select queries
* style: shared link table buttons
* localization and dark text styling
* style: fix clipboard button layout shift app-wide and add localization for copy code
* support assistants message content in shared links, add useCopyToClipboard, add copy buttons to Search Messages and Shared Link Messages
* add localizations
* comparisons
---------
Co-authored-by: Yuichi Ohneda <ohneda@gmail.com>
Co-authored-by: bsu3338 <bsu3338@users.noreply.github.com>
Co-authored-by: Fuegovic <32828263+fuegovic@users.noreply.github.com>
2024-05-17 18:13:32 -04:00
com_ui_shared_link_not_found : 'Shared link not found' ,
2024-03-05 00:16:49 +02:00
com_ui_delete_conversation : 'למחוק את השיחה (צאט)?' ,
🗨️ feat: Prompts (#3131)
* 🗨️ feat: Prompts (#7)
* WIP: MERGE prompts/frontend (#1)
* added schema for prompt and promptgroup, added model methods for prompts, added routes for prompts
* * updated promptGroup Schema
* updated model methods for prompts (get, add, delete)
* slight fixes in prompt routes
* * Created Files Management components
* Created Vector Stores components
* Added file management route in the routes folder
* Completed UI for Files list, Compeleted UI for vector stores list, Completed UI for upload file modal, Completed UI for preview file, Completed UI for preview vector store
* Fixed style and UI fixes for file dashboard, file list and vector stores list
* added responsiveness classes for vector store page
* fixed responsiveness of file page, dashboard page, and main page
* fixed styling and responsiveness issues on dashboard page, file list page and vector store page
* added queries and mutations for prompts and promptGroups, added relevant endpoints in data-provider, added relevant components prompts, added and updated relevant APIs
* added types on mutation queries data service, updated prompt attributes
* feature: Prompts and prompt groups management, added relevant APIs, added types for data service/queries/mutations, added relevant mutation and queries
* chore: typing clarifications
* added drop down on prompts mgmt dashboard
* Fixes: fixed version switching issue on tags update or labels update, added cross button on create prompt group, fixed list updation on prompt group renaiming, added CSV upload button
* Feature: Added oneliner and category attributes in prompt group, added schema for categories, added schema methods and route for categories
* chore: typing and lint issues
* chore: more type and linter fixes
* chore: linting
* chore: prompt controller and backend typing example; MOVE TO CONTROLLER DIRECTORY
* chore: more type fixes
* style: prompt name changes
* chore: more type changes, and stateful prompt name change without flickering
* fix: Return result of savePrompt in patchPrompt API endpoint
* fix: navigation prompt queries; refactor: name 'prompt-groups' to just 'groups'
* refactor: fetch prompt groups rewrite
* refactor(prompts): query/mutation statefulness
* refactor: remove `isActive` field
* refactor: remove labels, consolidate logic
* style: width, layout shift
* refactor: improve hover toggle behavior and styling
* refactor: add useParams hook to PromptListItem for dynamic rendering and add timeout ref for blur timeout
* chore: hide upload button
* refactor: import Button component from correct location in PromptSidePanel
* style: prompt editor styling
* style: fix more layout shifts
* style: container scroll
* refactor: Rename CreatePrompt component to CreatePromptForm
* refactor: use react-hook-form
* refactor: Add Prompts components and routes to Dashboard
* style: skeletons for loading
* fix: optimize makePromptProduction
* refactor: consolidate variables
* feat: create prompt form validation
* refactor: Consolidate variables and update mutation hooks
* style: minor touchups
* chore: Update lucide-react npm dependency to version 0.394.0 and npm audit fix
* refactor: add a new icon for the Prompts heading.
* style: Update PromptsView heading to use h1 instead of h2 and other minor margin issues
* chore: wording
* refactor: Update PromptsView heading to use h1 instead of h2, consolidate variables, and add new icons
* refactor: Prompts Button for Mobile
* feature: added category field in prompt group, added relevant API and static data on BE to support FE UI for category in prompt group
* chore: template for prompt cards
---------
Co-authored-by: Fawadpot <contactfawada@gmail.com>
* WIP: Prompts/frontend Continued (#2)
* chore: loading style, remove unused component
* feat: Add CategorySelector component for prompt group category selection
* feat: add categories to create prompt
* feat: prompt versions styling
* feat: optimistic updates for prompt production state
* refactor: optimize form state and show if prompt field is dirty with cross icon, also other styling changes
* chore: remove unused code and localizations
* fix: light mode styling
* WIP: SidePanel Prompts
* refactor: move to groups directory
* refactor: rename GroupsSidePanel to GroupSidePanel and update imports
* style: ListCard
* refactor: isProduction changes
* refactor: infinite query with productionPrompt
* refactor: optimize snippets and prompts, and styling
* refactor: Update getSnippet function to accept a length parameter
* chore: localizations
* feat: prompts navigation to chat and vice versa
* fix: create prompt
* feat: remember last selected category for creating prompts
* fix(promptGroups): fix pagination and add usePromptGroupsNav hook
* Prompts/frontend 3 (#3)
* fix: stateful issues with prompt groups
* style: improved layout
* refactor: improve variable naming in Eng.ts
* refactor: theme selector styling improvements
* added prompt cards on chat new page, with dark mode, added API to fetch random prompts, added types for useQuery
Slightly improved usePromptGroupNav logic to fetch updated result for pageSize, updated prompt cards view with darkmode and responsiveness
fixed page size option buttons styling to match the theme
added dark mode on create prompt page and prompt edit/preview page
fixed page size option buttons styling to match the theme
added dark mode on create prompt page and prompt edit/preview page
* WIP: Prompts/frontend (#4)
* fix: optimize and fix paginated query
* fix: remove unique constraint on names
* refactor: button links and styling
* style: menu border light mode
* feat: Add Auto-Send Switch component for prompts groups
* refactor(ChatView): use form context for submission text
* chore: clear convo state on navigation to dashboard routes
* chore: save prompt edit name on tab, remove console log
* feat: basic prompt submission
* refactor: move Auto-Send Switch
* style(ListCard): border styling
* feat: Add function to detect variables in text
* feat: Add OriginalDialog component to UI library
* chore(ui): Update SelectDropDown options list class to use text-xs size
* refactor: submitMessage hook now includes submitPrompt, make compatible to document query selector
* WIP: Variable Dialog
* feat: variable submission working for both auto-send and non-autosend
* feat: dashboard breadcrumbs and prompts/chat navigation
* refactor: dashboard breadcrumb and dashboard link to chat navigation
* refactor: Update VariableDialog and VariableForm styles
* Prompts: Admin features (#5)
* fix: link issue
* fix: usePromptGroupsNav add missing dep.
* style: dashbreadcrumb and sidepanel text color
* temp fix: remove refetch on pageNumber change
* fix: handle multiple variable replacement
* WIP: create project schema and add project groups to fetch
* feat: Add functionality to add prompt group IDs to a project
* feat: Add caching for startup config in config route
* chore: remove prompt landing
* style: Update Skeleton component with additional background styling
* chore: styling and types
* WIP: SharePrompt first draft
* feat(SharePrompt): form validation
* feat: shared global indicators
* refactor: prompt details
* refactor: change NoPromptGroup directory
* feat: preview prompt
* feat: remove/add global prompts, add rbac-related enums
* refactor: manage prompts location
* WIP: first draft admin settings for prompts
* feat: SystemRoles enum
* refactor: update PromptDetails component styling
* style: ellipsis custom class for showing more preview text
* WIP: initial role schema and initialization
* style: improved margins for single unordered lists
* fix: use custom chat form context to prevent re-renders from FormProvider
* feat: Role mutations for Prompt Permissions
* feat: fetch user role
* feat: update AdminSettings form default values from user role values
* refactor: rename PromptPermissions to Permissions for general definitions
* feat: initial role checks
* feat: Add optional `bodyProps` parameter to generateCheckAccess middleware
* refactor: UI access checks
* Prompts: delete (#6)
* Fixed delete prompt version API, fixed types and logic for prompt version deletion, updated prompt delete mutation logic
* chore: Update return type of deletePrompt function in Prompt.js
---------
Co-authored-by: Fawadpot <contactfawada@gmail.com>
* chore: Update package-lock.json version to 0.7.4-rc1 and fast-xml-parser to 4.4.0
* feat: toast for saving admin settings, add timer no-access navigation
* feat: always make prod
* feat: Add localization to category labels in CategorySelector component
* feat: Update category label localization in CategorySelector component
* fix: Enable making prompt production in Prompt API
---------
Co-authored-by: Fawadpot <contactfawada@gmail.com>
* feat: Add helper fn for dark mode detection in ThemeProvider
* style: surface-primary definition
* fix(useHasAccess): utilize user.role and not just USER role
* fix: empty category and role fetch
* refactort: increase max height to options list and use label if no localization is found
* fix: update CategorySelector to handle empty category value and improve localization
* refactor: move prompts to own store/reactquery modules, add in filter WIP
* refactor: Rename AutoSendSwitch to AutoSendPrompt
* style: theming commit
* style: fix slight coloring issue for convos in dark mode
* style: better composition for prompts side panel
* style: remove gray-750 and make it gray-850
* chore: adjust theming
* feat: filter all prompt groups and properly remove prompts from projects
* refactor: optimize delete prompt groups further
* chore: localization
* feat: Add uniqueProperty filtering to normalizeData function
* WIP: filter prompts
* chore: Update FilterPrompts component to include User icon in FilterItem
* feat(FilterPrompts): set categories
* feat: more system filters and show selected category icon
* style: always make prod, flips switch to avoid mis-clicks
* style: ui/ux loading/no prompts
* chore: style FilterPrompts ChatView
* fix: handle missing role edge case
* style: special variables
* feat: special variables
* refactor: improve replaceSpecialVars function in prompts.ts
* feat: simple/advanced editor modes
* chore: bump versions
* feat: localizations and hide production button on simple mode
* fix: error connecting layout shift
* fix: prompts CRUD for admins
* fix: secure single group fetch
* style: sidepanel styling
* style(PromptName): bring edit button closer to name
* style: mobile prompts header
* style: mobile prompts header continued
* style: align send prompts switch right
* feat: description
* Update special variables description in Eng.ts
* feat: update/create/preview oneliner
* fix: allow empty oneliner update
* style: loading improvement and always make selected prompt Production if simple mode
* fix: production index set and remove unused props
* fix(ci): mock initializeRoles
* fix: address #3128
* fix: address #3128
* feat: add deletion confirmation dialog
* fix: mobile UI issues
* style: prompt library UI update
* style: focus, logcal tab order
* style: Refactor SelectDropDown component to improve code readability and maintainability
* chore: bump data-provider
* chore: fix labels
* refactor: confirm delete prompt version
---------
Co-authored-by: Marco Beretta <81851188+berry-13@users.noreply.github.com>
2024-06-20 20:24:32 -04:00
com_ui_delete_confirm : 'זה ימחק' ,
2024-03-05 00:16:49 +02:00
com_ui_delete_assistant_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 : 'אירעה שגיאה בארכיון השיחה' ,
com_ui_unarchive : 'לארכיון' ,
com_ui_unarchive_error : 'אירעה שגיאה בארכיון השיחה' ,
com_ui_more_options : 'עוד' ,
2024-03-05 00:16:49 +02:00
_ui_preview : 'תצוגה מקדימה' ,
com_ui_upload : 'העלה' ,
com_ui_connect : 'התחבר' ,
2024-07-29 07:45:59 -07:00
com_ui_bookmarks : 'סימניות' ,
com_ui_bookmarks_rebuild : 'בנה מחדש' ,
com_ui_bookmarks_new : 'סימניה חדשה' ,
com_ui_bookmark_delete_confirm : 'האם אתה בטוח שברצונך למחוק את הסימניה הזו?' ,
com_ui_bookmarks_title : 'כותרת' ,
com_ui_bookmarks_count : 'ספירה' ,
com_ui_bookmarks_description : 'תיאור' ,
com_ui_bookmarks_create_success : 'הסימניה נוצרה בהצלחה' ,
com_ui_bookmarks_update_success : 'הסימניה עודכנה בהצלחה' ,
com_ui_bookmarks_delete_success : 'הסימניה נמחקה בהצלחה' ,
com_ui_bookmarks_create_error : 'אירעה שגיאה בעת יצירת הסימניה' ,
com_ui_bookmarks_update_error : 'אירעה שגיאה בעת עדכון הסימניה' ,
com_ui_bookmarks_delete_error : 'אירעה שגיאה בעת מחיקת הסימניה' ,
com_ui_bookmarks_add_to_conversation : 'הוסף לשיחה הנוכחית' ,
2024-08-31 22:08:04 +02:00
com_ui_accept : 'אני מקבל' ,
com_ui_decline : 'אני לא מקבל' ,
com_ui_terms_and_conditions : 'תנאים והגבלות' ,
com_ui_no_terms_content : 'אין תוכן תנאים והגבלות להצגה' ,
2024-03-05 00:16:49 +02:00
com_auth_error_login : 'לא ניתן להתחבר עם המידע שסופק. אנא בדוק את האישורים שלך ונסה שוב.' ,
com_auth_error_login_rl : 'יותר מדי ניסיונות כניסה בזמן קצר. בבקשה נסה שוב מאוחר יותר.' ,
com_auth_error_login_ban : 'החשבון שלך נחסם באופן זמני עקב הפרות של השירות שלנו.' ,
com_auth_error_login_server : 'הייתה שגיאת שרת פנימית. אנא המתן מספר רגעים ונסה שוב.' ,
com_auth_no_account : 'אין לך חשבון?' ,
com_auth_sign_up : 'הירשם' ,
com_auth_sign_in : 'כניסה' ,
com_auth_google_login : 'המשך עם Google' ,
com_auth_facebook_login : 'המשך עם פייסבוק' ,
com_auth_github_login : 'המשך עם Github' ,
com_auth_discord_login : 'המשך עם Discord' ,
com_auth_email : 'אימייל (דוא"ל)' ,
com_auth_email_required : 'נדרש דוא"ל' ,
com_auth_email_min_length : 'אימייל (דוא"ל) חייב להיות בן 6 תווים לפחות' ,
com_auth_email_max_length : 'אימייל (דוא"ל) לא יכול להיות ארוך מ-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 תווים' ,
com_auth_username : 'שם משתמש (אופציונלי)' ,
com_auth_username_required : 'נדרש שם משתמש' ,
com_auth_username_min_length : 'שם משתמש חייב להיות לפחות 2 תווים' ,
com_auth_username_max_length : 'שם המשתמש חייב להיות פחות מ-20 תווים' ,
com_auth_already_have_account : 'כבר יש לך חשבון?' ,
com_auth_login : 'התחבר' ,
com_auth_reset_password : 'אפס את הסיסמה שלך' ,
com_auth_click : 'קליק' ,
com_auth_here : 'כאן' ,
com_auth_to_reset_your_password : 'כדי לאפס את הסיסמה שלך.' ,
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 : 'שלח רישום' ,
com_auth_welcome_back : 'ברוכים הבאים' ,
com_auth_back_to_login : 'חזרה לכניסה' ,
com_endpoint_open_menu : 'תפריט פתח' ,
com_endpoint_bing_enable_sydney : 'אפשר את סידני' ,
com_endpoint_bing_to_enable_sydney : 'כדי לאפשר את סידני' ,
com_endpoint_bing_jailbreak : 'Jailbreak' ,
com_endpoint_bing_context_placeholder :
'בינג יכול להשתמש בעד 7,000 אסימונים עבור \'הקשר\', שאליהם הוא יכול להתייחס לשיחה. המגבלה הספציפית אינה ידועה אך עשויה להיתקל בשגיאות העולות על 7,000 אסימונים' ,
com_endpoint_bing_system_message_placeholder :
'אזהרה: שימוש לרעה בתכונה זו יכול לגרום לך לאסור להשתמש ב-Bing! לחץ על \'הודעת מערכת\' לקבלת הוראות מלאות והודעת ברירת המחדל אם הושמטה, שהיא הקביעה המוגדרת מראש של \'Sydney\' שנחשבת בטוחה.' ,
com_endpoint_system_message : 'הודעת מערכת' ,
com_endpoint_message : 'הודעה' ,
com_endpoint_message_not_appendable : 'ערוך את ההודעה שלך או צור מחדש.' ,
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 :
'Top-p משנה את האופן שבו המודל בוחר אסימונים לפלט. אסימונים נבחרים מרוב K (ראה פרמטר topK) ככל הנראה לפחות עד ה-sum של ההסתברויות שלהם שווה לערך ה-p העליון.' ,
com_endpoint_google_topk :
'Top-k משנה את האופן שבו המודל בוחר אסימונים לפלט. Top-k של 1 פירושו שהאסימון שנבחר הוא הסביר ביותר מבין כל האסימונים באוצר המילים של הדגם (נקרא גם פענוח חמדן), בעוד ש-top-k של 3 פירושו שהאסימון הבא נבחר מבין 3 הכי הרבה. אסימונים סבירים (באמצעות טמפרטורה).' ,
com_endpoint_google_maxoutputtokens :
' המספר המרבי של אסימונים שניתן להפיק בתגובה. ציין ערך נמוך יותר עבור תגובות קצרות יותר וערך גבוה יותר עבור תגובות ארוכות יותר.' ,
com_endpoint_google_custom_name_placeholder : 'הגדר שם מותאם אישית עבור Google' ,
com_endpoint_prompt_prefix_placeholder : 'הגדר הוראות מותאמות אישית או הקשר. התעלמו אם ריק.' ,
com_endpoint_instructions_assistants_placeholder :
'עובר את הוראות הסייען. זה שימושי לשינוי ההתנהגות על בסיס ריצה.' ,
com_endpoint_prompt_prefix_assistants_placeholder :
'הגדר הוראות נוספות או הקשר על גבי ההנחיות הראשיות של ה-סייען. התעלמו אם ריק.' ,
com_endpoint_custom_name : 'שם מותאם אישית' ,
com_endpoint_prompt_prefix : 'הוראות מותאמות אישית' ,
com_endpoint_prompt_prefix_assistants : 'הוראות נוספות' ,
com_endpoint_instructions_assistants : 'עקוף הוראות' ,
com_endpoint_temperature : 'טמפרטורה' ,
com_endpoint_default : 'default' ,
com_endpoint_top_p : 'Top P' ,
com_endpoint_top_k : 'Top K' ,
com_endpoint_max_output_tokens : 'אסימוני פלט מרבי' ,
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. ערכים חיוביים מענישים אסימונים חדשים על סמך האם הם מופיעים בטקסט עד כה, ומגדילים את הסבירות של המודל לדבר על נושאים חדשים.' ,
com_endpoint_openai_resend :
'שלח שוב את כל התמונות שצורפו בעבר. הערה: זה יכול להגדיל משמעותית את עלות האסימונים ואתה עלול להיתקל בשגיאות עם קבצים מצורפים רבים של תמונות.' ,
com_endpoint_openai_detail :
'ההחלטה לבקשות חזון. "נמוך" זול ומהיר יותר, "גבוה" מפורט ויקר יותר, ו "אוטומטי" יבחר אוטומטית בין השניים על סמך רזולוציית התמונה.' ,
com_endpoint_openai_custom_name_placeholder : 'הגדר שם מותאם אישית עבור ChatGPT' ,
com_endpoint_openai_prompt_prefix_placeholder :
'הגדר הוראות מותאמות אישית לכלול בהודעת המערכת. ברירת מחדל: אין' ,
com_endpoint_anthropic_temp :
'נע בין 0 ל-1. השתמש בטמפ\' הקרובה יותר ל-0 עבור בחירה אנליטית / מרובה, וקרוב יותר ל-1 עבור משימות יצירתיות ויצירתיות. אנו ממליצים לשנות את זה או את Top P אבל לא את שניהם.' ,
com_endpoint_anthropic_topp :
'Top-p משנה את האופן שבו המודל בוחר אסימונים לפלט. אסימונים נבחרים מבין רוב K (ראה פרמטר topK) הסביר לפחות עד שסכום ההסתברויות שלהם שווה לערך העליון-p.' ,
com_endpoint_anthropic_topk :
'Top-k משנה את האופן שבו המודל בוחר אסימונים לפלט. Top-k של 1 פירושו שהאסימון שנבחר הוא הסביר ביותר מבין כל האסימונים באוצר המילים של הדגם (נקרא גם פענוח חמדן), בעוד ש-top-k של 3 פירושו שהאסימון הבא נבחר מבין 3 הכי הרבה. אסימונים סבירים (באמצעות טמפרטורה).' ,
com_endpoint_anthropic_maxoutputtokens :
'מספר האסימונים המרבי שניתן להפיק בתגובה. ציין ערך נמוך יותר עבור תגובות קצרות יותר וערך גבוה יותר עבור תגובות ארוכות יותר.' ,
com_endpoint_anthropic_custom_name_placeholder : 'הגדר שם מותאם אישית עבור Anthropic' ,
com_endpoint_frequency_penalty : 'עונש תדירות' ,
com_endpoint_presence_penalty : 'עונש נוכחות' ,
com_endpoint_plug_use_functions : 'השתמש בפונקציות' ,
com_endpoint_plug_resend_images : 'שלח שוב תמונות' ,
com_endpoint_plug_image_detail : 'פרטי תמונה' ,
com_endpoint_plug_skip_completion : 'השלמת דילוג' ,
com_endpoint_disabled_with_tools : 'מושבת עם כלים' ,
com_endpoint_disabled_with_tools_placeholder : 'מושבת עם הכלים שנבחרו' ,
com_endpoint_plug_set_custom_instructions_for_gpt_placeholder :
'הגדר הוראות מותאמות אישית לכלול בהודעת המערכת. ברירת מחדל: אין' ,
com_hedpoint_import : 'ייבוא' ,
com_endpoint_set_custom_name : 'הגדר שם מותאם אישית, למקרה שתוכל למצוא את הקביעה המוגדרת מראש' ,
com_endpoint_preset_delete_confirm : 'האם אתה בטוח שברצונך למחוק את הקביעה המוגדרת מראש הזו?' ,
com_endpoint_preset_clear_all_confirm :
'האם אתה בטוח שברצונך למחוק את כל הקביעות המוגדרות מראש שלך?' ,
com_endpoint_preset_import : 'הגדרה מראש מיובאת!' ,
com_endpoint_preset_import_error : 'אירעה שגיאה בייבוא הקביעה המוגדרת מראש שלך. בבקשה נסה שוב.' ,
com_endpoint_preset_save_error : 'אירעה שגיאה בשמירת ההגדרה מראש שלך. בבקשה נסה שוב.' ,
com_endpoint_preset_delete_error : 'אירעה שגיאה במחיקת הקביעה המוגדרת מראש שלך. בבקשה נסה שוב.' ,
com_endpoint_preset_default_removed : 'איננו עוד ברירת המחדל המוגדרת מראש.' ,
com_endpoint_preset_default_item : 'ברירת מחדל:' ,
com_endpoint_preset_default_none : 'אין ברירת מחדל פעילה.' ,
com_endpoint_preset_title : 'הגדרה מראש' ,
🎉 feat: Code Interpreter API and Agents Release (#4860)
* feat: Code Interpreter API & File Search Agent Uploads
chore: add back code files
wip: first pass, abstract key dialog
refactor: influence checkbox on key changes
refactor: update localization keys for 'execute code' to 'run code'
wip: run code button
refactor: add throwError parameter to loadAuthValues and getUserPluginAuthValue functions
feat: first pass, API tool calling
fix: handle missing toolId in callTool function and return 404 for non-existent tools
feat: show code outputs
fix: improve error handling in callTool function and log errors
fix: handle potential null value for filepath in attachment destructuring
fix: normalize language before rendering and prevent null return
fix: add loading indicator in RunCode component while executing code
feat: add support for conditional code execution in Markdown components
feat: attachments
refactor: remove bash
fix: pass abort signal to graph/run
refactor: debounce and rate limit tool call
refactor: increase debounce delay for execute function
feat: set code output attachments
feat: image attachments
refactor: apply message context
refactor: pass `partIndex`
feat: toolCall schema/model/methods
feat: block indexing
feat: get tool calls
chore: imports
chore: typing
chore: condense type imports
feat: get tool calls
fix: block indexing
chore: typing
refactor: update tool calls mapping to support multiple results
fix: add unique key to nav link for rendering
wip: first pass, tool call results
refactor: update query cache from successful tool call mutation
style: improve result switcher styling
chore: note on using \`.toObject()\`
feat: add agent_id field to conversation schema
chore: typing
refactor: rename agentMap to agentsMap for consistency
feat: Agent Name as chat input placeholder
chore: bump agents
📦 chore: update @langchain dependencies to latest versions to match agents package
📦 chore: update @librechat/agents dependency to version 1.8.0
fix: Aborting agent stream removes sender; fix(bedrock): completion removes preset name label
refactor: remove direct file parameter to use req.file, add `processAgentFileUpload` for image uploads
feat: upload menu
feat: prime message_file resources
feat: implement conversation access validation in chat route
refactor: remove file parameter from processFileUpload and use req.file instead
feat: add savedMessageIds set to track saved message IDs in BaseClient, to prevent unnecessary double-write to db
feat: prevent duplicate message saves by checking savedMessageIds in AgentController
refactor: skip legacy RAG API handling for agents
feat: add files field to convoSchema
refactor: update request type annotations from Express.Request to ServerRequest in file processing functions
feat: track conversation files
fix: resendFiles, addPreviousAttachments handling
feat: add ID validation for session_id and file_id in download route
feat: entity_id for code file uploads/downloads
fix: code file edge cases
feat: delete related tool calls
feat: add stream rate handling for LLM configuration
feat: enhance system content with attached file information
fix: improve error logging in resource priming function
* WIP: PoC, sequential agents
WIP: PoC Sequential Agents, first pass content data + bump agents package
fix: package-lock
WIP: PoC, o1 support, refactor bufferString
feat: convertJsonSchemaToZod
fix: form issues and schema defining erroneous model
fix: max length issue on agent form instructions, limit conversation messages to sequential agents
feat: add abort signal support to createRun function and AgentClient
feat: PoC, hide prior sequential agent steps
fix: update parameter naming from config to metadata in event handlers for clarity, add model to usage data
refactor: use only last contentData, track model for usage data
chore: bump agents package
fix: content parts issue
refactor: filter contentParts to include tool calls and relevant indices
feat: show function calls
refactor: filter context messages to exclude tool calls when no tools are available to the agent
fix: ensure tool call content is not undefined in formatMessages
feat: add agent_id field to conversationPreset schema
feat: hide sequential agents
feat: increase upload toast duration to 10 seconds
* refactor: tool context handling & update Code API Key Dialog
feat: toolContextMap
chore: skipSpecs -> useSpecs
ci: fix handleTools tests
feat: API Key Dialog
* feat: Agent Permissions Admin Controls
feat: replace label with button for prompt permission toggle
feat: update agent permissions
feat: enable experimental agents and streamline capability configuration
feat: implement access control for agents and enhance endpoint menu items
feat: add welcome message for agent selection in localization
feat: add agents permission to access control and update version to 0.7.57
* fix: update types in useAssistantListMap and useMentions hooks for better null handling
* feat: mention agents
* fix: agent tool resource race conditions when deleting agent tool resource files
* feat: add error handling for code execution with user feedback
* refactor: rename AdminControls to AdminSettings for clarity
* style: add gap to button in AdminSettings for improved layout
* refactor: separate agent query hooks and check access to enable fetching
* fix: remove unused provider from agent initialization options, creates issue with custom endpoints
* refactor: remove redundant/deprecated modelOptions from AgentClient processes
* chore: update @librechat/agents to version 1.8.5 in package.json and package-lock.json
* fix: minor styling issues + agent panel uniformity
* fix: agent edge cases when set endpoint is no longer defined
* refactor: remove unused cleanup function call from AppService
* fix: update link in ApiKeyDialog to point to pricing page
* fix: improve type handling and layout calculations in SidePanel component
* fix: add missing localization string for agent selection in SidePanel
* chore: form styling and localizations for upload filesearch/code interpreter
* fix: model selection placeholder logic in AgentConfig component
* style: agent capabilities
* fix: add localization for provider selection and improve dropdown styling in ModelPanel
* refactor: use gpt-4o-mini > gpt-3.5-turbo
* fix: agents configuration for loadDefaultInterface and update related tests
* feat: DALLE Agents support
2024-12-04 15:48:13 -05:00
com_ui_saved : 'שמור!' ,
2024-03-05 00:16:49 +02:00
com_endpoint_preset_default : 'הוא כעת ברירת המחדל המוגדרת מראש.' ,
com_endpoint_preset : 'preset' ,
com_endpoint_presets : 'presets' ,
com_endpoint_preset_selected : 'הגדרה מראש פעילה!' ,
com_endpoint_preset_selected_title : 'פעיל!' ,
com_endpoint_preset_name : 'שם מוגדר מראש' ,
com_endpoint_new_topic : 'נושא חדש' ,
com_endpoint : 'נקודת קצה' ,
com_endpoint_hide : 'הסתר' ,
com_endpoint_show : 'הצג' ,
com_endpoint_examples : 'הגדרות קבועות מראש' ,
com_endpoint_completion : 'השלמה' ,
com_endpoint_agent : 'סוכן' ,
com_endpoint_show_what_settings : 'הצג {0} הגדרות' ,
com_endpoint_export : 'ייצוא' ,
com_endpoint_assistant : 'סייען' ,
com_endpoint_use_active_assistant : 'השתמש ב-סייען פעיל' ,
com_endpoint_assistant_model : 'מודל סייען' ,
com_endpoint_save_as_preset : 'שמור כ-preset' ,
com_endpoint_presets_clear_warning :
'האם אתה בטוח שאתה רוצה לנקות את כל הקביעות המוגדרות מראש? זה בלתי הפיך.' ,
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 : 'ההגדרה המוגדרת מראש שלי' ,
com_endpoint_agent_model : 'מודל סוכן (מומלץ: GPT-3.5)' ,
com_endpoint_completion_model : 'מודל השלמה (מומלץ: GPT-4)' ,
com_endpoint_func_hover : 'אפשר שימוש בפלאגינים כפונקציות OpenAI' ,
com_endpoint_skip_hover : 'אפשר דילוג על שלב ההשלמה, הסוקר את התשובה הסופית ואת השלבים שנוצרו' ,
com_endpoint_config_key : 'הגדר מפתח API' ,
com_endpoint_config_placeholder : 'הגדר את המפתח שלך בתפריט הכותרת לצאט.' ,
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' ,
com_endpoint_config_google_cloud_platform : '(מ-Google Cloud Platform)' ,
com_endpoint_config_google_api_key : 'מפתח Google API' ,
com_endpoint_config_google_gemini_api : '(Gemini API)' ,
com_endpoint_config_google_api_info :
'כדי לקבל את מפתח ה-API של Generative Language (עבור תאומים),' ,
com_endpoint_config_key_import_json_key : 'ייבוא מפתח JSON של חשבון שירות.' ,
com_endpoint_config_key_import_json_key_success : 'מפתח JSON של חשבון שירות יובא בהצלחה' ,
com_endpoint_config_key_import_json_key_invalid :
'מפתח JSON חשבון שירות לא חוקי, האם ייבאת את הקובץ הנכון?' ,
com_endpoint_config_key_get_edge_key : 'כדי לקבל את אסימון הגישה שלך ל-Bing, היכנס אל' ,
com_endpoint_config_key_get_edge_key_dev_tool :
'השתמש בכלי מפתחים או בתוסף בזמן שאתה מחובר לאתר כדי להעתיק את התוכן של קובץ ה-cookie _U. אם זה נכשל, עקוב אחר אלה' ,
com_endpoint_config_key_edge_instructions : 'הוראות' ,
com_endpoint_config_key_edge_full_key_string : 'כדי לספק את מחרוזות העוגיות המלאות.' ,
com_endpoint_config_key_chatgpt : 'כדי לקבל את אסימון הגישה שלך ל-ChatGPT \'גרסה חינמית\', היכנס אל' ,
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 : 'צור חשבון שירות' ,
com_endpoint_config_key_google_vertex_api_role :
'הקפד ללחוץ על \'צור והמשך\' כדי לתת לפחות את התפקיד \'Vertex AI User\'. לבסוף, צור מפתח JSON לייבא לכאן.' ,
com_nav_welcome_message : 'איך אני יכול לעזור לך היום?' ,
com_nav_auto_scroll : 'Auto-s גלול אל הכי חדש בפתיחה' ,
com_nav_hide_panel : 'הסתר לוח הצד הימני ביותר' ,
com_nav_modular_chat : 'אפשר החלפת נקודות קצה באמצע שיחה' ,
com_nav_latex_parsing : 'ניתוח LaTeX בהודעות (עשוי להשפיע על הביצועים)' ,
com_nav_profile_picture : 'תמונת פרופיל' ,
com_nav_change_picture : 'שנה תמונה' ,
com_nav_plugin_store : 'חנות פלאגין' ,
com_nav_plugin_install : 'התקן' ,
com_nav_plugin_uninstall : 'הסר התקנה' ,
2024-08-31 13:42:20 -04:00
com_ui_add : 'הוסף' ,
2024-03-05 00:16:49 +02:00
com_nav_tool_remove : 'הסר' ,
com_nav_tool_dialog : 'כלי סייען' ,
com_nav_tool_dialog_description : 'יש לשמור את האסיסטנט כדי להמשיך בבחירת הכלים.' ,
com_show_agent_settings : 'הצג הגדרות סוכן' ,
com_show_completion_settings : 'הצג הגדרות השלמה' ,
com_hide_examples : 'הסתר דוגמאות' ,
com_show_examples : 'הצג דוגמאות' ,
com_nav_plugin_search : 'תוספי חיפוש' ,
com_nav_tool_search : 'כלי חיפוש' ,
com_nav_plugin_auth_error : 'אירעה שגיאה בניסיון לאמת את הפלאגין הזה. בבקשה נסה שוב.' ,
com_nav_export_filename : 'שם קובץ' ,
com_nav_export_filename_placeholder : 'הגדר את שם הקובץ' ,
com_nav_export_type : 'סוג' ,
com_nav_export_include_endpoint_options : 'כלול אפשרויות נקודת קצה' ,
com_nav_enabled : 'מופעל' ,
com_nav_not_supported : 'לא נתמך' ,
com_nav_export_all_message_branches : 'ייצא את כל ענפי ההודעות' ,
com_nav_export_recursive_or_sequential : 'רקורסיבי או רציף?' ,
com_nav_export_recursive : 'רקורסיבי' ,
com_nav_export_conversation : 'ייצא שיחה' ,
🚀 feat: Shared Links (#2772)
* ✨ feat(types): add necessary types for shared link feature
* ✨ feat: add shared links functions to data service
Added functions for retrieving, creating, updating, and deleting shared links and shared messages.
* ✨ feat: Add useGetSharedMessages hook to fetch shared messages by shareId
Adds a new hook `useGetSharedMessages` which fetches shared messages based on the provided shareId.
* ✨ feat: Add share schema and data access functions to API models
* ✨ feat: Add share endpoint to API
The GET /api/share/${shareId} is exposed to the public, so authentication is not required. Other paths require authentication.
* ♻️ refactor(utils): generalize react-query cache manipulation functions
Introduces generic functions for manipulating react-query cache entries, marking a refinement in how query cache data is managed. It aims to enhance the flexibility and reusability of the cache interaction patterns within our application.
- Replaced specific index names with more generic terms in queries.ts, enhancing consistency across data handling functions.
- Introduced new utility functions in collection.ts for adding, updating, and deleting data entries in an InfiniteData<TCollection>. These utility functions (`addData`, `updateData`, `deleteData`, `findPage`) are designed to be re-usable across different data types and collections.
- Adapted existing conversation utility functions in convos.ts to leverage these new generic utilities.
* ✨ feat(shared-link): add functions to manipulate shared link cache list
implemented new utility functions to handle additions, updates, and deletions in the shared link cache list.
* ✨ feat: Add mutations and queries for shared links
* ✨ feat(shared-link): add `Share` button to conversation list
- Added a share button in each conversation in the conversation list.
- Implemented functionality where clicking the share button triggers a POST request to the API.
- The API checks if a share link was already created for the conversation today; if so, it returns the existing link.
- If no link was created for today, the API will create a new share link and return it.
- Each click on the share button results in a new API request, following the specification similar to ChatGPT's share link feature.
* ♻️ refactor(hooks): generalize useNavScrolling for broader use
- Modified `useNavScrolling` to accept a generic type parameter `TData`, allowing it to be used with different data structures besides `ConversationListResponse`.
- Updated instances in `Nav.tsx` and `ArchivedChatsTable.tsx` to explicitly specify `ConversationListResponse` as the type argument when invoking `useNavScrolling`.
* ✨ feat(settings): add shared links listing table with delete functionality in settings
- Integrated a delete button for each shared link in the table, allowing users to remove links as needed.
* ♻️ refactor(components): separate `EndpointIcon` from `Icon` component for standalone use
* ♻️ refactor: update useGetSharedMessages to return TSharedLink
- Modified the useGetSharedMessages hook to return not only a list of TMessage but also the TSharedLink itself.
- This change was necessary to support displaying the title and date in the Shared Message UI, which requires data from TSharedLink.
* ✨ feat(shared link): add UI for displaying shared conversations without authentication
- Implemented a new UI component to display shared conversations, designed to be accessible without requiring authentication.
- Reused components from the authenticated Messages module where possible. Copied and adapted components that could not be directly reused to fit the non-authenticated context.
* 🔧 chore: Add translations
Translate labels only. Messages remain in English as they are possibly subject to change.
* ♻️ refactor: add icon and tooltip props to EditMenuButton component
* moved icon and popover to arguments so that EditMenuButton can be reused.
* modified so that when a ShareButton is closed, the parent DropdownMenu is also closed.
* ♻️irefactor: added DropdownMenu for Export and Share
* ♻️ refactor: renamed component names more intuitive
* More accurate naming of the dropdown menu.
* When the export button is closed, the parent dropdown menu is also closed.
* 🌍 chore: updated translations
* 🐞 Fix: OpenID Profile Image Download (#2757)
* Add fetch requirement
Fixes - error: [openidStrategy] downloadImage: Error downloading image at URL "https://graph.microsoft.com/v1.0/me/photo/$value": TypeError: response.buffer is not a function
* Update openidStrategy.js
---------
Co-authored-by: Danny Avila <danacordially@gmail.com>
* 🚑 fix(export): Issue exporting Conversation with Assistants (#2769)
* 🚑 fix(export): use content as text if content is present in the message
If the endpoint is assistants, the text of the message goes into content, not message.text.
* refactor(ExportModel): TypeScript, remove unused code
---------
Co-authored-by: Yuichi Ohneda <ohneda@gmail.com>
* 📤style: export button icon (#2752)
* refactor(ShareDialog): logic and styling
* refactor(ExportAndShareMenu): imports order and icon update
* chore: imports
* chore: imports/render logic
* feat: message branching
* refactor: add optional config to useGetStartupConfig
* refactor: disable endpoints query
* chore: fix search view styling gradient in light mode
* style: ShareView gradient styling
* refactor(Share): use select queries
* style: shared link table buttons
* localization and dark text styling
* style: fix clipboard button layout shift app-wide and add localization for copy code
* support assistants message content in shared links, add useCopyToClipboard, add copy buttons to Search Messages and Shared Link Messages
* add localizations
* comparisons
---------
Co-authored-by: Yuichi Ohneda <ohneda@gmail.com>
Co-authored-by: bsu3338 <bsu3338@users.noreply.github.com>
Co-authored-by: Fuegovic <32828263+fuegovic@users.noreply.github.com>
2024-05-17 18:13:32 -04:00
com_nav_export : 'ייצא' ,
com_nav_shared_links : 'קישורים משותפים' ,
com_nav_shared_links_manage : 'ניהול' ,
com_nav_shared_links_empty : 'אין לך קישורים משותפים.' ,
com_nav_shared_links_name : 'שם' ,
com_nav_shared_links_date_shared : 'תאריך שיתוף' ,
2024-03-05 00:16:49 +02:00
com_nav_theme : 'נושא' ,
com_nav_theme_system : 'מערכת' ,
com_nav_theme_dark : 'כהה' ,
com_nav_theme_light : 'אור' ,
2024-08-07 14:23:33 -04:00
com_nav_font_size : 'גודל גופן' ,
2024-03-05 00:16:49 +02:00
com_nav_user_name_display : 'הצג שם משתמש בהודעות' ,
2024-06-13 06:52:30 -07:00
com_nav_save_drafts : 'שמיר את האפצה באותו מחשב' ,
2024-03-05 00:16:49 +02:00
com_nav_clear_all_chats : 'נקה את כל השיחות' ,
com_nav_confirm_clear : 'אשר נקה' ,
com_nav_close_sidebar : 'סגור סרגל צד' ,
com_nav_open_sidebar : 'פתח סרגל צד' ,
com_nav_send_message : 'שלח הודעה' ,
com_nav_log_out : 'צא' ,
com_nav_user : '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 : 'תאריך יצרן' ,
2024-03-05 00:16:49 +02:00
com_nav_clear_conversation : 'נקה שיחות' ,
com_nav_clear_conversation_confirm_message :
'אתה בטוח שאתה רוצה לנקות את כל השיחות? זה בלתי הפיך.' ,
com_nav_help_faq : 'עזרה ושאלות נפוצות' ,
com_nav_settings : 'הגדרות' ,
com_nav_search_placeholder : 'חפש הודעות' ,
2024-07-29 07:45:59 -07:00
com_nav_info_bookmarks_rebuild :
'אם ספירת הסימניות שגויה, נא לבנות מחדש את המידע של הסמניות. הספירה תחושב מחדש והנתונים ישוחזרו למצב הנכון.' ,
2024-03-05 00:16:49 +02:00
com_nav_setting_general : 'כללי' ,
com_nav_setting_beta : 'תכונות ביטא' ,
com_nav_setting_data : 'בקרות נתונים' ,
com_nav_setting_account : 'חשבון' ,
2024-10-24 10:48:57 -04:00
com_nav_lang_english : 'English' ,
com_nav_lang_chinese : '中文' ,
com_nav_lang_german : 'Deutsch' ,
com_nav_lang_spanish : 'Español' ,
com_nav_lang_french : 'Français ' ,
com_nav_lang_italian : 'Italiano' ,
com_nav_lang_polish : 'Polski' ,
com_nav_lang_brazilian_portuguese : 'Português Brasileiro' ,
com_nav_lang_russian : 'Русский' ,
com_nav_lang_japanese : '日本語' ,
com_nav_lang_swedish : 'Svenska' ,
com_nav_lang_korean : '한국어' ,
com_nav_lang_vietnamese : 'Tiếng Việt' ,
com_nav_lang_traditionalchinese : '繁體中文' ,
com_nav_lang_arabic : 'العربية' ,
com_nav_lang_turkish : 'Türkçe' ,
com_nav_lang_dutch : 'Nederlands' ,
com_nav_lang_indonesia : 'Indonesia' ,
com_nav_lang_hebrew : 'עברית' ,
com_nav_lang_finnish : 'Suomi' ,
2024-05-10 15:56:25 -04:00
} ;