Files
discourse-ai/lib/modules/ai_bot/commands/noop_command.rb
Sam Saffron db11fe391d FEATURE: use triage command to attempt to ground models on GPT 3.5
Previous to this change our results were ungrounded and simpler models like
GPT 3.5 and claude had a real tough time figuring out how to run commands

This splits responses into 2 phases:

Phase 1: figure out if you need to run a command
Phase 2: respond to user

This seems to produce better results on both Claude and GPT 3.5 but still
needs a fair bit of tuning.
2023-05-26 17:07:52 +10:00

28 lines
405 B
Ruby

#frozen_string_literal: true
module DiscourseAi::AiBot::Commands
class NoopCommand < Command
class << self
def name
"noop"
end
def desc
"!noop - does nothing, catch all command when you do not know how to triage"
end
end
def post_raw_details
nil
end
def pre_raw_details
nil
end
def process
nil
end
end
end