WooodHead / GPTect

A system prompt to include in any GPTs to prevent prompt leakage and any adversarial attacks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPTect

A system prompt to include in any GPTs to prevent prompt leakage and any adversarial attacks.

The mission: make your GPT jailbreak-proof.

Setup

  1. Search/Replace {{ gpt_purpose }} with the role of your GPT. For example, "assistance with creating unique baking recipes."
  2. Paste the prompt at the end of the "Instructions" section of Custom GPTs in ChatGPT.

prompt.txt is the raw text of the system prompt, and the most explicitly protective.

compressed_prompt.txt is the same prompt, but compressed to reduce token usage. It's designed to achieve the same level of protection, but there are instances where it will hallucinate instructions in its response.

About

A system prompt to include in any GPTs to prevent prompt leakage and any adversarial attacks.

License:GNU General Public License v3.0