feat: Allow label suggestions with OpenAI APIs (#7428)

This commit is contained in:
Shivam Mishra
2023-07-10 14:40:54 +05:30
committed by GitHub
parent 5b4f92ccd2
commit a940f4c1d2
7 changed files with 274 additions and 56 deletions

View File

@@ -32,4 +32,5 @@ module Redis::RedisKeys
# Check if a message create with same source-id is in progress?
MESSAGE_SOURCE_KEY = 'MESSAGE_SOURCE_KEY::%<id>s'.freeze
CUSTOM_FILTER_RECORDS_COUNT_KEY = 'CUSTOM_FILTER::%<account_id>d::%<user_id>d::%<filter_id>d'.freeze
OPENAI_CONVERSATION_KEY = 'OPEN_AI_CONVERSATION_KEY::%<event_name>s::%<conversation_id>d::%<updated_at>d'.freeze
end