Commit Graph

2999 Commits

Author SHA1 Message Date
RossAscends
861e0d017e fix CSS for new WI multiselector 2023-06-25 14:53:41 +09:00
RossAscends
f6526bbb4c Merge pull request #567 from bdashore3/dev
Add multiple global WI merging (and optimizations)
2023-06-25 14:33:54 +09:00
BlipRanger
d004a3141e Default bracket, make sure we have memories. 2023-06-25 01:03:47 -04:00
BlipRanger
bd74939a55 Add templating for custom injection 2023-06-25 01:01:47 -04:00
kingbri
c0286150ed World Info: Add optimizations and fixes
Use a switch instead of if/else chain, fix un-needed addition
when determining token counts, and remove newline spacing for AN
WI formatting.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-25 01:00:47 -04:00
kingbri
fc9c90c4ee World Info: Add global multi-selection/merging
Global world info always involved some kind of merging leading to
extremely large lorebook files that took a long time to import.

This commit adds the ability to select more than one world info file
and they will be merged together along with character world info.
In short, multiple worlds can be meshed together to further contribute
to context.

You can also use this for world "DLCs" of sorts. Let's say someone
else has more information to add regarding a world, but doesn't
want to use a large world file. The JSONs can now be merged.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-25 00:49:42 -04:00
BlipRanger
2836704c4e Add sort options, remove duplicate entires from custom. 2023-06-25 00:17:58 -04:00
BlipRanger
71201377ef Merge branch 'SillyTavern:dev' into dev 2023-06-24 20:43:42 -04:00
BlipRanger
9de7db8f2d Add custom chroma strat 2023-06-24 20:41:54 -04:00
Cohee
31057e1e81 Add custom avatars for groups 2023-06-25 02:57:07 +03:00
Cohee
66de4a1e09 Add positions for char A/N 2023-06-25 01:40:06 +03:00
Cohee
4cc3d335a8 Save A/N to metadata immediately 2023-06-25 01:08:38 +03:00
Cohee
09eea3c8cd Add caching layer to WI save/load 2023-06-24 23:57:44 +03:00
Cohee
747f7829fd Import Risu lorebooks 2023-06-24 23:34:36 +03:00
Cohee
ab90d6ec3d Save before exporting 2023-06-24 23:19:21 +03:00
BlipRanger
3ce14883b9 First try at chromadb multichat 2023-06-24 15:36:26 -04:00
Cohee
f360706227 Post-activation sorting of WI entries 2023-06-24 20:54:56 +03:00
galasal
ef9b7187dc improve performance when filling context 2023-06-24 15:17:19 +10:00
Cohee
869e02dd42 #561 [WIP] Fix chat file deletion 2023-06-23 23:19:23 +03:00
Cohee
e78abf9269 #557 Only add user name to chat completion name if it was sent as another persona in the same chat. 2023-06-23 23:05:41 +03:00
Cohee
23287597ee Fix onboarding text. 2023-06-23 22:54:35 +03:00
Cohee
9f0530f422 Export characters with world info embeds. 2023-06-23 22:50:16 +03:00
Cohee
275f187719 Don't animate changing avatar size on right panel 2023-06-23 21:49:59 +03:00
Cohee
97e1585152 Import Agnai memory book JSON 2023-06-23 21:43:14 +03:00
Cohee
8a2506d8a3 Merge pull request #559 from sifsera/dev 2023-06-23 19:45:59 +03:00
Cohee
a79bae5975 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-06-23 19:21:06 +03:00
Cohee
01b4e1dae3 Import Novel PNG lorebooks 2023-06-23 19:20:58 +03:00
sifsera
4fd714a1ee Add Prompt Arena presets from TextGenWebUi 2023-06-23 12:08:09 -04:00
RossAscends
84e44d7c0a Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-24 00:59:11 +09:00
RossAscends
fed47d7477 /api 2023-06-24 00:59:09 +09:00
Cohee
2302785242 #502 Import Novel Lorebooks (JSON-based) 2023-06-23 18:43:11 +03:00
Cohee
6cbfb56fff Merge pull request #558 from sifsera/dev
Add-epsilon-and-eta-settings-to-textgenwebui-parameters
2023-06-23 18:03:13 +03:00
sifsera
59c699c999 Add-epsilon-and-eta-settings-to-textgenwebui-parameters 2023-06-23 10:59:38 -04:00
RossAscends
1d4746b743 Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-23 20:21:04 +09:00
RossAscends
82a09d2feb batched slash commands 2023-06-23 20:21:01 +09:00
Cohee
c873a6b04c Fix npm audit. 2023-06-23 13:53:37 +03:00
Cohee
e9f7ea16ce Fix semver audit. 2023-06-23 13:53:08 +03:00
Cohee
786ae619cb Merge pull request #554 from bdashore3/dev
Expand markdown exclusions
2023-06-23 13:46:02 +03:00
RossAscends
ad779129d3 /world to set/unset active world 2023-06-23 16:51:15 +09:00
kingbri
e7af6892fb Markdown: Add ability to exclude specific strings
A comma-separated list of markdown strings provided by the user can
be excluded as needed. This is combined with the set chat separator
to provide a seamless experience when chatting.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-22 21:10:19 -04:00
kingbri
fa9df8f22e Markdown: Fix dinkus formatter with codefences
Change how the formatter is applied to use an invisible null unicode
character instead of div tags and add a newline to preserve the DOM
tree so codeblocks and child elements aren't altered.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-22 17:58:57 -04:00
Cohee
1672824416 Spec v2: {{original}} macro for prompt overrides. 2023-06-22 23:24:22 +03:00
Cohee
c096a55697 Merge branch 'main' into dev 2023-06-22 20:51:10 +03:00
Cohee
d4332aa7ec No audit to npm install 2023-06-22 20:50:01 +03:00
Cohee
2f497cf25b Drag-sortable WI entries. 2023-06-22 20:11:29 +03:00
Cohee
7d472f00f7 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-06-22 18:11:55 +03:00
Cohee
1e5f789f59 Minor clarification to placeholder text. 2023-06-22 18:11:48 +03:00
RossAscends
1f14c3669d Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-22 22:21:24 +09:00
RossAscends
40e2af4c73 /dupe 2023-06-22 22:21:21 +09:00
Cohee
bd34cab6e8 #547 Display 3 lines of description in big avatars mode 2023-06-22 13:10:39 +03:00