Commit Graph
13 Commits
Author SHA1 Message Date
Thomas LÉVEIL 3c32c03b9c update README regarding GOOGLE_API_KEY and GOOGLE_CSE_ID (#422) 2023-04-04 16:53:32 -06:00
Thomas LÉVEIL b7732a95a6 :notes document (#373) 2023-04-02 14:37:59 -06:00
Thomas LÉVEIL b3b65f8ce5 Fix translations import export (#376)
* fix "Import data" case

* fix "Export data" translations
2023-04-02 14:36:09 -06:00
Thomas LÉVEIL 00c6c72270 ✨ feat: add DEFAULT_MODEL environment variable (#280)
* ✨ feat: add DEFAULT_MODEL environment variable

* set the model maxLength setting in the models definition

* set the model tokenLimit setting in the models definition
2023-03-28 21:10:47 -06:00
Thomas LÉVEIL b0c289f7a4 fix import (#242)
* 🐛 fix import (#224)

* 🐛 fix import of corrupted history

see https://github.com/mckaywrigley/chatbot-ui/issues/224#issuecomment-1486080888

* add the run-test-suite github action
2023-03-28 02:27:37 -06:00
Thomas LÉVEIL 46e1857489 Fix rendering performances issues related to scrolling events (#174)
* memoize chat related components

* Avoid re-rendering ChatInput on every message udpate

* change the way the horizontal scrollbar is hidden

* make the scroll event listener passive

* perf(Chat): fix performances issues related to autoscroll

Uses the intersection API to determine autoscroll mode instead of listening for scroll events

* tuning detection of autoscroll
2023-03-27 01:22:38 -06:00
Thomas LÉVEIL 0038bb8366 recover from corrupted conversationHistory data (#162)
If an item from conversationHistory is badly corrupted, skip it instead of crashing the app
2023-03-25 14:10:17 -06:00
Thomas LÉVEIL dd44a06213 🌐 locale de (#154) 2023-03-25 11:03:45 -06:00
Thomas LÉVEIL f5ebde2d2d Locale fr (#153)
* 🌐 fr translations

* ⚰️ remove unused translation
2023-03-25 10:48:50 -06:00
Thomas LÉVEIL b89ca2082e Precise error messages (#150)
* Introduce a component to display error messages

* precise error message when api key is invalid
2023-03-25 10:32:59 -06:00
Thomas LÉVEIL 698c3bda29 smoother autoscroll down (#141) 2023-03-25 08:00:40 -06:00
Thomas LÉVEILandMckay Wrigley 2c8e8547d0 Do not rely on user to figure out if server is configured with an api key (#136)
Fixes #105 (and probably also #115)

Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-25 06:35:08 -06:00
Thomas LÉVEILanddev 5da68bbdd4 🐳 add Dockerfile (#17)
Co-authored-by: dev <dev@ptfprod7>
2023-03-19 06:49:41 -06:00