Commit Graph

666 Commits

Author SHA1 Message Date
Self Denial
23b674ddda feat: human readable Generation Info total
Add new function to convert nanoseconds into `approximate_total:` for *Generation Info* tooltip.
2024-04-13 22:27:00 -06:00
Self Denial
922628c1ee feat: small change to support ollama pull QOL
Use regex replace during trim "sanitize" to support `ollama run ` or `ollama pull ` syntax.
2024-04-13 03:04:11 -06:00
Timothy J. Baek
c0d273f162 refac 2024-04-10 01:06:57 -07:00
Timothy J. Baek
098ba6ea4e refac: frontend 2024-04-10 01:01:42 -07:00
Timothy J. Baek
abfcceecef refac 2024-04-10 00:46:09 -07:00
Timothy J. Baek
f4b87ecb23 refac 2024-04-10 00:33:45 -07:00
lainedfles
506a061387
Merge branch 'dev' into embedding-model-fix-and-manual-update 2024-04-08 14:57:54 -06:00
Timothy J. Baek
28c8b5841c fix: styling 2024-04-08 03:10:31 -07:00
Timothy J. Baek
e48cdf63d9 feat: better annotation 2024-04-08 03:08:30 -07:00
Timothy J. Baek
eb5ed905eb feat: close dragged overlay with esc 2024-04-07 01:03:16 -07:00
Timothy J. Baek
4207f80ce9 feat: close model on esc 2024-04-07 00:57:23 -07:00
Timothy J. Baek
073aecd427 refac: styling 2024-04-07 00:31:59 -07:00
Timothy J. Baek
47aeab81d8 refac: styling 2024-04-07 00:05:13 -07:00
Timothy J. Baek
f4e165d028 chore: comments removed 2024-04-07 00:00:50 -07:00
Timothy Jaeryang Baek
02d3fb427b
Merge pull request #1386 from dannyl1u/feat/profile-image-initials
feat: default profile image with user initials
2024-04-06 23:59:20 -07:00
Timothy J. Baek
df2cb16086 refac: styling 2024-04-06 23:49:25 -07:00
Self Denial
924ebf035b Fix: Restore Gravatar functionality, add button initials, toast duration
- Restore Gravatar functionality
- Add new button for "Use Initials"
- Set both buttons to use text-left class
- Update toast property autoClose to duration (wrong library, my bad!)
- Update toast messages to clarify that this isn't "Gravatar" but "avatar"
- Add i18n text to en-US/translation.json
2024-04-06 16:04:05 -06:00
Timothy J. Baek
8110a872d5 fix: wording 2024-04-06 13:29:39 -07:00
Self Denial
ec530ac9f8 format fix 2024-04-06 04:38:34 -06:00
Self Denial
11741ea7f0 Tooltip info & warn. Detect file path during update. Add translation.
* Tooltips added to show full model name and warning regarding vector storage
* Send toast error and return early if more than a single front slash is detected
* Extend toast duration for model update action
* Add i18n en_US translation
* Remove commented code copied from existing function
2024-04-06 04:22:48 -06:00
Danny Liu
bee0338763 captalize Initial for improved clarity 2024-04-06 02:23:32 -07:00
Timothy J. Baek
81dbc65853 refac: pdf generation 2024-04-06 01:54:59 -07:00
Danny Liu
8a7075c3bf style: npm run format 2024-04-06 01:13:22 -07:00
Danny Liu
78565e554b notify user with toast.info() + update toast message 2024-04-06 01:12:51 -07:00
Self Denial
cf54adf5c4 Toast error consistency 2024-04-05 23:01:48 -06:00
Self Denial
bad7dca51e Move login page toast error to the bottom of page and enable i18n for translation 2024-04-05 22:43:42 -06:00
Danny Liu
5694f16624 style: run npm run format 2024-04-05 21:02:02 -07:00
Self Denial
ac9308dbed Introduce canvasPixelTest() intended to validate canvas functionality
Browsers and plugins that spoof canvas data produce corrupt images. In attempt to mitigate:

* Add canvasPixelTest() to test a single pixel and test the RGB values
* Test canvasPixelTest() inside generateInitialsImage() and use default `/user.png` if failure detected
* Call canvasPixelTest() directly within settings to avoid setting an invalid image
* Use toast.error() with 10 second autoClose
2024-04-05 16:04:00 -06:00
Danny Liu
0c43897f3d refac: move generateInitialsImage function to utils 2024-04-04 12:09:07 -07:00
Self Denial
bcf79c8366 Format fixes 2024-04-04 12:02:48 -06:00
Self Denial
3b66aa55c0 Improve embedding model update & resolve network dependency
* Add config variable RAG_EMBEDDING_MODEL_AUTO_UPDATE to control update behavior
* Add RAG utils embedding_model_get_path() function to output the filesystem path in addition to update of the model using huggingface_hub
* Update and utilize existing RAG functions in main: get_embedding_model() & update_embedding_model()
* Add GUI setting to execute manual update process
2024-04-04 11:01:23 -06:00
Timothy J. Baek
c32d41b47f refac: about 2024-04-03 21:24:57 -07:00
Timothy J. Baek
1f85354856 feat: stylised pdf 2024-04-03 20:35:32 -07:00
Timothy J. Baek
bfd066cc2f fix: share chat modal 2024-04-03 19:45:08 -07:00
Timothy J. Baek
000bea84ae feat: chat pdf download 2024-04-03 19:30:25 -07:00
Timothy J. Baek
944efd2cd8 feat: sanitise response content 2024-04-03 10:57:58 -07:00
Timothy J. Baek
4a09342a71 chore: npm audit fix 2024-04-03 10:26:24 -07:00
Timothy Jaeryang Baek
1509c2c2ee
Merge pull request #1406 from jannikstdl/fix-whitemode-onhover
Fix hover in whitemode
2024-04-03 10:20:04 -07:00
Jannik Streidl
15d24a6a11 Fix hover in whitemode 2024-04-03 16:00:06 +02:00
Timothy J. Baek
fb516ea694 refac: styling 2024-04-02 09:58:34 -07:00
Timothy J. Baek
7c5f6d71b3 refac 2024-04-02 09:39:55 -07:00
Timothy J. Baek
e49e04c56a chore: formatting 2024-04-02 09:33:27 -07:00
Timothy Jaeryang Baek
56369fea3a
Merge branch 'dev' into feature/support_auth_by_api_key 2024-04-02 09:12:19 -07:00
Timothy Jaeryang Baek
24fb77759e
Merge pull request #1347 from cheahjs/feat/trusted-email-header
feat: allow authenticating with a trusted email header
2024-04-02 09:11:25 -07:00
Timothy J. Baek
f7a1fc207a refac: wording 2024-04-02 08:58:03 -07:00
Timothy J. Baek
5aad328040 refac: toast message wording 2024-04-02 08:58:03 -07:00
Timothy J. Baek
eca59f759d fix: share chat modal 2024-04-02 08:58:03 -07:00
Timothy J. Baek
9975cb17a9 feat: update shared chat 2024-04-02 08:58:03 -07:00
Timothy J. Baek
0b823f90e6 feat: delete shared chat link 2024-04-02 08:58:03 -07:00
Timothy J. Baek
88c5b7f495 refac: share chat model 2024-04-02 08:58:03 -07:00