Skip to content

The Open Prompt is a general standard for writing system prompts for LLMs and Agentic AIs

License

Notifications You must be signed in to change notification settings

dezh-tech/open-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Open Prompt

Open prompt is a simple standard to how we can write and manage AI agent prompts while we update and change them.

Standard V1

This section contains the first version of the open prompt standard.

The main structure of your project MUST look like:

.
├── prompts
│   └── v1.0.0 | prompt_name
│       └── op.json
│       └── prompt.j2
│       └── doc.md

The prompts directory contains one directory per prompt version. It can also use git and git tags for version management and name the main directory with project/prompt name.

The prompt itself is kept in the prompt.j2 file. We make use of the Jinja to support variables and logics in prompts.

The op.json file (open prompt json) contains information and descriptions for the prompt and it's usage. You can find an example + description of each field on here.

The doc.md file is a markdown formatted file that can contain any human-readable information like red-teaming results, reason for changes, resources, and more.

About

The Open Prompt is a general standard for writing system prompts for LLMs and Agentic AIs

Topics

Resources

License

Stars

Watchers

Forks

Languages