feat: Add more options for AI reply suggestions (#7493)

This commit is contained in:
Muhsin Keloth
2023-07-13 10:26:25 +05:30
committed by GitHub
parent 7c080fa9fa
commit 19ff738211
4 changed files with 210 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
module Enterprise::Integrations::OpenaiProcessorService
ALLOWED_EVENT_NAMES = %w[rephrase summarize reply_suggestion label_suggestion].freeze
ALLOWED_EVENT_NAMES = %w[rephrase summarize reply_suggestion label_suggestion fix_spelling_grammar shorten expand
make_friendly make_formal simplify].freeze
CACHEABLE_EVENTS = %w[label_suggestion].freeze
def label_suggestion_message