Please refer to the original preset for Claude by CharacterProvider.
CYOARPG Lite for Gemini
This is the attempt to adapt CharacterProvider's CYOARPG Preset (that initially is made for Claude) to work with Gemini 1121 and 1206.
⬇️ Download CYOARPG Lite for GEMINI 1.2 (updated version for 1206)
⬇️ Download CYOARPG Lite for GEMINI (old version for 1121)
TOC
About this adaptation
- Includes the preset, the regexes, the addition to the custom CSS and the tweaked version of this card. Please do not use the original card with this prompt, I remade the character sheet formatting and added it into the
⭐ / System Prompt (RP Guidelines)
, so Gemini may become confused with the original version of the card where the character sheet presented the other way.- The updated version for 1206 also includes a bonus sandbox card. It's more grounded, low-fantasy, "backwater town and all its secrets" kind of vibe.
- This preset is NOT for the people who is strongly against the AI writing for {{user}}. This preset is for 'lazy' RP, it writes for you, writes your inner thoughts and banters for you with NPCs too. You just point into desired direction for {{user}} to act and the LLM makes it happen, roleplaying as all the characters.
Upd. 14.12.24: THE UPDATED VERSION for 1206
- THE FILTER PROBLEM: a bit lowered the probability of an unjustifiable filter blocks in SFW situations - still no zero though, but in my tests it now blocks about half as much (4/10 -> 2/10).
- Streaming is now ON by default as the most of the filter blocks in my tests happens at the end of the reply, in
<choices>
or<player_status>
sections. You WILL NEED to redact the reply to maintain the format (closing XML tags and copy-pasting your character sheet entirely from the earlier response) if you decide to stick with this partially filtered answer.
- Streaming is now ON by default as the most of the filter blocks in my tests happens at the end of the reply, in
- Lowered the default temperature a bit (from 1.0 to 0.7).
- Updated
🟣 / CYOA Mode
for 1206. It doesn't need so much instructions for formatting and it now recognizes nat1 and nat20. It's not perfect but mostly works. - Moved
🟣 / Dialog-Focused Mode
into the prompt list. With it you can chat with NPCs, Gemini's replies will be smaller (hopefully) and in most swipes it will stop writing for you. Chose ONE🟣 / Dialog-Focused Mode
or🟣 / CYOA Mode
, do not use both simultaniosly. - Regexes
Visual <roll_result> open
,Visual </roll_result> close
,Visual <player_status> open
andVisual </player_status> close
were updated to support several rolls or character sheets in one message.- You can update yours manually if you installed pervious version, just adding
/
at the beginning and/g
at the end in the Find Regex line, like this:<roll_result[^>]*>\s*
=>/<roll_result[^>]*>\s*/g
.
- You can update yours manually if you installed pervious version, just adding
Upd. 06.12.24
- So, I've tried the new Gemini 1206 with this preset and it's a lot of fun! 1206 has its own quirks (for example, it loves to switch to Bengali language for some reason), but it's more intelligent and don't fuck up the format as much as 1121 (still fucks up sometimes). 1206 also takes a job of being a DM more seriously (look at this sweet thing trying to give my shitpost-level character a proper D&D character sheet), at least at the character creation, and doesn't hallucinate ridiculous homebrew classes and backgrounds as easily as 1121, and even if it do, it tries just add flavor to the existing ones.
- MORE IMPORTANTLY, I tried the original preset for Claude by CharacterProvider and it's working for Gemini 1206 too, the only thing you need to tweak there is the wording in
🎲 / Auto Roll
, you can just copy-paste this:
- The biggest fucking bummer: I'm beginning to have a problem with the filter acting up with this preset, I don't know why. Just an option to flirt with the NPC or to run from the NPC results in the "Candidate Text Empty" and "OTHER" block in 8/10 swipes. I don't know what I'm doing wrong. I hope you have better luck, or I hope someone finds a way to fix it.
Upd. 24.11.24
- Okay, so I've tried Dialog-Focused Mode (
🟣 / Dialog-Focused Mode (not tested for Gemini)
) in the preset, you will need to find it in the drop-down menu of prompts) and Gemini even after 50+ messages works wonderfully with it! You can chat with NPCs, Gemini's replies will be smaller and in most swipes it will stop writing for you. Example. I'm impressed. So try it! It can help with avoiding loops. The only downside that CYOA will be cut from the prompt for Gemini and you will need to help it with it if Gemini fucks up the format of CYOA again. !Choose one,🟣 / CYOA Mode
or🟣 / Dialog-Focused Mode (not tested for Gemini)
, do not turn on both of them! - Gemini will start to forget to repost your character status after 50+ messages in the chat. In my playtest like half of the swipes are without it. Someone said that Gemini is now supports the prefill, I wonder, can it help with this and the formatting in general? I'll try to test if I have time, but you can try yourself too! To add prefill simply make a new custom prompt in prompt manager, give it the "Assistant" role and put it at the bottom of the list of prompts.
About your Persona
Please format your persona as shown by CharacterProvider in the rentry for the original prompt adding your Ability Scores and Traits for CYOA (you can write any tags there)!
For example, this is the persona from my playtests:
(new 14.12.24) About Gemini 1206
- 2m context, but very unstable at high context. I'd say, better stick with 32k and just summarize.
- LOVES to write A LOT.
- A good grip at D&D rules, takes its role of being the DM very seriously.
- A bit more dark and morbid than 1121.
Pros
- More intelligent than 1121.
- Better with the formatting than 1121.
- Very proactive and imaginative, to the point where I honestly invested in the adventures of my test character, lol.
Cons
- Filter is a bitch.
- Lika all LLMs not always "get" some things, for example, in some swipes, when I isekai'd in a mascot suit of a knock-off Pikachu (don't ask), the bartender in Saltmarsh knew it is a Pikachu.
- Loves to give you advantage/disadvantage (like a proper DM playing a proper 5 ed), but the preset doesn't take it into account, so it's ignored.
- Sometimes, still needs a bit of help with format of CYOA and your character sheet blocks.
- LOVES to write A LOT (yes, it can become a problem).
- More repetitive with its phrasings, has favorite "geminisms" (same old neuroslop: shivers, symphonies, testaments, etc.), the slop level is the highest amidst Gemini models.
About Gemini 1121
- 32k context.
- A bit wonky on the formatting side, you will need edit its replies to correct it.
- Does not afraid to write A LOT.
- A good grip at D&D rules.
- It doesn't know "Monster Girl Encyclopedia" from the card's description as far as I understand, but it will try to come up with something and even hallucinate new monster races. Also, I think it creates much more female NPCs by default with this preset+card.
- It can go off the rails even at the character's creation. Please have some faith in it, I've had some silly cute results when I did character creation Gemini's way. But even if you try to stay on track as written in the prompt, Gemini can forget, for example, to ask you about the status effect at the end of character creation like in 50% of the times. Not like it very important but keep an eye on something like this to swipe/edit.
Pros
- Better than I expected from the prompt that only Claude 3.5 Sonnet (new) can execute properly.
- Gemini can be hilarious, especially with isekai angle.
- Gemini is quite creative with a bit of prompting. Example. Another example of the custom class, background and effect.
Cons
- Filter can be trigger-happy and sometimes block the candidates for no reason. Turn off the streaming to minimize the effect and try to not mention anything the filter can misinterpretate (example: Gemini gave my isekai'd cosplayer a 'skimpy schoolgirl uniform cosplay' as starting equipment and that triggered the filter on my next prompt. If something like this happens, just edit it to be maid outfit or something. Or just swipe). Also filter is the reason I added the age at the persona description.
- Gemini can be very, and I mean VERY, stupid. Sometimes it's frustrating, sometimes wonderfully silly.
- Gameplay-wise, if Gemini gives you things and effects that alter your rolls, you will need to keep an eye on it, Gemini can become confused and not add your bonuses or subtract penalties properly. Easiest fix is to specify during your roll that you have bonus/penalty so it remember to consider it.
- 1121 ignores nat1 and nat20 in my playtests.
- Sometimes, you WILL NEED to help Gemini with format of CYOA and your character sheet. Or just swipe couple of times until you see the formatting that's fine by you.
Technical Info
General info
- A lot of instructions were cut off: all Q&A section, all Modes except CYOA and Dialog. I'm not a good prompt engineer in any way, so I tried to stay away from the actual instructions in this prompt as much as I can. Try to modify it yourself if something seems off.
- (new 14.12.24) Dialog Mode was added/returned in version for 1206.
- Mechanics instructions were clarified for Gemini (with the help from anons from 2ch /aicg/).
- Formatting instructions were simplified and all visuals for CYOA, rolls and player blocks now made with regexes and custom CSS.
- Formatting of the text was simplified (with the help from anons) and now done the way I like it: narration is plaintext, direct speech in "quotes" and italic for thoughts. If you find this unreadable, you will need to tweak
⭐ / System Prompt (RP Guidelines)
for your taste. Don't forget to rewrite example there to mirror your preferred formatting. - It is expected that you'll turn off
🎲 / Auto Roll
and🟣 / CYOA Mode
during intro/character generation to make Gemini's work easier. !Don't forget to turn🟣 / CYOA Mode
on after the character creation! - You can also turn off
🎲 / Auto Roll
if you pick the choice without the roll needed so not to confuse Gemini, but in general it works fine with this prompt turned on too. - Sometimes Gemini can forget to update your Player Status properly, it's mostly due to looping, though. Please keep an eye at it, and help it with this by editing its replies.
- The formatting of CYOA section is a constant struggle. Example of fucked up format. Please help Gemini by editing its replies, it will see it's old CYOA blocks in its last post and will mirror the format, so ideally you will need to help it with formatting just once.
Refer to this for ideal formatting:
- I strongly recommend not to be completely lazy and just spam numbers but actually talk to the DM/NPCs. Even if you just want to choose something from CYOA, you can try copy-paste that choice, as all CYOA blocks (as well as rolls blocks and old player status) will be cut from the prompt at depth to reduce looping and some context will be lost for Gemini. The cutting is done by regexes.
Visuals
<roll_result>
Roll window is now wrapped in just <roll_result></roll_result>
, with regexes and custom CSS it will look like this:
(Note that Gemini a bit messed up the format here with "4 </= 15", but the result and outcome were right.)
<choices>
CYOA choices are still wrapped in <choices></choices>
, but format inside is easier and more laxed for Gemini. Regexes and custom CSS are needed to make it look like this:
<player_status>
The new character sheet is now has an example in ⭐ / System Prompt (RP Guidelines)
and wrapped in <player_status></player_status>
tag. The regexes and the custom CSS make it look like this:
(Also note that Gemini messed up the "glowing" spelling and left the extra curly braces, that's the kind of things you should keep an eye for.)
</details>
There can be some oopsie with </details>
tag if Gemini draws a table and then closes </details>
without the newline between the end of table and the closing tag. Because of the missing newline </details>
will be not visually closed properly. Regex will add a newline for such cases.
Regexes
There are THREE required regexes to reduce looping (two from the original preset to cut old <choices>
and <roll_result>
and one new to cut old <player_status>
) and SEVEN regexes that do the heavy lifting and/or prime visuals for custom CSS. For you not to go mad, I'll include them with the prompt in .zip so you can import them in your SillyTavern, but please ALWAYS check any regexes with the Notepad or something, there can be some nasty shit. In this rentry there is also an optional regex to delete spaces/tabs at the beginning of the newline if Gemini continuously messes out the format of CYOA list. It's NOT included in .zip.
Requied regexes
Cut <roll_result> (Depth 3)
This is fist of the two regexes from CharacterProvider's original preset
Script Name:
Find Regex:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Outgoing Prompt
Min Depth:
3
Max Depth:
Unlimited
Cut <choices> (Depth 3)
This is second of the two regexes from the CharacterProvider's original preset
Script Name:
Find Regex:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Outgoing Prompt
Min Depth:
3
Max Depth:
Unlimited
Cut <player_status> (Depth 7)
Script Name:
Find Regex:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Outgoing Prompt
Min Depth:
7
Max Depth:
Unlimited
Visual Regexes
(upd 14.12.24) Visual <roll_result> open
Updated to support several roll results in one message.
Script Name:
Find Regex:
Replace With:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Chat Display
Min Depth:
Unlimited
Max Depth:
Unlimited
(upd 14.12.24) Visual </roll_result> close
This is another version, not the one included in .zip. I made it this way here only because Rentry for some reason does not shows single newline inside a codeblock. Updated to support several roll results in one message.
Script Name:
Find Regex:
Replace With:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Chat Display
Min Depth:
Unlimited
Max Depth:
Unlimited
Visual <choices> open
Script Name:
Find Regex:
Replace With:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Chat Display
Min Depth:
Unlimited
Max Depth:
Unlimited
Visual </choices> close
Script Name:
Find Regex:
Replace With:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Chat Display
Min Depth:
Unlimited
Max Depth:
Unlimited
(upd 14.12.24) Visual <player_status> open
Updated to support several character sheets in one message.
Script Name:
Find Regex:
Replace With:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Chat Display
Min Depth:
Unlimited
Max Depth:
Unlimited
(upd 14.12.24) Visual </player_status> close
Updated to support several character sheets in one message.
Script Name:
Find Regex:
Replace With:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Chat Display
Min Depth:
Unlimited
Max Depth:
Unlimited
Visual </details> close
Script Name:
Find Regex:
Replace With:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Chat Display
Min Depth:
Unlimited
Max Depth:
Unlimited
Optional regex for CYOA visuals
Visual and prompt 2-4spaces and Tab for <choices> (not included in the .zip file)
This regex removes up to 4 spaces or Tab at the beginning of the newline. It also affects the outgoing prompt so hopefully Gemini picks up the format. Recommended if your Gemini constantly tries to present the list of CYOA choices in markdown format.
Script Name:
Find Regex:
Affects:
✅ AI Input
Other Options:
✅ Run On Edit
Ephemerality:
✅ Alter Chat Display
✅ Alter Outgoing Prompt
Min Depth:
Unlimited
Max Depth:
Unlimited
Custom CSS
Should work fine with CharacterProvider's RPG TAVERN Theme. Do not replace the custom CSS code with mine, just paste the new one alongside the original one.
I'll include .txt file with it in .zip. Just copy paste it in your Custom CSS
window in User Settings.
Or you can copy from here:
You can tweak the colors and fonts, it's easy, just find line color
and edit hex there, or font
and choose a different font. Or you can ask any LLM to explain how to do it.
(new 14.12.24) Known visual bugs
- In the version for 1121 if Gemini outputs your character sheet twice in one reply (after completing your character creation for example), the second one will not be visually rendered properly. It's the regex problem, not Gemini problem. The regexes have been updated to support this (and several rolls too) in the version for 1206.
⬇️ Link to download CYOARPG Lite for GEMINI 1.2 (updated version for 1206) so you don't need to scroll all the way up
⬇️ CYOARPG Lite for GEMINI (old version for 1121)