Quick Rundown on Gemini

Access

MakerSuite: https://aistudio.google.com/app/prompts/new_chat

API

Official Docs: https://ai.google.dev/api/generate-content

TL;DR

  • system prompt that's literally just a string in the beginning of the context like with Claude
  • no prefills
  • pozzed

If you're using Custom (OpenAI) instead of direct Google MakerSuite configuration:

API connections, then Additional Parameters

Include the text under "Include Body Params"

For convenience UPDATED (new harm category from the api):

safetySettings:
  - category: 'HARM_CATEGORY_HARASSMENT'
    threshold: 'BLOCK_NONE'
  - category: 'HARM_CATEGORY_HATE_SPEECH'
    threshold: 'BLOCK_NONE'
  - category: 'HARM_CATEGORY_SEXUALLY_EXPLICIT'
    threshold: 'BLOCK_NONE'
  - category: 'HARM_CATEGORY_DANGEROUS_CONTENT'
    threshold: 'BLOCK_NONE'
  - category: 'HARM_CATEGORY_CIVIC_INTEGRITY'
    threshold: 'BLOCK_NONE'

Shoutout to Moxxie for spoonfeeding me this.

Presets

  • twin-tail (not much different from what you'll cook on your own in half an hour. Short, sweet.)
  • minnie (the rough equivalent of bashing Gemini's head with a rock. Pick this one if you want to fight the greeting writing and/or the context poisoning with tooth and nails, or are having issues with personality retention (it literally moves the chat history to the beginning of the context at the time of writing))
  • discord jb fillyjb

Recommendations

  • Install this regex (strips Character: from the beginning of responses): https://files.catbox.moe/fqqac0.json
  • Add \nUser: to your custom stop sequences (A letter menu, "Custom Stopping Strings", fill it in with ["\n{{user}}:", "\nHuman:", "\nUser:"], check "Replace Macro in Custom Stopping Strings") (not a particularly common issue but might as well yk?)

warning

General Issues with the Model

  • Dumber and less soulful than Opus
  • Pozzed
  • No prefills
  • No PHIs
  • Dislikes being crass
  • Doesn't really follow response length instructions
  • Dogshit at NSFW (decent at continuing NSFW already started on a different model)

Advantages over Opus

  • Pretty consistently follows the greeting length in its responses
  • Obeys instructions better
  • Banter

Adapting your Opus preset to Gemini

  • strip down the "no acting for {{user}}" tech to just the simple "do not act for {{user}}" instruction (honestly if you're using pixi just give up right now and use one of the prebaked presets from earlier)
  • check what stuff you're only reinforcing in your prefill and put it in the sysprompt somewhere
  • in particular, you cannot rely on a prefill to undo shit the greeting does. Just give up on that idea right now. Gemini WILL write like the greeting

The System Prompt Thingy

Some people have reported that disabling the system prompt helps bypass the filter.

sysprompt

I have no idea if that's true or how it would even work. It doesn't really make sense to me.

Hard context poisoning

You can get vaguely interesting NSFW out of Gemini by poisoning the shit out of the context with something like a literal sex scene in the greeting.

sakuya_ass

Notice how it's removing Sakuya from the room instead of progressing the NSFW. Because it's still Gemini.

Streaming

Streaming interacts funny with ST sometimes. Consider disabling it if you have weird issues like picrel.

example

Contact

Email any presets missing to cognitohazard@riseup.net

Edit
Pub: 02 Aug 2024 16:53 UTC
Edit: 14 Oct 2024 23:51 UTC
Views: 7479