Skip to content
/ GPTect Public

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

License

Notifications You must be signed in to change notification settings

mykeln/GPTect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published