Inline Directives #1

Open
opened 2023-03-23 19:53:57 +01:00 by Wroclaw · 0 comments
Owner

Inline directives would allow to change the behavior of which messages would be picked and/or how they would be changed to send to ChatGPT.

Inline directives should be typed in a comment-like notation in a single line, the system shouldn't care where in the text that comment with directive is. It should also remove that line with directive when querying OpenAI api.

Here are some directives that I came up:

  • gpt-ignore - ignores the message completely
  • gpt-ignore-past - ignores all past messages
  • gpt-no-embed - ignores the embed in the message
  • gpt-no-attachment - ignores the attachment in the message

for some directives (like gpt-ignore-past) it may have to check the message author permissions (here would be manage_messages) to activate the directive.

Inline directives would allow to change the behavior of which messages would be picked and/or how they would be changed to send to ChatGPT. Inline directives should be typed in a comment-like notation in a single line, the system shouldn't care where in the text that comment with directive is. It should also remove that line with directive when querying OpenAI api. Here are some directives that I came up: - `gpt-ignore` - ignores the message completely - `gpt-ignore-past` - ignores all past messages - `gpt-no-embed` - ignores the embed in the message - `gpt-no-attachment` - ignores the attachment in the message for some directives (like `gpt-ignore-past`) it may have to check the message author permissions (here would be `manage_messages`) to activate the directive.
Wroclaw added the
enhancement
label 2023-03-23 19:53:57 +01:00
Wroclaw self-assigned this 2024-04-24 03:23:03 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Wroclaw/GPTcord#1
No description provided.