Commit Graph

29 Commits

Author SHA1 Message Date
36ea41f0a6 Extras: Add API authentication support
An API key is extremely important for ST-Extras servers that are
exposed to the internet.

Add an API key field below where the user enters the extras URL. For
convenience, this key is persisted whenever the user refreshes the
page.

Also modify the fetch requests to always include API keys if present.

See ST-Extras for more information on how this works.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-03 00:00:38 -04:00
6fec40d543 Permanent ChromaDB synchronization state (using IndexedDB object store) 2023-06-02 23:21:46 +03:00
b8a49c58ac Merge branch 'main' into dev 2023-06-01 10:52:34 +03:00
a18c20305e Clarify Chroma warning message 2023-06-01 10:01:43 +03:00
d542ec0d81 Add the warning when ChromaDB synced message deletes 2023-06-01 10:01:43 +03:00
bb187d9920 Proper chronological order of ChromaDB chat injections 2023-06-01 10:01:11 +03:00
711dbdcc15 [Feature Request] Chromadb, ability to pause collection. SillyTavern/SillyTavern#420 2023-06-01 10:01:11 +03:00
8328fe9886 Proper chronological order of ChromaDB chat injections 2023-06-01 01:43:36 +03:00
a5fee875c1 [Feature Request] Chromadb, ability to pause collection. SillyTavern/SillyTavern#420 2023-06-01 01:30:12 +03:00
13d012a3a2 Reduce console logs clutter 2023-06-01 01:02:51 +03:00
8baed8afa7 Clarify Chroma warning message 2023-05-31 23:27:14 +03:00
7d6c0f7737 Add the warning when ChromaDB synced message deletes 2023-05-31 23:23:08 +03:00
cff5cd0928 Update index.js 2023-05-31 21:46:13 +03:00
d80fff3b5e Updated UI message about chromadb persistence 2023-05-30 19:47:55 -04:00
c9c82537a7 Hotfix for Chromadb export.
Missing key which causes export to fail.
2023-05-30 17:53:36 -04:00
d85d5158db Rename chromadb extension to be less confusing. Add new extensions to readme 2023-05-30 20:02:21 +03:00
f11645e66e Experimental ChromaDB performance improvement. Keep chat sync flags and only push new messages. 2023-05-30 00:42:54 +03:00
a78a0ad78a Add frontend for chromadb import/export
Additionally add checks that character is selected before trying chromadb operations.
2023-05-29 13:33:39 -04:00
0e0f490c98 allow Chroma slider to go to 0 to disable 2023-05-28 18:53:55 +09:00
855129a28b Don't save extra data to chroma 2023-05-25 12:18:40 +03:00
d4cf9eb13e new strategy for ChromaDB 2023-05-24 07:03:03 +09:00
53ed7aceca Infinity context: inject and purge chat data 2023-05-23 00:30:52 +03:00
a4b2b68620 Add ability to inject custom files into the prompt (broken ATM) 2023-05-22 00:56:12 +03:00
f62c26a9ba First working version 2023-05-21 11:33:10 +00:00
f2ecac0d79 Fixes 2023-05-21 10:52:11 +00:00
5c7e14c287 Split messages into chunks 2023-05-21 10:41:18 +00:00
c675f09c54 Store original message as metadata 2023-05-17 18:39:34 +00:00
64ac2b2f58 Form new chat context 2023-05-17 18:33:14 +00:00
d2803f6451 [WIP} infinity context 2023-05-17 17:58:58 +00:00