Class: Ruboty::Handlers::OpenAIChat

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/handlers/openai_chat.rb

Instance Method Summary collapse

Instance Method Details

#chat(message) ⇒ Object



33
34
35
# File 'lib/ruboty/handlers/openai_chat.rb', line 33

def chat(message)
  Ruboty::OpenAIChat::Actions::Chat.new(message).call
end

#remember_profile(message) ⇒ Object



37
38
39
# File 'lib/ruboty/handlers/openai_chat.rb', line 37

def remember_profile(message)
  Ruboty::OpenAIChat::Actions::RememberProfile.new(message).call
end

#show_profile(message) ⇒ Object



41
42
43
# File 'lib/ruboty/handlers/openai_chat.rb', line 41

def show_profile(message)
  Ruboty::OpenAIChat::Actions::ShowProfile.new(message).call
end