Commit Graph
100 Commits
Author SHA1 Message Date
Mckay WrigleyandChris Wall 236b656148 Made the Model Name Bar Sticky at the top of the Chat Window (#597)
Co-authored-by: Chris Wall <cwall@wooldata.com>
2023-04-18 08:37:45 -06:00
Mckay WrigleyandChris Wall fda784028d Add temp display (#596)
* Made the Model Name Bar Sticky at the top of the Chat Window

* Added Temp to the top bar display

* barliens

---------

Co-authored-by: Chris Wall <cwall@wooldata.com>
2023-04-18 08:35:31 -06:00
Mckay Wrigley 1a9a7dcad0 Merge branch 'main' of https://github.com/mckaywrigley/chatbot-ui-pro 2023-04-18 08:29:30 -06:00
Mckay Wrigley 856ba12f19 readme update 2023-04-18 08:29:29 -06:00
Mckay Wrigley 4f672b926a update readme 2023-04-18 08:06:40 -06:00
d1eb6ee29b delete message (#531)
* feat: delete single message

* improve plugin hotkey support (#426)

* feat: delete single message

* remove logs

* remove logs

---------

Co-authored-by: Ryland <rylandl@qq.com>
Co-authored-by: Dornfeld Capital <75278543+dornfeld-capital@users.noreply.github.com>
Co-authored-by: L.Ryland <41134883+L-Ryland@users.noreply.github.com>
2023-04-13 05:01:27 -06:00
Mckay Wrigley 8f8aac05ef log removal 2023-04-11 03:17:49 -06:00
Mckay Wrigleyandjc.durbin 6500db9c1c MAJOR REFACTOR (#494)
* move index to home folder, create state and context files and barrell folder

* Sanity Check Commit:  reducer added to home.tsx manual QA all working

* WIP: promptBar

* fix missing json parse on folders and prompts

* split context and add promptbar context

* add context to nested prompt componets and componetize Folder componet

* remove log

* Create buttons folder and componetize sidebar action button

* tidy up prompt handlers

* componetized sidebar

* added back chatbar componet to left side sidebar

* monster commit: Componetized the common code between chatbar and promptbar into new componet Sidebar and added context to both bars

* add useFetch service

* added prettier import sort to keep imports ordered and easier to indentify

* added react query and useFetch to work with RQ

* added apiService, errorService and reactQuery

* add callback and tidy up error service

* refactor chat and child componets to useContext

* fix extra calls and bad calls to mel endpoint

* minor import cleanup

---------

Co-authored-by: jc.durbin <jc.durbin@ardanis.com>
2023-04-10 21:10:18 -06:00
Mckay Wrigley d324df1bab spelling 2023-04-04 10:41:34 -06:00
Mckay Wrigley 31b8e73bf6 brevity 2023-04-04 10:41:26 -06:00
Mckay Wrigley 4f92751ee3 Google fixes (#415)
* push

* fixes
2023-04-04 10:09:28 -06:00
Mckay Wrigley e1f286efb8 push (#414) 2023-04-04 09:41:24 -06:00
Mckay Wrigley bc2435d4cb Merge branch 'main' of https://github.com/mckaywrigley/chatbot-ui-pro 2023-04-02 08:02:01 -06:00
Mckay Wrigley a89308d03a revert 2023-04-02 08:02:00 -06:00
Mckay Wrigley e8e74bf773 Merge branch 'main' of https://github.com/mckaywrigley/chatbot-ui-pro 2023-04-02 06:59:48 -06:00
Mckay Wrigley 1dc4f86df5 change output limit 2023-04-02 06:59:47 -06:00
Mckay Wrigley 56d3b2fba2 change to "data" 2023-04-01 23:01:05 -06:00
Mckay Wrigley cfb610df1e fix spacing 2023-04-01 14:54:59 -06:00
Mckay Wrigley 22bcaef805 update demo 2023-03-30 19:56:43 -06:00
Mckay Wrigley 317bc9b6f3 fix nasty bug 2023-03-30 19:47:58 -06:00
Mckay Wrigley 40828f1568 change default prompt in example 2023-03-30 19:17:38 -06:00
Mckay Wrigley e020de47ce change messaging 2023-03-29 15:21:50 -06:00
Mckay Wrigley 85c4f88a06 Update README.md 2023-03-29 10:10:55 -06:00
Mckay Wrigley 11d6172e95 Update README.md 2023-03-28 03:22:24 -06:00
Mckay WrigleyanddasunNimantha 1f9d17f8bf scroll btn (#256)
* feat: added scroll down button

when the use scrolls up on the chat a button will appear on the bottom right side of the screen. It will smoothly scroll down to the bottom of the chat when the button was pressed.

* remove env

---------

Co-authored-by: dasunNimantha <dasun4@pm.me>
2023-03-28 02:52:45 -06:00
Mckay Wrigley 34c79c0d66 Prompts (#229) 2023-03-27 09:38:56 -06:00
Mckay Wrigley a1743c82cc fix regenerate 2023-03-27 07:48:51 -06:00
Mckay Wrigleyandryanhex53 82401a4142 Option for clear all messages (#222)
Co-authored-by: ryanhex53 <ouyang.em@gmail.com>
2023-03-27 01:38:01 -06:00
Mckay Wrigley 71d7e44bce hotfix 2023-03-25 23:06:49 -06:00
Mckay Wrigley 3f09a4c355 hotfix 2023-03-25 10:13:51 -06:00
Mckay Wrigley 932853f1ba Update README.md 2023-03-25 08:54:37 -06:00
Mckay Wrigley 93a8e814d6 fix send params 2023-03-25 07:18:57 -06:00
Mckay Wrigley d27326125b regenerate button (#138) 2023-03-25 07:12:51 -06:00
Mckay Wrigley a005323964 Merge branch 'main' of https://github.com/mckaywrigley/chatbot-ui-pro 2023-03-25 06:41:44 -06:00
Mckay Wrigley 801451993c fix mobile edit 2023-03-25 06:41:43 -06:00
Mckay Wrigley 1e6531354d fix sidebar arrow showing 2023-03-25 06:24:07 -06:00
Mckay Wrigley 338ddedfec handle mobile edit 2023-03-25 06:09:51 -06:00
Mckay Wrigley a03d8b2ba9 edit message 2023-03-25 05:49:41 -06:00
Mckay Wrigley c3132ef2fb fix import issue 2023-03-25 04:37:47 -06:00
Mckay Wrigley ad2e1f0d4c Update README.md 2023-03-23 20:30:17 -06:00
Mckay Wrigley 9d88722f35 clean history on import 2023-03-23 19:08:20 -06:00
Mckay Wrigley 93b528f10d stray log 2023-03-23 19:06:00 -06:00
Mckay Wrigley 1f31cc5507 hotfix import 2023-03-23 19:05:47 -06:00
Mckay Wrigley f5118e3037 folders (#108)
* folders

* fixes

* storage fix
2023-03-23 17:59:40 -06:00
Mckay Wrigley 42c48f290f fix rogue messages 2023-03-23 09:20:11 -06:00
Mckay Wrigley 83217c6d83 new load behavior 2023-03-23 08:54:22 -06:00
Mckay Wrigley 1789351ab5 handle code copy error 2023-03-23 08:20:02 -06:00
Mckay Wrigley 71a770c24e tweak scroll tolerance 2023-03-23 08:14:37 -06:00
Mckay Wrigley 68cd41a6dc fix scroll behavior 2023-03-23 08:11:37 -06:00
Mckay Wrigley 83987d3021 update readme 2023-03-23 01:19:30 -06:00
Mckay Wrigley 172bb8e5b1 add dist 2023-03-22 22:38:44 -06:00
Mckay Wrigley 79c4ea053f fix light mode 2023-03-22 11:45:18 -06:00
Mckay Wrigley e8902354e4 okay good 2023-03-22 11:07:42 -06:00
Mckay Wrigley c9030c63ef revert 2023-03-22 11:04:31 -06:00
Mckay WrigleyandSimon Holmes ec84eb2c49 Feat/add stop conversation button (#76)
* chore add in stop conversation button

* feat: use abort controller

* chore: formatting

---------

Co-authored-by: Simon Holmes <srsholmes@gmail.com>
2023-03-22 11:01:51 -06:00
Mckay Wrigley b0f2a0a3ba hotfix 2023-03-22 10:51:27 -06:00
Mckay Wrigley 5bffa8b0c9 hotfix 2023-03-22 10:46:30 -06:00
Mckay Wrigley cec0735403 hotfix 2023-03-22 08:13:37 -06:00
Mckay Wrigley f0c575b40d add import/export (#71) 2023-03-22 08:10:00 -06:00
Mckay Wrigley 972a5aff23 fix copy code overlap (#70) 2023-03-22 07:24:49 -06:00
Mckay Wrigley 37c088a212 hide rogue scrollbar (#69) 2023-03-22 07:14:24 -06:00
Mckay Wrigley d14268b075 keep message focus 2023-03-21 16:40:29 -06:00
Mckay WrigleyandXiangxuan Liu b7803cf4ba Clear conversations (#53)
* Add button "Clear Conversations"

* custom btn

---------

Co-authored-by: Xiangxuan Liu <xiangxuan.liu@rightcapital.com>
2023-03-21 16:38:04 -06:00
Mckay WrigleyandQuốc Thịnh Võ cb0fb447a7 Quocthinhvo/main (#52)
* Change scroll bar style in desktop

* new scrollbar

---------

Co-authored-by: Quốc Thịnh Võ <46624702+quocthinhvo@users.noreply.github.com>
2023-03-21 16:25:42 -06:00
Mckay Wrigley 0d6ff739a2 add custom system prompt (#39) 2023-03-21 01:39:32 -06:00
Mckay WrigleyandAlan Pogrebinschi 537957d5f5 Token based and model conditional limits (#36)
* use tiktoken for api limit

* model conditional char limits on frontend

* adjust for completion tokens

---------

Co-authored-by: Alan Pogrebinschi <alanpog@gmail.com>
2023-03-20 22:02:24 -06:00
Mckay Wrigley dd439bb4a8 error handling (#27) 2023-03-20 07:17:58 -06:00
Mckay Wrigley a0751994b1 api key fix 2023-03-20 04:30:18 -06:00
Mckay Wrigley ff1d36f642 readme update 2023-03-20 03:55:12 -06:00
Mckay Wrigley 7810a3e7dc Add GPT-4 support (#25)
* mobile ui updates

* fixes sidebar btn

* return if null

* mobile input blur

* handle mobile enter key

* new convo name

* new delete mechanism

* test height

* revert

* change padding

* remove overflow

* check relative

* padding

* done

* retry

* test

* test

* should work now

* test

* test

* more

* max h

* revert

* done
2023-03-20 03:53:00 -06:00
Mckay Wrigley 9a4824818e readme update 2023-03-19 21:54:32 -06:00
Mckay WrigleyandTekle Ayele 71a78172e6 Feat/search conversation (#24)
* feat: Add conditional search input for conversation list

* style and ux adjust

---------

Co-authored-by: Tekle Ayele <tekleayele@gmail.com>
2023-03-19 21:40:51 -06:00
Mckay Wrigley 7e6651dea7 add more mobile ui (#18) 2023-03-19 06:48:57 -06:00
Mckay Wrigley 263c5c33ae Merge pull request #16 from nauxliu/fix-user-message-render
User message should not render as Markdown
2023-03-19 05:45:39 -06:00
Mckay Wrigley 240185c11a Merge pull request #15 from nauxliu/fix-converstaion-context
Correct the improper context being used when it exceeds the limit.
2023-03-19 01:59:58 -06:00
Mckay Wrigley dab76278eb fix 1st convo default name 2023-03-18 23:17:15 -06:00
Mckay Wrigley edb86e90a7 readme update 2023-03-18 22:42:37 -06:00
Mckay Wrigley a387b3d1cd change to auto scroll 2023-03-18 22:32:09 -06:00
Mckay Wrigley 481c339d1c slight input ui tweak 2023-03-18 22:27:50 -06:00
Mckay Wrigley d0b4a355ca put it in reverse terry 2023-03-18 22:22:51 -06:00
Mckay Wrigley 891bc38a45 fix loader position 2023-03-18 22:21:11 -06:00
Mckay Wrigley e6449998ef add api key 2023-03-18 22:19:19 -06:00
Mckay Wrigley 396fe4ec6f fix syntax 2023-03-18 17:56:55 -06:00
Mckay Wrigley fe7d1a6ab2 Merge pull request #11 from asolpshinning/patch-1
Updated ChatInput.tsx text area to autoextend for larger prompt size
2023-03-18 17:55:55 -06:00
Mckay Wrigley 6b9293af6f Update README.md 2023-03-18 17:52:46 -06:00
Mckay Wrigley d3bd34ae87 minor case issue 2023-03-18 10:09:20 -06:00
Mckay Wrigley 903c7f6806 Merge pull request #9 from nauxliu/disable-input-when-message-is-streaming
Ignore new message when the current message is not finished yet
2023-03-18 10:08:34 -06:00
Mckay Wrigley 8aa0d1185a Merge pull request #8 from nauxliu/settings-button-style
Update settings button style
2023-03-18 09:54:43 -06:00
Mckay Wrigley 6bf8bacec0 gfm 2023-03-18 07:51:17 -06:00
Mckay Wrigley 16513b20de fix naming bugs 2023-03-18 06:49:20 -06:00
Mckay Wrigley 9807ba4c42 Update README.md 2023-03-18 06:21:58 -06:00
Mckay Wrigley 0728777c63 Update README.md 2023-03-18 06:20:08 -06:00
Mckay Wrigley a4c620d74d fix width 2023-03-18 04:55:31 -06:00
Mckay Wrigley f8b02cde19 adjust sidebar btn 2023-03-18 04:49:22 -06:00
Mckay Wrigley ef31d6ec28 increase sidebar btn 2023-03-18 04:48:59 -06:00
Mckay Wrigley 3fecd56d22 responsive width 2023-03-18 04:46:42 -06:00
Mckay Wrigley 0654782f57 rogue div 2023-03-18 04:41:34 -06:00
Mckay Wrigley fad67499e7 mobile improvements 2023-03-18 04:29:39 -06:00
Mckay Wrigley fa4e27a164 fix minor ui bugs 2023-03-18 04:10:35 -06:00
Mckay Wrigley cb4a3861ec readme update 2023-03-18 03:58:45 -06:00