Underscore
fee48eb2a8
Merge branch 'dev' into dev
2025-05-21 18:27:56 -04:00
oobabooga
8620d6ffe7
Make it possible to upload multiple text files/pdfs at once
2025-05-20 21:34:07 -07:00
oobabooga
409a48d6bd
Add attachments support (text files, PDF documents) ( #7005 )
2025-05-21 00:36:20 -03:00
Daniel Dengler
c25a381540
Add a "Branch here" footer button to chat messages ( #6967 )
2025-05-20 11:07:40 -03:00
oobabooga
8e10f9894a
Add a metadata field to the chat history & add date/time to chat messages ( #7003 )
2025-05-20 10:48:46 -03:00
oobabooga
f1ec6c8662
Minor label changes
2025-05-18 09:04:51 -07:00
Underscore
fcdc4b6e0c
Merge branch 'dev' into dev
2025-05-17 07:00:14 -04:00
Th-Underscore
d72f7c8618
Update method name
2025-05-07 09:35:08 -04:00
Th-Underscore
5b8a0f7392
Update method calls
2025-05-07 09:25:00 -04:00
Th-Underscore
90348ee560
Update event handling
2025-05-06 17:37:48 -04:00
Th-Underscore
097c5d2568
Pass only necessary values
2025-05-06 16:46:19 -04:00
Th-Underscore
a758d49115
Fix code styling
2025-05-04 22:32:34 -04:00
oobabooga
7853fb1c8d
Optimize the Chat tab ( #6948 )
2025-05-04 18:58:37 -03:00
Th-Underscore
bc0df8a518
UI: Add message versioning and navigation (integrated boogaplus extension)
...
- Created a new module (message_versioning.py) for managing message versioning logic and data storage
- Added relevant Gradio communication in ui_chat.py
- Updated chat.py to append messages to versioning history and other history-related operations
- Updated HTML generation to include message version navigation elements
- Implemented JavaScript functions for handling message version navigation, selection, and history management
- Added relevant CSS styling (handling all three message classes is a little messy, but changing the original class structure might be problematic)
Notes:
- Doesn't always update on first load via `shared.gradio['unique_id'].select()`
- No go-to-first or go-to-last nav arrows
- Some of the methods and variables are... long-winded
- Have only tested with a couple extensions, but this _shouldn't_ break anything and should be completely backwards-compatible
- Haven't put any documentation for controls (Ctrl+Left/Right Arrow for navigation, Ctrl+Up/Down Arrow as an alternative for selection)
- The original footer buttons aren't set to full opacity when the message is selected, only the new nav container
- Output file extension is `.boogaplus` cuz it's cool
- Tried using `None` as a placeholder in the history storage dict (`null` in the JSON) instead of always saving the text to save space, but sometimes leads to client-server issues
2025-05-04 14:57:19 -04:00
oobabooga
d9de14d1f7
Restructure the repository ( #6904 )
2025-04-26 08:56:54 -03:00
oobabooga
bfbde73409
Make 'instruct' the default chat mode
2025-04-24 07:08:49 -07:00
oobabooga
297a406e05
UI: smoother chat streaming
...
This removes the throttling associated to gr.Textbox that made words appears in chunks rather than one at a time
2025-04-09 16:02:37 -07:00
oobabooga
f843cb475b
UI: update a help message
2025-01-14 08:12:51 -08:00
oobabooga
c85e5e58d0
UI: move the new morphdom code to a .js file
2025-01-13 06:20:42 -08:00
oobabooga
a0492ce325
Optimize syntax highlighting during chat streaming ( #6655 )
2025-01-11 21:14:10 -03:00
oobabooga
3a722a36c8
Use morphdom to make chat streaming 1902381098231% faster ( #6653 )
2025-01-11 12:55:19 -03:00
oobabooga
4b3e1b3757
UI: add a "Search chats" input field
2025-01-02 18:46:40 -08:00
oobabooga
b8fc9010fa
UI: fix orjson.JSONDecodeError
error on page reload
2025-01-02 16:57:04 -08:00
oobabooga
75f1b5ccde
UI: add a "Branch chat" button
2025-01-02 16:24:18 -08:00
oobabooga
d769618591
Improved UI ( #6575 )
2024-12-17 00:47:41 -03:00
oobabooga
493f8c3242
UI: remove animation after clicking on "Stop" in the Chat tab
2024-07-27 15:22:34 -07:00
oobabooga
f32d26240d
UI: Fix the chat "stop" event
2024-07-26 23:03:05 -07:00
oobabooga
7e2851e505
UI: fix "Command for chat-instruct mode" not appearing by default
2024-07-24 15:04:12 -07:00
oobabooga
1815877061
UI: fix the default character not loading correctly on startup
2024-07-23 18:48:10 -07:00
oobabooga
79c4d3da3d
Optimize the UI ( #6251 )
2024-07-21 00:01:42 -03:00
oobabooga
f957b17d18
UI: update an obsolete message
2024-07-10 06:01:36 -07:00
oobabooga
220c1797fc
UI: do not show the "save character" button in the Chat tab
2024-06-28 22:11:31 -07:00
oobabooga
8803ae1845
UI: decrease the number of lines for "Command for chat-instruct mode"
2024-06-28 21:41:30 -07:00
oobabooga
5c6b9c610d
UI: allow the character dropdown to coexist in the Chat tab and the Parameters tab ( #6177 )
2024-06-29 01:20:27 -03:00
oobabooga
de69a62004
Revert "UI: move "Character" dropdown to the main Chat tab"
...
This reverts commit 83534798b2
.
2024-06-28 15:38:11 -07:00
oobabooga
3691451d00
Add back the "Rename chat" feature ( #6161 )
2024-06-25 22:28:58 -03:00
oobabooga
ac3f92d36a
UI: store chat history in the browser
2024-06-25 14:18:07 -07:00
oobabooga
83534798b2
UI: move "Character" dropdown to the main Chat tab
2024-06-25 11:25:57 -07:00
oobabooga
279cba607f
UI: don't show an animation when updating the "past chats" menu
2024-06-25 11:10:17 -07:00
oobabooga
3290edfad9
Bug fix: force chat history to be loaded on launch
2024-06-25 11:06:05 -07:00
oobabooga
e7e1f5901e
Prompts in the "past chats" menu ( #6160 )
2024-06-25 15:01:43 -03:00
oobabooga
a43c210617
Improved past chats menu ( #6158 )
2024-06-25 00:07:22 -03:00
oobabooga
386500aa37
Avoid unnecessary calls UI -> backend, to make it faster
2024-06-12 20:52:42 -07:00
oobabooga
1bdceea2d4
UI: Focus on the chat input after starting a new chat
2024-04-06 12:57:57 -07:00
oobabooga
0f536dd97d
UI: Fix the "Show controls" action
2024-04-05 12:18:33 -07:00
oobabooga
2a92a842ce
Bump gradio to 4.23 ( #5758 )
2024-03-26 16:32:20 -03:00
oobabooga
8152152dd6
Small fix after 28076928ac
2024-03-11 19:56:35 -07:00
oobabooga
28076928ac
UI: Add a new "User description" field for user personality/biography ( #5691 )
2024-03-11 23:41:57 -03:00
oobabooga
238f69accc
Move "Command for chat-instruct mode" to the main chat tab ( closes #5634 )
2024-03-08 12:52:52 -08:00
oobabooga
2174958362
Revert gradio to 3.50.2 ( #5640 )
2024-03-06 11:52:46 -03:00