<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: fætalize</title>
    <description>The latest articles on DEV Community by fætalize (@faetalize).</description>
    <link>https://dev.to/faetalize</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1429323%2Faf62fe3e-f7a1-4cf1-ad44-7c31460c2faa.jpeg</url>
      <title>DEV Community: fætalize</title>
      <link>https://dev.to/faetalize</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/faetalize"/>
    <language>en</language>
    <item>
      <title>Personalities: You no longer need to jailbreak Google's Gemini (And other AI models)</title>
      <dc:creator>fætalize</dc:creator>
      <pubDate>Tue, 16 Apr 2024 17:40:36 +0000</pubDate>
      <link>https://dev.to/faetalize/personalities-you-no-longer-need-to-jailbreak-googles-gemini-and-other-ai-models-23l</link>
      <guid>https://dev.to/faetalize/personalities-you-no-longer-need-to-jailbreak-googles-gemini-and-other-ai-models-23l</guid>
      <description>&lt;p&gt;I'd like to showcase my webapp which I've made with &lt;strong&gt;pure Javascript&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Yes, I know what you're thinking: A SPA with Javascript, nevermind Typescript, and no frameworks? How do you handle state? How do you handle navigation?&lt;/p&gt;

&lt;p&gt;Honestly, this was merely a learning exercise to get a good grasp on JS. &lt;em&gt;I promise I don't usually write software this way.&lt;/em&gt; ૮ ˶ᵔ ᵕ ᵔ˶ ა&lt;/p&gt;

&lt;p&gt;Anyways...&lt;/p&gt;

&lt;h2&gt;
  
  
  Zodiac -Lightweight, and featureful
&lt;/h2&gt;

&lt;p&gt;Honestly, the greatest feature of this frontend is &lt;strong&gt;Personalities&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Personalities are a contained set of behaviors that the model MUST abide by. &lt;/p&gt;

&lt;p&gt;This method of prompt injection is even &lt;em&gt;more effective than system prompts&lt;/em&gt; at swaying the model's generations towards your purported goals. The result is generations that are quasi-uncensored, &lt;strong&gt;no JAILBREAK NEEDED!!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9qnt5jx1qcyfvkswauwm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9qnt5jx1qcyfvkswauwm.png" alt="Zodiac's personalities in action" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For now, the way to set up personalities is through specifying a prompt. This is how it works: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The prompt is injected in a premade conversation between the model and the user.&lt;/li&gt;
&lt;li&gt;We then inject a response in the name of the model, in which the model agrees to abide by the prompt.&lt;/li&gt;
&lt;li&gt;Every subsequent generation tends to not contradict this exchange.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This method has the potential to be at least twice as effective the more messages you introduce in the chain. These messages serve as a bias for subsequent generations.&lt;/p&gt;

&lt;p&gt;In upcoming updates to this tool (coming in a few days), you will be able to add tone examples, and give the personalities access to the internet, or even your own code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You want to try it? &lt;a href="https://faetalize.github.io/zodiac/"&gt;Check here for a live demo&lt;/a&gt;, or &lt;a href="https://github.com/faetalize/zodiac"&gt;self-host it yourself&lt;/a&gt;. You will need an API key (free of charge, here: &lt;a href="https://makersuite.google.com/app/apikey"&gt;https://makersuite.google.com/app/apikey&lt;/a&gt;)&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>ai</category>
      <category>llm</category>
      <category>google</category>
    </item>
  </channel>
</rss>
