Skip to content

Commit

Permalink
new: [ai-chat-prompt] new object template for AI chat prompt such as …
Browse files Browse the repository at this point in the history
…ChatGPT

Following a discussion with @aaronkaplan in Vienna, this object is a
first version to describe an AI chat prompt. The template can describe
the model used, the actual quality of results and also what's the actor
context.

Reference #388
  • Loading branch information
adulau committed Apr 15, 2023
1 parent e1327d0 commit b81698a
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions objects/ai-chat-prompt/definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"attributes": {
"act-as": {
"description": "Act as a specific person.",
"misp-attribute": "text",
"sane_default": [
"Security Analysts",
"Incident Responder",
"IT Expert",
"Cyber Security Specialists",
"Technical Writer"
]
},
"comment": {
"description": "Comment associated to the AI chat prompt.",
"misp-attribute": "text",
"ui-priority": 1
},
"model": {
"description": "AI chatbot model used for the prompt.",
"disable_correlation": true,
"misp-attribute": "text",
"multiple": true,
"sane_default": [
"ChatGPT",
"BioGPT",
"LLaMA",
"GPT4ALL",
"Bing AI",
"Google Bard AI"

This comment has been minimized.

Copy link
@aaronkaplan

aaronkaplan Apr 15, 2023

Contributor

missing: GPT4Chan ;-)

Seriously:
I would add:

  • gpt-4
  • gpt-3.5-turbo
  • etc.

See: https://platform.openai.com/docs/models/overview

]
},
"prompt": {

This comment has been minimized.

Copy link
@aaronkaplan

aaronkaplan Apr 15, 2023

Contributor

We will also need a "system role" and a "user role" and "assistant role" for anything >= GPT3.5.
See: https://platform.openai.com/docs/guides/chat/introduction

"description": "Prompt text used for a specific AI chat.",
"disable_correlation": true,
"misp-attribute": "text",
"multiple": true
},
"result": {
"description": "Result",
"disable_correlation": true,
"misp-attribute": "text",
"multiple": true,
"ui-priority": 0,
"values_list": [
"Unknown",
"Harmless",
"Correct",
"Dangerous",
"Incorrect"
]
}
},
"description": "Object describing an AI prompt such as ChatGPT.",
"meta-category": "misc",
"name": "ai-chat-prompt",
"requiredOneOf": [
"prompt"
],
"uuid": "a78f4156-0bb7-405c-aa25-ba16a73f68e4",
"version": 1
}

2 comments on commit b81698a

@aaronkaplan
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor suggestions on the object. I can do a PR if it's easier.

@adulau
Copy link
Member Author

@adulau adulau commented on b81698a Apr 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I updated the object. fd12a1b

Please sign in to comment.