summaryrefslogtreecommitdiff
path: root/components/providers/base.rb
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2023-05-11 19:24:50 -0300
committericebaker <icebaker@proton.me>2023-05-11 19:24:50 -0300
commitec5e25547a401141586c87621266f9cd68c59e3c (patch)
tree547b3c7fa04c9e695785b9beeda0be5a4a77b006 /components/providers/base.rb
first commit
Diffstat (limited to 'components/providers/base.rb')
-rw-r--r--components/providers/base.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/providers/base.rb b/components/providers/base.rb
new file mode 100644
index 0000000..011c5dd
--- /dev/null
+++ b/components/providers/base.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+require 'openai'
+
+module NanoBot
+ module Components
+ module Providers
+ class Base
+ def evaluate(_payload)
+ raise NoMethodError, "The 'evaluate' method is not implemented for the current provider."
+ end
+ end
+ end
+ end
+end